mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-14 21:23:38 +00:00
17 lines
429 B
C#
17 lines
429 B
C#
using BenchmarkDotNet.Configs;
|
|
using BenchmarkDotNet.Running;
|
|
|
|
namespace SharpCompress.Performance;
|
|
|
|
internal class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
// Run all benchmarks in the assembly
|
|
var config = DefaultConfig.Instance;
|
|
|
|
// BenchmarkRunner will find all classes with [Benchmark] attributes
|
|
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);
|
|
}
|
|
}
|