Add benchmark runner.

This commit is contained in:
Huo Yaoyuan
2020-01-08 20:36:00 +08:00
parent c2fc7d5cbd
commit 1b9f8d2737
3 changed files with 38 additions and 1 deletions

View File

@ -1,13 +1,17 @@
// 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.
using BenchmarkDotNet.Running;
namespace osu.Game.Benchmarks
{
public static class Program
{
public static void Main(string[] args)
{
BenchmarkSwitcher
.FromAssembly(typeof(Program).Assembly)
.Run(args);
}
}
}