mirror of
https://github.com/godotengine/godot-benchmarks.git
synced 2025-12-31 09:49:13 +03:00
- Allow the benchmark time limit to be changed by C# scripts. - Continuation of #73, fixes a crash when running C# physics benchmarks. Also sets the C# physics benchmarks to 10 seconds. - Fix C# benchmarks not being loaded.
11 lines
257 B
C#
11 lines
257 B
C#
using Godot;
|
|
|
|
public partial class Benchmark : RefCounted
|
|
{
|
|
public double benchmark_time = 5e6;
|
|
public bool test_render_cpu = false;
|
|
public bool test_render_gpu = false;
|
|
public bool test_idle = false;
|
|
public bool test_physics = false;
|
|
}
|