Skip to content
Snippets Groups Projects
Commit 86eb0999 authored by Christian Wulf's avatar Christian Wulf
Browse files

fixed some syntax errors

parent 297df0b2
No related branches found
No related tags found
No related merge requests found
Showing
with 59 additions and 59 deletions
#FindBugs User Preferences #FindBugs User Preferences
#Thu Apr 30 18:24:06 CEST 2015 #Mon May 04 12:49:29 CEST 2015
detector_threshold=3 detector_threshold=3
effort=max effort=max
excludefilter0=.fbExcludeFilterFile|true excludefilter0=.fbExcludeFilterFile|true
......
...@@ -21,8 +21,8 @@ import java.util.Map; ...@@ -21,8 +21,8 @@ import java.util.Map;
import java.util.Map.Entry; import java.util.Map.Entry;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
public class ChwHomeComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion { public class ChwHomeComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion {
...@@ -33,7 +33,7 @@ public class ChwHomeComparisonMethodcallWithPorts extends AbstractProfiledPerfor ...@@ -33,7 +33,7 @@ public class ChwHomeComparisonMethodcallWithPorts extends AbstractProfiledPerfor
@Override @Override
public void check() { public void check() {
Map<String, PerformanceResult> performanceResults = PerformanceTest.measurementRepository.performanceResults; Map<String, PerformanceResult> performanceResults = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults;
for (Entry<String, PerformanceResult> entry : performanceResults.entrySet()) { for (Entry<String, PerformanceResult> entry : performanceResults.entrySet()) {
System.out.println("---> " + entry.getKey() + "\n" + entry.getValue()); System.out.println("---> " + entry.getKey() + "\n" + entry.getValue());
} }
......
...@@ -21,8 +21,8 @@ import java.util.Map; ...@@ -21,8 +21,8 @@ import java.util.Map;
import java.util.Map.Entry; import java.util.Map.Entry;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
public class ChwWorkComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion { public class ChwWorkComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion {
...@@ -33,7 +33,7 @@ public class ChwWorkComparisonMethodcallWithPorts extends AbstractProfiledPerfor ...@@ -33,7 +33,7 @@ public class ChwWorkComparisonMethodcallWithPorts extends AbstractProfiledPerfor
@Override @Override
public void check() { public void check() {
Map<String, PerformanceResult> performanceResults = PerformanceTest.measurementRepository.performanceResults; Map<String, PerformanceResult> performanceResults = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults;
for (Entry<String, PerformanceResult> entry : performanceResults.entrySet()) { for (Entry<String, PerformanceResult> entry : performanceResults.entrySet()) {
System.out.println("---> " + entry.getKey() + "\n" + entry.getValue()); System.out.println("---> " + entry.getKey() + "\n" + entry.getValue());
} }
......
...@@ -27,8 +27,8 @@ import teetime.examples.experiment11.MethodCallThoughputTimestampAnalysis11Test; ...@@ -27,8 +27,8 @@ import teetime.examples.experiment11.MethodCallThoughputTimestampAnalysis11Test;
import teetime.examples.experiment15.MethodCallThoughputTimestampAnalysis15Test; import teetime.examples.experiment15.MethodCallThoughputTimestampAnalysis15Test;
import teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test; import teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test;
import teetime.examples.experiment19.MethodCallThoughputTimestampAnalysis19Test; import teetime.examples.experiment19.MethodCallThoughputTimestampAnalysis19Test;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceCheckProfileRepository; import teetime.util.test.framework.PerformanceCheckProfileRepository;
@RunWith(Suite.class) @RunWith(Suite.class)
@SuiteClasses({ @SuiteClasses({
......
...@@ -21,8 +21,8 @@ import java.util.Map; ...@@ -21,8 +21,8 @@ import java.util.Map;
import java.util.Map.Entry; import java.util.Map.Entry;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
public class NieWorkComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion { public class NieWorkComparisonMethodcallWithPorts extends AbstractProfiledPerformanceAssertion {
...@@ -33,7 +33,7 @@ public class NieWorkComparisonMethodcallWithPorts extends AbstractProfiledPerfor ...@@ -33,7 +33,7 @@ public class NieWorkComparisonMethodcallWithPorts extends AbstractProfiledPerfor
@Override @Override
public void check() { public void check() {
Map<String, PerformanceResult> performanceResults = PerformanceTest.measurementRepository.performanceResults; Map<String, PerformanceResult> performanceResults = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults;
for (Entry<String, PerformanceResult> entry : performanceResults.entrySet()) { for (Entry<String, PerformanceResult> entry : performanceResults.entrySet()) {
System.out.println("---> " + entry.getKey() + "\n" + entry.getValue()); System.out.println("---> " + entry.getKey() + "\n" + entry.getValue());
} }
......
...@@ -18,8 +18,8 @@ package teetime.examples.experiment01; ...@@ -18,8 +18,8 @@ package teetime.examples.experiment01;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import teetime.examples.HostName; import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion { class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
...@@ -30,7 +30,7 @@ class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion { ...@@ -30,7 +30,7 @@ class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
@Override @Override
public void check() { public void check() {
PerformanceResult test01 = PerformanceTest.measurementRepository.performanceResults PerformanceResult test01 = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)"); .get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)");
assertEquals(292, test01.quantiles.get(0.5), 1); assertEquals(292, test01.quantiles.get(0.5), 1);
......
...@@ -18,8 +18,8 @@ package teetime.examples.experiment01; ...@@ -18,8 +18,8 @@ package teetime.examples.experiment01;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import teetime.examples.HostName; import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion { class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion {
...@@ -30,7 +30,7 @@ class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion { ...@@ -30,7 +30,7 @@ class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion {
@Override @Override
public void check() { public void check() {
PerformanceResult test01 = PerformanceTest.measurementRepository.performanceResults PerformanceResult test01 = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)"); .get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)");
assertEquals(410, test01.quantiles.get(0.5), 1); assertEquals(410, test01.quantiles.get(0.5), 1);
......
...@@ -21,9 +21,9 @@ import org.junit.Test; ...@@ -21,9 +21,9 @@ import org.junit.Test;
import teetime.util.ConstructorClosure; import teetime.util.ConstructorClosure;
import teetime.util.TimestampObject; import teetime.util.TimestampObject;
import util.test.PerformanceCheckProfileRepository; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceCheckProfileRepository;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.PerformanceTest;
/** /**
* @author Christian Wulf * @author Christian Wulf
...@@ -40,7 +40,8 @@ public class MethodCallThoughputTimestampAnalysis1Test extends PerformanceTest { ...@@ -40,7 +40,8 @@ public class MethodCallThoughputTimestampAnalysis1Test extends PerformanceTest {
@AfterClass @AfterClass
public static void afterClass() { public static void afterClass() {
AbstractProfiledPerformanceAssertion performanceCheckProfile = PerformanceCheckProfileRepository.INSTANCE.get(MethodCallThoughputTimestampAnalysis1Test.class); AbstractProfiledPerformanceAssertion performanceCheckProfile = PerformanceCheckProfileRepository.INSTANCE
.get(MethodCallThoughputTimestampAnalysis1Test.class);
performanceCheckProfile.check(); performanceCheckProfile.check();
}; };
......
...@@ -17,9 +17,9 @@ package teetime.examples.experiment09pipeimpls; ...@@ -17,9 +17,9 @@ package teetime.examples.experiment09pipeimpls;
import teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test; import teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.MeasurementRepository; import teetime.util.test.framework.MeasurementRepository;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
abstract class AbstractPerformanceCheck extends AbstractProfiledPerformanceAssertion { abstract class AbstractPerformanceCheck extends AbstractProfiledPerformanceAssertion {
...@@ -31,16 +31,16 @@ abstract class AbstractPerformanceCheck extends AbstractProfiledPerformanceAsser ...@@ -31,16 +31,16 @@ abstract class AbstractPerformanceCheck extends AbstractProfiledPerformanceAsser
@Override @Override
public void check() { public void check() {
String testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis1Test.class, "testWithManyObjects"); String testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis1Test.class, "testWithManyObjects");
test01 = PerformanceTest.measurementRepository.performanceResults.get(testMethodIdentifier); test01 = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults.get(testMethodIdentifier);
testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis9Test.class, "testCommittablePipes"); testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis9Test.class, "testCommittablePipes");
test09CommittablePipes = PerformanceTest.measurementRepository.performanceResults.get(testMethodIdentifier); test09CommittablePipes = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults.get(testMethodIdentifier);
testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis9Test.class, "testSingleElementPipes"); testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis9Test.class, "testSingleElementPipes");
test09SingleElementPipes = PerformanceTest.measurementRepository.performanceResults.get(testMethodIdentifier); test09SingleElementPipes = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults.get(testMethodIdentifier);
testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis9Test.class, "testOrderedGrowableArrayPipes"); testMethodIdentifier = MeasurementRepository.buildTestMethodIdentifier(MethodCallThoughputTimestampAnalysis9Test.class, "testOrderedGrowableArrayPipes");
test09OrderedGrowableArrayPipes = PerformanceTest.measurementRepository.performanceResults.get(testMethodIdentifier); test09OrderedGrowableArrayPipes = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults.get(testMethodIdentifier);
} }
} }
...@@ -27,8 +27,8 @@ import teetime.framework.pipe.SingleElementPipeFactory; ...@@ -27,8 +27,8 @@ import teetime.framework.pipe.SingleElementPipeFactory;
import teetime.framework.pipe.UnorderedGrowablePipeFactory; import teetime.framework.pipe.UnorderedGrowablePipeFactory;
import teetime.util.ConstructorClosure; import teetime.util.ConstructorClosure;
import teetime.util.TimestampObject; import teetime.util.TimestampObject;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
/** /**
* @author Christian Wulf * @author Christian Wulf
......
...@@ -18,8 +18,8 @@ package teetime.examples.experiment11; ...@@ -18,8 +18,8 @@ package teetime.examples.experiment11;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import teetime.examples.HostName; import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion { class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
...@@ -30,9 +30,9 @@ class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion { ...@@ -30,9 +30,9 @@ class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
@Override @Override
public void check() { public void check() {
PerformanceResult test01 = PerformanceTest.measurementRepository.performanceResults PerformanceResult test01 = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)"); .get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)");
PerformanceResult test11 = PerformanceTest.measurementRepository.performanceResults PerformanceResult test11 = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjects(teetime.examples.experiment11.MethodCallThoughputTimestampAnalysis11Test)"); .get("testWithManyObjects(teetime.examples.experiment11.MethodCallThoughputTimestampAnalysis11Test)");
double medianSpeedup = (double) test11.quantiles.get(0.5) / test01.quantiles.get(0.5); double medianSpeedup = (double) test11.quantiles.get(0.5) / test01.quantiles.get(0.5);
......
...@@ -18,8 +18,8 @@ package teetime.examples.experiment11; ...@@ -18,8 +18,8 @@ package teetime.examples.experiment11;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import teetime.examples.HostName; import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion { class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion {
...@@ -30,9 +30,9 @@ class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion { ...@@ -30,9 +30,9 @@ class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion {
@Override @Override
public void check() { public void check() {
PerformanceResult test01 = PerformanceTest.measurementRepository.performanceResults PerformanceResult test01 = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)"); .get("testWithManyObjects(teetime.examples.experiment01.MethodCallThoughputTimestampAnalysis1Test)");
PerformanceResult test11 = PerformanceTest.measurementRepository.performanceResults PerformanceResult test11 = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjects(teetime.examples.experiment11.MethodCallThoughputTimestampAnalysis11Test)"); .get("testWithManyObjects(teetime.examples.experiment11.MethodCallThoughputTimestampAnalysis11Test)");
double medianSpeedup = (double) test11.quantiles.get(0.5) / test01.quantiles.get(0.5); double medianSpeedup = (double) test11.quantiles.get(0.5) / test01.quantiles.get(0.5);
......
...@@ -21,8 +21,8 @@ import org.junit.Test; ...@@ -21,8 +21,8 @@ import org.junit.Test;
import teetime.util.ConstructorClosure; import teetime.util.ConstructorClosure;
import teetime.util.TimestampObject; import teetime.util.TimestampObject;
import util.test.PerformanceTest; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.PerformanceTest;
/** /**
* @author Christian Wulf * @author Christian Wulf
......
...@@ -20,7 +20,6 @@ import java.util.List; ...@@ -20,7 +20,6 @@ import java.util.List;
import teetime.framework.OldHeadPipeline; import teetime.framework.OldHeadPipeline;
import teetime.framework.RunnableProducerStage; import teetime.framework.RunnableProducerStage;
import teetime.framework.Stage; import teetime.framework.Stage;
import teetime.framework.pipe.UnorderedGrowablePipe;
import teetime.stage.CollectorSink; import teetime.stage.CollectorSink;
import teetime.stage.NoopFilter; import teetime.stage.NoopFilter;
import teetime.stage.ObjectProducer; import teetime.stage.ObjectProducer;
......
...@@ -19,7 +19,7 @@ import org.junit.Test; ...@@ -19,7 +19,7 @@ import org.junit.Test;
import teetime.util.ConstructorClosure; import teetime.util.ConstructorClosure;
import teetime.util.TimestampObject; import teetime.util.TimestampObject;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
/** /**
* @author Christian Wulf * @author Christian Wulf
......
...@@ -21,7 +21,7 @@ import java.util.List; ...@@ -21,7 +21,7 @@ import java.util.List;
import teetime.framework.AnalysisConfiguration; import teetime.framework.AnalysisConfiguration;
import teetime.framework.OldHeadPipeline; import teetime.framework.OldHeadPipeline;
import teetime.framework.pipe.SpScPipe; import teetime.framework.pipe.SpScPipeFactory;
import teetime.stage.CollectorSink; import teetime.stage.CollectorSink;
import teetime.stage.NoopFilter; import teetime.stage.NoopFilter;
import teetime.stage.ObjectProducer; import teetime.stage.ObjectProducer;
...@@ -109,7 +109,7 @@ class AnalysisConfiguration16 extends AnalysisConfiguration { ...@@ -109,7 +109,7 @@ class AnalysisConfiguration16 extends AnalysisConfiguration {
pipeline.setFirstStage(relay); pipeline.setFirstStage(relay);
pipeline.setLastStage(collectorSink); pipeline.setLastStage(collectorSink);
SpScPipe.connect(previousStage.getLastStage().getNewOutputPort(), relay.getInputPort(), SPSC_INITIAL_CAPACITY); new SpScPipeFactory().create(previousStage.getLastStage().getNewOutputPort(), relay.getInputPort(), SPSC_INITIAL_CAPACITY);
connectIntraThreads(relay.getOutputPort(), startTimestampFilter.getInputPort()); connectIntraThreads(relay.getOutputPort(), startTimestampFilter.getInputPort());
......
...@@ -18,8 +18,8 @@ package teetime.examples.experiment16; ...@@ -18,8 +18,8 @@ package teetime.examples.experiment16;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import teetime.examples.HostName; import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion { class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
...@@ -30,11 +30,11 @@ class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion { ...@@ -30,11 +30,11 @@ class ChwHomePerformanceCheck extends AbstractProfiledPerformanceAssertion {
@Override @Override
public void check() { public void check() {
PerformanceResult test16a = PerformanceTest.measurementRepository.performanceResults PerformanceResult test16a = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjectsAnd1Thread(" + MethodCallThoughputTimestampAnalysis16Test.class.getName() + ")"); .get("testWithManyObjectsAnd1Thread(" + MethodCallThoughputTimestampAnalysis16Test.class.getName() + ")");
PerformanceResult test16b = PerformanceTest.measurementRepository.performanceResults PerformanceResult test16b = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjectsAnd2Threads(" + MethodCallThoughputTimestampAnalysis16Test.class.getName() + ")"); .get("testWithManyObjectsAnd2Threads(" + MethodCallThoughputTimestampAnalysis16Test.class.getName() + ")");
PerformanceResult test16c = PerformanceTest.measurementRepository.performanceResults PerformanceResult test16c = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjectsAnd4Threads(" + MethodCallThoughputTimestampAnalysis16Test.class.getName() + ")"); .get("testWithManyObjectsAnd4Threads(" + MethodCallThoughputTimestampAnalysis16Test.class.getName() + ")");
// check speedup // check speedup
double speedupA2B = (double) test16a.overallDurationInNs / test16b.overallDurationInNs; double speedupA2B = (double) test16a.overallDurationInNs / test16b.overallDurationInNs;
......
...@@ -18,8 +18,8 @@ package teetime.examples.experiment16; ...@@ -18,8 +18,8 @@ package teetime.examples.experiment16;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import teetime.examples.HostName; import teetime.examples.HostName;
import teetime.util.test.eval.PerformanceResult; import teetime.util.test.eval.PerformanceResult;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion { class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion {
...@@ -30,11 +30,11 @@ class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion { ...@@ -30,11 +30,11 @@ class ChwWorkPerformanceCheck extends AbstractProfiledPerformanceAssertion {
@Override @Override
public void check() { public void check() {
PerformanceResult test16a = PerformanceTest.measurementRepository.performanceResults PerformanceResult test16a = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjectsAnd1Thread(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)"); .get("testWithManyObjectsAnd1Thread(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)");
PerformanceResult test16b = PerformanceTest.measurementRepository.performanceResults PerformanceResult test16b = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjectsAnd2Threads(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)"); .get("testWithManyObjectsAnd2Threads(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)");
PerformanceResult test16c = PerformanceTest.measurementRepository.performanceResults PerformanceResult test16c = PerformanceTest.MEASUREMENT_REPOSITORY.performanceResults
.get("testWithManyObjectsAnd4Threads(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)"); .get("testWithManyObjectsAnd4Threads(teetime.examples.experiment16.MethodCallThoughputTimestampAnalysis16Test)");
// check speedup // check speedup
double speedupB = (double) test16a.overallDurationInNs / test16b.overallDurationInNs; double speedupB = (double) test16a.overallDurationInNs / test16b.overallDurationInNs;
......
...@@ -25,9 +25,9 @@ import teetime.framework.Analysis; ...@@ -25,9 +25,9 @@ import teetime.framework.Analysis;
import teetime.util.ConstructorClosure; import teetime.util.ConstructorClosure;
import teetime.util.ListUtil; import teetime.util.ListUtil;
import teetime.util.TimestampObject; import teetime.util.TimestampObject;
import util.test.AbstractProfiledPerformanceAssertion; import teetime.util.test.framework.AbstractProfiledPerformanceAssertion;
import util.test.PerformanceCheckProfileRepository; import teetime.util.test.framework.PerformanceCheckProfileRepository;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
/** /**
* @author Christian Wulf * @author Christian Wulf
......
...@@ -23,7 +23,7 @@ import teetime.framework.Analysis; ...@@ -23,7 +23,7 @@ import teetime.framework.Analysis;
import teetime.util.ConstructorClosure; import teetime.util.ConstructorClosure;
import teetime.util.ListUtil; import teetime.util.ListUtil;
import teetime.util.TimestampObject; import teetime.util.TimestampObject;
import util.test.PerformanceTest; import teetime.util.test.framework.PerformanceTest;
/** /**
* @author Christian Wulf * @author Christian Wulf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment