2017-02-09 14:41:22 +01:00
|
|
|
|
using BenchmarkDotNet.Running;
|
2016-10-25 12:34:06 +02:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Tests.Benchmarks
|
|
|
|
|
|
{
|
2016-10-28 14:33:44 +02:00
|
|
|
|
internal class Program
|
2016-10-25 12:34:06 +02:00
|
|
|
|
{
|
2016-10-28 14:33:44 +02:00
|
|
|
|
public static void Main(string[] args)
|
2016-10-25 12:34:06 +02:00
|
|
|
|
{
|
2017-01-04 18:11:21 +11:00
|
|
|
|
var switcher = new BenchmarkSwitcher(new[]
|
2016-10-28 14:33:44 +02:00
|
|
|
|
{
|
2017-01-04 18:11:21 +11:00
|
|
|
|
typeof(BulkInsertBenchmarks),
|
|
|
|
|
|
typeof(ModelToSqlExpressionHelperBenchmarks),
|
|
|
|
|
|
typeof(XmlBenchmarks),
|
2017-02-09 16:42:59 +11:00
|
|
|
|
typeof(LinqCastBenchmarks),
|
2017-02-09 14:41:22 +01:00
|
|
|
|
//typeof(DeepCloneBenchmarks),
|
2017-02-09 16:42:59 +11:00
|
|
|
|
typeof(XmlPublishedContentInitBenchmarks),
|
|
|
|
|
|
|
2017-01-04 18:11:21 +11:00
|
|
|
|
});
|
|
|
|
|
|
switcher.Run(args);
|
2016-10-25 12:34:06 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|