We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 256e91e commit d1e431cCopy full SHA for d1e431c
tests/BenchmarkDotNet.IntegrationTests.ManualRunning/ExpectedBenchmarkResultsTests.cs
@@ -136,7 +136,7 @@ public void NonEmptyBenchmarkReportsNonZeroTimeAndZeroAllocated(ToolchainType to
136
// Modern cpus can execute multiple instructions per clock cycle,
137
// resulting in measurements greater than 0 but less than 1 clock cycle.
138
// (example: Intel Core i9-9880H CPU 2.30GHz reports 0.2852 ns for `_field++;`)
139
- var threshold = new NumberValue(cpuResolution.Nanoseconds / 4).ToThreshold();
+ var threshold = Threshold.Zero;
140
var overheadSubtraction = cpuResolution.Nanoseconds * subtractOverheadByClocks;
141
142
foreach (var report in summary.Reports)
0 commit comments