Updated benchmark project

This commit is contained in:
TomPallister
2016-10-30 18:59:23 +00:00
parent 2474a02b7c
commit c31a1ba598
7 changed files with 22 additions and 259 deletions

View File

@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Running;
namespace Ocelot.Benchmarks
{
@ -10,7 +6,12 @@ namespace Ocelot.Benchmarks
{
public static void Main(string[] args)
{
var summary = BenchmarkRunner.Run<UrlPathToUrlPathTemplateMatcherBenchmarks>();
var switcher = new BenchmarkSwitcher(new[] {
typeof(UrlPathToUrlPathTemplateMatcherBenchmarks),
});
switcher.Run(args);
}
}
}