forked from NpgsqlRest/NpgsqlRest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
21 lines (18 loc) · 801 Bytes
/
Copy pathProgram.cs
File metadata and controls
21 lines (18 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.InProcess.Emit;
using BenchmarkTests;
using Perfolizer.Horology;
BenchmarkRunner.Run<HttpClientTests>();
//BenchmarkRunner
// .Run<HttpClientTests>(
// DefaultConfig.Instance.AddJob(
// Job.Default.WithToolchain(new InProcessEmitToolchain(timeout: TimeSpan.FromSeconds(9), logOutput: false))
// .WithLaunchCount(1)
// .WithWarmupCount(5)
// .WithIterationCount(100)
// .WithIterationTime(TimeInterval.FromMilliseconds(80)))
// .AddLogger(new ConsoleLogger(unicodeSupport: true, ConsoleLogger.CreateGrayScheme()))
// .WithOptions(ConfigOptions.DisableLogFile));