get the benchmark result, very POWERFULL
This commit is contained in:
@@ -25,7 +25,11 @@
|
||||
//
|
||||
// -----------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------------
|
||||
using BenchmarkDotNet.Configs;
|
||||
using BenchmarkDotNet.Loggers;
|
||||
using BenchmarkDotNet.Jobs;
|
||||
using BenchmarkDotNet.Running;
|
||||
using BenchmarkDotNet.Toolchains.InProcess.Emit;
|
||||
using StgSharp.Benchmark;
|
||||
|
||||
namespace StgSharp.Benchmark
|
||||
@@ -37,7 +41,10 @@ namespace StgSharp.Benchmark
|
||||
string[] args
|
||||
)
|
||||
{
|
||||
BenchmarkRunner.Run<HlsfAllocatorBench>();
|
||||
IConfig config = ManualConfig.Create(DefaultConfig.Instance)
|
||||
.AddLogger(ConsoleLogger.Default)
|
||||
.AddJob(Job.Default.WithToolchain(InProcessEmitToolchain.Instance));
|
||||
BenchmarkRunner.Run<HlsfAllocatorBench>(config);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user