Files
godot-benchmarks/Benchmark.cs
Emmanouil Papadeas cdea241009 Fix C# benchmarks not being able to load, add ability to change benchmark time limit (#82)
- 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.
2024-06-28 20:06:07 +02:00

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;
}