mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 14:38:13 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
22 lines
631 B
C#
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 );
|
|
}
|
|
}
|