17 Commits

Author SHA1 Message Date
Hugo Locurcio
98c18cfa27 Update project files to Godot 4.5 2025-09-28 17:24:12 +02:00
Hugo Locurcio
118341742d Add Skeleton3D and AnimationTree benchmarks (#105)
These benchmarks represent stress tests that challenge the CPU
with lots of animation calls.

This also adds a default environment that makes it easier to distinguish
objects from the background, even when there is no light in the scene.
2025-06-16 07:48:15 -07:00
Hugo Locurcio
34a1c24f95 Resave all scenes and scripts on Godot 4.4.dev5, fix GDScript warnings
This will avoid large diffs later on.

This also fixes GDScript warnings across the codebase.
2024-11-27 15:00:18 +01:00
Hugo Locurcio
ead3265fb4 Flush stdout on print to ensure it appears in systemd's journal logs
This ensures release builds use the same behavior as debug builds here.
The benchmarks project does not spam print messages anyway, so performance
should be identical to before.
2024-09-16 23:54:57 +02:00
Hugo Locurcio
db1e05d373 Disable V-Sync when running benchmarks
This is required for accurate CPU/GPU time reporting, as the GPU
may downclock if it ends up being underutilized due to the FPS cap
imposed by V-Sync (leading to artificially increased CPU/GPU times).
2024-05-15 23:59:34 +02:00
Helehex
93bc7cd0d6 Added support for C# benchmarks (#46) 2024-02-09 14:43:04 +01:00
Francisco Demartino
ff141decc4 Add initial Sponza benchmark (#47)
* add Sponza.dae and related assets

files copied from: https://github.com/Calinou/godot-sponza/tree/4.0-dev

* [wip] add sponza benchmark

* add script to tweak sponza materials

* add omni lights + enable shadows

* Remove unused resources from Sponza

* Convert Sponza to glTF + lossless WebP

This greatly decreases file size and speeds up loading.

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-01-15 23:14:20 +01:00
Jakub Marcowski
9b9a195924 Update project to the current stable version of Godot (4.2) (#45) 2023-12-19 18:21:54 +01:00
Hugo Locurcio
64b7a69e5b Add various GDScript, core, GUI and physics benchmarks
- Make idle and physics time measurements somewhat functional,
  given what the engine exposes.
2023-06-29 11:11:24 +02:00
myaaaaaaaaa
515bacf2a5 Add HLOD benchmarks 2023-03-27 18:08:52 -04:00
Hugo Locurcio
e74abb3604 Improve benchmark UI and settings for consistency
- Use a fixed 1920×1080 viewport size for consistent results.
- Hardcode the benchmark duration to 5 seconds for benchmarks that
  have a time limit for consistent results.
- Move the Select All and Select None button next to the "Available Benchmarks:"
  label, as they're closer to the checkboxes this way.
- Make buttons larger to be easier to click.
- Only show the Copy JSON to Clipboard button after running benchmarks.
2022-09-02 17:18:51 +02:00
Hugo Locurcio
fb514f8e22 Add command line arguments to include/exclude specific benchmarks
- Automatically quit on end when using `--run-benchmarks` CLI argument.
- Improve command line printing to be more helpful and descriptive.
- Add documentation on running benchmarks in the README.
2022-08-05 02:33:04 +02:00
Hugo Locurcio
4fbc50c8f8 Implement running benchmarks from the command line with --run-benchmarks
- Change window title every time a new benchmark is run to indicate
  progress.
- Tweak UI display to fit changes in the `master` branch.
2022-04-18 19:00:51 +02:00
Hugo Locurcio
c0d077d697 Add a project icon 2021-12-07 15:27:39 +01:00
Hugo Locurcio
b416f5792a Add initial GDScript tests
- Add wall clock time measurement on benchmarks.
- Allow tests to not have a predefined time limit.
  - This is required for scripting tests.
- Fix culling tests not reporting GPU time.
2021-11-29 14:43:11 +01:00
Juan Linietsky
2dd866ef42 Add a benchmarking suite
-Culling benchmarks only for now
2020-12-24 00:00:45 -03:00
Juan Linietsky
c3754cd85e Use same license as in other projects, add gitignore 2020-12-23 18:17:38 -03:00