diff --git a/src/performancetest/java/teetime/examples/ChwHomeComparisonMethodcallWithPorts.java b/src/performancetest/java/teetime/examples/ChwHomeComparisonMethodcallWithPorts.java index faf67e8dfc91d00cbdf0e7af485033c4e22e8ca2..c60da1b243064ef59c651231d1ff067f0de745e7 100644 --- a/src/performancetest/java/teetime/examples/ChwHomeComparisonMethodcallWithPorts.java +++ b/src/performancetest/java/teetime/examples/ChwHomeComparisonMethodcallWithPorts.java @@ -71,7 +71,7 @@ public class ChwHomeComparisonMethodcallWithPorts extends AbstractProfiledPerfor // check speedup assertEquals(2, (double) test19a.overallDurationInNs / test19b.overallDurationInNs, 0.3); - assertEquals(2.5, (double) test19a.overallDurationInNs / test19c.overallDurationInNs, 0.3); + assertEquals(2, (double) test19b.overallDurationInNs / test19c.overallDurationInNs, 0.3); } } diff --git a/src/performancetest/java/teetime/examples/experiment09pipeimpls/ChwHomePerformanceCheck.java b/src/performancetest/java/teetime/examples/experiment09pipeimpls/ChwHomePerformanceCheck.java index 0e90896601abfda319d7790fba9989927f10cffa..9560b8840212af5944942882fc1c8307e8cc868f 100644 --- a/src/performancetest/java/teetime/examples/experiment09pipeimpls/ChwHomePerformanceCheck.java +++ b/src/performancetest/java/teetime/examples/experiment09pipeimpls/ChwHomePerformanceCheck.java @@ -56,7 +56,7 @@ class ChwHomePerformanceCheck extends AbstractPerformanceCheck { // since 13.12.2014 (incl.) // assertEquals(40, medianSpeedup, 3.2); // -11 // since 28.12.2014 (incl.) - assertEquals(24, medianSpeedup, 3.2); // -16 + assertEquals(26, medianSpeedup, 3.2); // -14 } private void checkOrderedGrowableArrayPipes() { diff --git a/src/performancetest/java/teetime/framework/OldPipeline.java b/src/performancetest/java/teetime/framework/OldPipeline.java index 7d24233ed21bf1919bb639491fc34c587cb04aab..225cf0dddb9c32327ef06d8d56a8aefb7532aa76 100644 --- a/src/performancetest/java/teetime/framework/OldPipeline.java +++ b/src/performancetest/java/teetime/framework/OldPipeline.java @@ -62,6 +62,11 @@ public class OldPipeline<FirstStage extends Stage, LastStage extends Stage> exte return firstStage.getOwningThread(); } + @Override + void setOwningThread(final Thread owningThread) { + firstStage.setOwningThread(owningThread); + } + @Override public TerminationStrategy getTerminationStrategy() { return firstStage.getTerminationStrategy();