Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions HdrHistogram.Benchmarking/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,18 @@

namespace HdrHistogram.Benchmarking
{
class Program

Check warning on line 9 in HdrHistogram.Benchmarking/Program.cs

View workflow job for this annotation

GitHub Actions / build

Type 'Program' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
{
static void Main(string[] args)
{
var config = ManualConfig.Create(DefaultConfig.Instance)
//.AddDiagnoser(MemoryDiagnoser.Default)
.AddColumn(
StatisticColumn.OperationsPerSecond,
StatisticColumn.Mean, StatisticColumn.StdErr, StatisticColumn.StdDev,
StatisticColumn.P0, StatisticColumn.Q1, StatisticColumn.P50, StatisticColumn.P67, StatisticColumn.Q3, StatisticColumn.P80, StatisticColumn.P90, StatisticColumn.P95, StatisticColumn.P100)
.AddJob(Job.Default.WithRuntime(ClrRuntime.Net481).WithJit(Jit.LegacyJit))
.AddJob(Job.Default.WithRuntime(ClrRuntime.Net481).WithJit(Jit.RyuJit))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core21))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core31))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core50))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core60))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core70))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core80))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core90))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core10_0))
;

var switcher = new BenchmarkSwitcher(new[] {
Expand Down
Loading