Files
sbox-public/engine/Benchmark/Benchmark.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

22 lines
631 B
C#

using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
public class Program
{
public static void Main( string[] args )
{
var config = ManualConfig
.Create( DefaultConfig.Instance )
.WithOptions( ConfigOptions.JoinSummary | ConfigOptions.DisableLogFile | ConfigOptions.LogBuildOutput )
.AddJob( Job.MediumRun );
//BenchmarkRunner.Run<StringtHashSet>( config );
//BenchmarkRunner.Run<MemoryAlloc>( config );
//BenchmarkRunner.Run<StringHashing>( config );
BenchmarkRunner.Run<ByteStreamTest>( config );
//BenchmarkRunner.Run( typeof( Program ).Assembly, config );
}
}