mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 20:32:49 +08:00

* messing around with benchmark.net.seems Ocelot adds about 2ms to a request..lets make this less? :) * #326 store json indented so it looks nice :P
19 lines
486 B
C#
19 lines
486 B
C#
using BenchmarkDotNet.Running;
|
|
|
|
namespace Ocelot.Benchmarks
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
var switcher = new BenchmarkSwitcher(new[] {
|
|
typeof(UrlPathToUrlPathTemplateMatcherBenchmarks),
|
|
typeof(AllTheThingsBenchmarks),
|
|
typeof(ExceptionHandlerMiddlewareBenchmarks)
|
|
});
|
|
|
|
switcher.Run(args);
|
|
}
|
|
}
|
|
}
|