DotRecastNetSim/test/DotRecast.Benchmark/BenchmarkProgram.cs

18 lines
511 B
C#
Raw Normal View History

using BenchmarkDotNet.Running;
using DotRecast.Benchmark.Benchmarks;
namespace DotRecast.Benchmark;
public static class BenchmarkProgram
{
public static int Main(string[] args)
{
var summary = BenchmarkRunner.Run([
//BenchmarkConverter.TypeToBenchmarks(typeof(VectorBenchmarks)),
//BenchmarkConverter.TypeToBenchmarks(typeof(PriorityQueueBenchmarks)),
BenchmarkConverter.TypeToBenchmarks(typeof(StackallocBenchmarks)),
]);
return 0;
}
}