mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Disable optimisations validator (in line with framework project)
This commit is contained in:
parent
45a534a1ba
commit
278584de99
@ -1,6 +1,7 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using BenchmarkDotNet.Configs;
|
||||||
using BenchmarkDotNet.Running;
|
using BenchmarkDotNet.Running;
|
||||||
|
|
||||||
namespace osu.Game.Benchmarks
|
namespace osu.Game.Benchmarks
|
||||||
@ -11,7 +12,7 @@ namespace osu.Game.Benchmarks
|
|||||||
{
|
{
|
||||||
BenchmarkSwitcher
|
BenchmarkSwitcher
|
||||||
.FromAssembly(typeof(Program).Assembly)
|
.FromAssembly(typeof(Program).Assembly)
|
||||||
.Run(args);
|
.Run(args, DefaultConfig.Instance.WithOption(ConfigOptions.DisableOptimizationsValidator, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user