From d405d9bc90ac81f075e4590705b263cc6d0a25b4 Mon Sep 17 00:00:00 2001 From: Christian Wulf <chw@informatik.uni-kiel.de> Date: Mon, 20 Oct 2014 13:17:28 +0200 Subject: [PATCH] simplied performance test --- .settings/edu.umd.cs.findbugs.core.prefs | 2 +- .../examples/ChwWorkComparisonMethodcallWithPorts.java | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.settings/edu.umd.cs.findbugs.core.prefs b/.settings/edu.umd.cs.findbugs.core.prefs index 46ef676a..1201a4e2 100644 --- a/.settings/edu.umd.cs.findbugs.core.prefs +++ b/.settings/edu.umd.cs.findbugs.core.prefs @@ -1,5 +1,5 @@ #FindBugs User Preferences -#Fri Oct 17 09:58:28 CEST 2014 +#Mon Oct 20 12:37:59 CEST 2014 detector_threshold=3 effort=max excludefilter0=.fbExcludeFilterFile|true diff --git a/src/performancetest/java/teetime/examples/ChwWorkComparisonMethodcallWithPorts.java b/src/performancetest/java/teetime/examples/ChwWorkComparisonMethodcallWithPorts.java index 120e0351..df569b2d 100644 --- a/src/performancetest/java/teetime/examples/ChwWorkComparisonMethodcallWithPorts.java +++ b/src/performancetest/java/teetime/examples/ChwWorkComparisonMethodcallWithPorts.java @@ -29,12 +29,6 @@ public class ChwWorkComparisonMethodcallWithPorts extends ProfiledPerformanceAss .get("testWithManyObjects(teetime.examples.experiment09.MethodCallThoughputTimestampAnalysis9Test)"); PerformanceResult test15 = performanceResults .get("testWithManyObjects(teetime.examples.experiment15.MethodCallThoughputTimestampAnalysis15Test)"); - PerformanceResult test16a = performanceResults - .get("testWithManyObjectsAnd1Thread(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)"); - PerformanceResult test16b = performanceResults - .get("testWithManyObjectsAnd2Threads(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)"); - PerformanceResult test16c = performanceResults - .get("testWithManyObjectsAnd4Threads(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)"); PerformanceResult test17 = performanceResults .get("testWithManyObjects(teetime.examples.experiment17.MethodCallThoughputTimestampAnalysis17Test)"); PerformanceResult test19a = performanceResults @@ -87,9 +81,6 @@ public class ChwWorkComparisonMethodcallWithPorts extends ProfiledPerformanceAss // assertEquals(RESULT_TESTS_19, (double) test19c.quantiles.get(0.5) / test1.quantiles.get(0.5), 5.1); // check speedup - assertEquals(2, (double) test16a.overallDurationInNs / test16b.overallDurationInNs, 0.3); - assertEquals(2.5, (double) test16a.overallDurationInNs / test16c.overallDurationInNs, 0.2); - assertEquals(2, (double) test19a.overallDurationInNs / test19b.overallDurationInNs, 0.3); assertEquals(2.5, (double) test19a.overallDurationInNs / test19c.overallDurationInNs, 0.3); } -- GitLab