Skip to content

Commit 63f3a71

Browse files
authored
1 parent 9368a7d commit 63f3a71

File tree

2 files changed

+3
-55
lines changed

2 files changed

+3
-55
lines changed

tests/BenchmarkDotNet.IntegrationTests.ManualRunning/ExpectedBenchmarkResultsTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ public void NonEmptyBenchmarkReportsNonZeroTimeAndZeroAllocated(ToolchainType to
143143
foreach (var report in summary.Reports)
144144
{
145145
var workloadMeasurements = report.AllMeasurements.Where(m => m.Is(IterationMode.Workload, IterationStage.Actual)).GetStatistics().Sample;
146-
var overheadMeasurements = new Sample(report.AllMeasurements
146+
var overheadMeasurements = report.AllMeasurements
147147
.Where(m => m.Is(IterationMode.Overhead, IterationStage.Actual))
148-
.GetStatistics().OriginalValues
149-
.Select(x => x - overheadSubtraction).ToArray());
148+
.Select(x => new Reports.Measurement(x.LaunchIndex, x.IterationMode, x.IterationStage, x.IterationIndex, x.Operations, x.Nanoseconds - overheadSubtraction))
149+
.GetStatistics().Sample;
150150

151151
var comparisonResult = new SimpleEquivalenceTest(MannWhitneyTest.Instance).Perform(workloadMeasurements, overheadMeasurements, threshold, SignificanceLevel.P1E5);
152152
Assert.True(comparisonResult == ComparisonResult.Greater, "Workload measurements are not greater than overhead.");

tests/BenchmarkDotNet.IntegrationTests.ManualRunning/LocalNativeAotToolchainTests.cs

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)