9 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
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
86bbebd66d Implement saving results JSON file using --save-json CLI argument
- Save operating system and CPU name in results JSON.
2022-09-12 03:25:24 +02: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
e147a9fea9 Improve JSON copy, improve debug label, tweak code style
- JSON is now generated using the JSON class and includes Godot version
  information, CPU information and GPU information. Its base structure
  has changed.
- Tweak debug label visibility and mention frame setup time within.
- Tweak code style to follow the GDScript style guide (and fix a typo
  in `benchmark_group`).
2021-12-07 12:37:53 +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