2021-03-26 13:46:08 +08:00
|
|
|
|
using System;
|
2021-03-30 09:55:01 +08:00
|
|
|
|
using System.ComponentModel;
|
2021-03-26 13:46:08 +08:00
|
|
|
|
using System.Diagnostics;
|
2021-03-30 09:55:01 +08:00
|
|
|
|
using BenchmarkDotNet.Configs;
|
|
|
|
|
using BenchmarkDotNet.Running;
|
2021-03-26 13:46:08 +08:00
|
|
|
|
using MiniExcelLibs;
|
2021-03-30 09:55:01 +08:00
|
|
|
|
using OfficeOpenXml;
|
2021-03-26 13:46:08 +08:00
|
|
|
|
|
|
|
|
|
namespace MiniExcelLibs.Benchmarks
|
|
|
|
|
{
|
|
|
|
|
class Program
|
|
|
|
|
{
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2021-07-13 08:29:47 +08:00
|
|
|
|
#if DEBUG
|
|
|
|
|
new XlsxBenchmark().Epplus_QueryFirst_Test();
|
2021-03-30 09:55:01 +08:00
|
|
|
|
#else
|
2021-07-13 08:29:47 +08:00
|
|
|
|
BenchmarkSwitcher.FromTypes(new[]{typeof(XlsxBenchmark)}).Run(args, new Config());
|
2021-03-30 09:55:01 +08:00
|
|
|
|
#endif
|
|
|
|
|
Console.Read();
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-03-26 13:46:08 +08:00
|
|
|
|
}
|