MiniExcel/benchmarks/MiniExcel.Benchmarks/Program.cs
2021-07-13 08:29:47 +08:00

24 lines
533 B
C#

using System;
using System.ComponentModel;
using System.Diagnostics;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
using MiniExcelLibs;
using OfficeOpenXml;
namespace MiniExcelLibs.Benchmarks
{
class Program
{
static void Main(string[] args)
{
#if DEBUG
new XlsxBenchmark().Epplus_QueryFirst_Test();
#else
BenchmarkSwitcher.FromTypes(new[]{typeof(XlsxBenchmark)}).Run(args, new Config());
#endif
Console.Read();
}
}
}