Tom Pallister 66b68fc685
Feature/#574 look at httpclient cache key (#589)
* #574 consolidate some code, man the config stuff is a mess!

* #574 just use the downstream re route and the key for caching http clients

* #574 added benchmark, i was suprised to learn using a complex type was faster than a string in benchmark .net dictionary tests, hey ho probably dont have enough data in the type...
2018-09-01 13:10:45 +01:00

20 lines
537 B
C#

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);
}
}
}