Skip to content

Commit

Permalink
squelched the Akka.Streams benchmarks with the highest flip rate (#2506)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored and Marc Piechura committed Feb 9, 2017
1 parent 3418f79 commit a56383b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public void Setup(BenchmarkContext context)
public void SingleIdentity() => _singleIdentity.Run(_materializer).Ready();


[PerfBenchmark(RunMode = RunMode.Iterations, TestMode = TestMode.Test, NumberOfIterations = 3)]
[PerfBenchmark(RunMode = RunMode.Iterations, TestMode = TestMode.Measurement, NumberOfIterations = 3)]
[TimingMeasurement]
[ElapsedTimeAssertion(MaxTimeMilliseconds = 100)]
public void ChainOfIdentities() => _chainOfIdentities.Run(_materializer).Ready();
Expand All @@ -290,7 +290,7 @@ public void Setup(BenchmarkContext context)
public void SingleSelect() => _singleSelect.Run(_materializer).Ready();


[PerfBenchmark(RunMode = RunMode.Iterations, TestMode = TestMode.Test, NumberOfIterations = 3)]
[PerfBenchmark(RunMode = RunMode.Iterations, TestMode = TestMode.Measurement, NumberOfIterations = 3)]
[TimingMeasurement]
[ElapsedTimeAssertion(MaxTimeMilliseconds = 110)]
public void ChainOfSelects() => _chainOfSelects.Run(_materializer).Ready();
Expand All @@ -308,7 +308,7 @@ public void Setup(BenchmarkContext context)
public void ChainOfBuffers() => _chainOfBuffers.Run(_materializer).Ready();


[PerfBenchmark(RunMode = RunMode.Iterations, TestMode = TestMode.Test, NumberOfIterations = 3)]
[PerfBenchmark(RunMode = RunMode.Iterations, TestMode = TestMode.Measurement, NumberOfIterations = 3)]
[TimingMeasurement]
[ElapsedTimeAssertion(MaxTimeMilliseconds = 3500)]
public void RepeatTakeSelectAndAggregate() => _repeatTakeSelectAndAggregate.Run(_materializer).Ready();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public class GraphBuilderBenchmark


[PerfBenchmark(Description = "Test the performance of the GraphBuilder for a graph with 1000 nested imports",
RunMode = RunMode.Iterations, TestMode = TestMode.Test, NumberOfIterations = 3)]
RunMode = RunMode.Iterations, TestMode = TestMode.Measurement, NumberOfIterations = 3)]
[TimingMeasurement]
[ElapsedTimeAssertion(MaxTimeMilliseconds = 5)]
public void Graph_with_1000_nested_imports() => MaterializationBenchmark.GraphWithNestedImportsBuilder(1000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void Setup(BenchmarkContext context)


[PerfBenchmark(Description = "Test the performance of the materialization phase for a graph with 1000 imported flows",
RunMode = RunMode.Iterations, TestMode = TestMode.Test, NumberOfIterations = 3)]
RunMode = RunMode.Iterations, TestMode = TestMode.Measurement, NumberOfIterations = 3)]
[TimingMeasurement]
[ElapsedTimeAssertion(MaxTimeMilliseconds = 100)]
public void Graph_with_1000_imported_flows() => GraphWithImportedFlowBuilder(1000).Run(_materializer);
Expand Down

0 comments on commit a56383b

Please sign in to comment.