-
-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathProgram.cs
More file actions
15 lines (13 loc) · 663 Bytes
/
Copy pathProgram.cs
File metadata and controls
15 lines (13 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.InProcess.Emit;
using DuckDB.NET.Benchmarks;
// The repo's Directory.Build.props renames the output assembly to DuckDB.NET.Benchmarks
// while the project file stays Benchmarks.csproj, so BenchmarkDotNet's default toolchain
// can't locate the csproj. Run in-process to avoid the separate build/spawn step.
var config = DefaultConfig.Instance
.AddJob(Job.Default.WithToolchain(InProcessEmitToolchain.Instance));
BenchmarkSwitcher
.FromTypes([typeof(AppenderBenchmark), typeof(MappedAppenderBenchmark)])
.Run(args, config);