mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-20 04:58:15 +08:00
made benchmark work
This commit is contained in:
@ -1,19 +1,20 @@
|
||||
using BenchmarkDotNet.Running;
|
||||
|
||||
namespace Ocelot.Benchmarks
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var switcher = new BenchmarkSwitcher(new[] {
|
||||
typeof(DictionaryBenchmarks),
|
||||
typeof(UrlPathToUrlPathTemplateMatcherBenchmarks),
|
||||
typeof(AllTheThingsBenchmarks),
|
||||
typeof(ExceptionHandlerMiddlewareBenchmarks)
|
||||
});
|
||||
|
||||
switcher.Run(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
using BenchmarkDotNet.Running;
|
||||
|
||||
namespace Ocelot.Benchmarks
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var switcher = new BenchmarkSwitcher(new[] {
|
||||
typeof(DictionaryBenchmarks),
|
||||
typeof(UrlPathToUrlPathTemplateMatcherBenchmarks),
|
||||
typeof(AllTheThingsBenchmarks),
|
||||
typeof(ExceptionHandlerMiddlewareBenchmarks),
|
||||
typeof(DownstreamRouteFinderMiddlewareBenchmarks)
|
||||
});
|
||||
|
||||
switcher.Run(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user