forked from zarusz/SlimMessageBus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
25 lines (22 loc) · 946 Bytes
/
Program.cs
File metadata and controls
25 lines (22 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
namespace SlimMessageBus.Host.Memory.Benchmark;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
class Program
{
static void Main(string[] args)
{
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
/*
var config = ManualConfig.Create(DefaultConfig.Instance)
.With(ConfigOptions.JoinSummary)
.With(ConfigOptions.DisableLogFile);
BenchmarkRunner.Run(new[]{
BenchmarkConverter.TypeToBenchmarks( typeof(PubSubBenchmark), config),
BenchmarkConverter.TypeToBenchmarks( typeof(PubSubWithProducerInterceptorBenchmark), config),
BenchmarkConverter.TypeToBenchmarks( typeof(PubSubWithPublishInterceptorBenchmark), config),
BenchmarkConverter.TypeToBenchmarks( typeof(PubSubWithConsumerInterceptorBenchmark), config)
});
*/
}
}