diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment05/MethodCallThoughputTimestampAnalysis5Test.java b/src/test/java/teetime/variant/methodcall/examples/experiment05/MethodCallThoughputTimestampAnalysis5Test.java index bc13f6835bd8f026fca226f3c19125f390f8811b..63e5c16e006e93b1e379c5584dce02521dd35f1f 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment05/MethodCallThoughputTimestampAnalysis5Test.java +++ b/src/test/java/teetime/variant/methodcall/examples/experiment05/MethodCallThoughputTimestampAnalysis5Test.java @@ -18,30 +18,20 @@ package teetime.variant.methodcall.examples.experiment05; import java.util.ArrayList; import java.util.List; -import org.junit.Before; import org.junit.Test; import teetime.util.ConstructorClosure; import teetime.util.StatisticsUtil; import teetime.util.StopWatch; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; - -import kieker.common.logging.LogFactory; +import test.PerformanceTest; /** * @author Christian Wulf * * @since 1.10 */ -public class MethodCallThoughputTimestampAnalysis5Test { - - private static final int NUM_OBJECTS_TO_CREATE = 100000; - private static final int NUM_NOOP_FILTERS = 800; - - @Before - public void before() { - System.setProperty(LogFactory.CUSTOM_LOGGER_JVM, "NONE"); - } +public class MethodCallThoughputTimestampAnalysis5Test extends PerformanceTest { // 500 times faster than our new framework // TODO check why diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment13/MethodCallThroughputAnalysis13.java b/src/test/java/teetime/variant/methodcall/examples/experiment13/MethodCallThroughputAnalysis13.java index ba1120361b409e721afe9d693f7b89f0459be9e3..2795e3bdc7a67d466801bb32a068eed6c8dec725 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment13/MethodCallThroughputAnalysis13.java +++ b/src/test/java/teetime/variant/methodcall/examples/experiment13/MethodCallThroughputAnalysis13.java @@ -23,7 +23,7 @@ import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; import teetime.variant.methodcall.framework.core.AbstractStage; -import teetime.variant.methodcall.framework.core.StageWithPort; +import teetime.variant.methodcall.framework.core.Stage; import teetime.variant.methodcall.stage.CollectorSink; import teetime.variant.methodcall.stage.EndStage; import teetime.variant.methodcall.stage.NoopFilter; @@ -83,7 +83,7 @@ public class MethodCallThroughputAnalysis13 extends Analysis { final AbstractStage[] stages = stageList.toArray(new AbstractStage[0]); for (int i = 0; i < stages.length - 1; i++) { - StageWithPort<?, ?> stage = stages[i]; + Stage<?, ?> stage = stages[i]; stage.setSuccessor(stages[i + 1]); } stages[stages.length - 1].setSuccessor(new EndStage<Object>()); diff --git a/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment09/MethodCallThroughputAnalysis9.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment09/MethodCallThroughputAnalysis9.java index 058b0b30e4197ee970e89ad4de165491ef808600..68d259f579ab1095ac38d8e8970fc8eb079c74f0 100644 --- a/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment09/MethodCallThroughputAnalysis9.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment09/MethodCallThroughputAnalysis9.java @@ -20,14 +20,14 @@ import java.util.List; import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; -import teetime.variant.methodcall.framework.core.Pipeline; -import teetime.variant.methodcall.framework.core.RunnableStage; -import teetime.variant.methodcall.framework.core.pipe.Pipe; -import teetime.variant.methodcall.stage.CollectorSink; -import teetime.variant.methodcall.stage.NoopFilter; -import teetime.variant.methodcall.stage.ObjectProducer; -import teetime.variant.methodcall.stage.StartTimestampFilter; -import teetime.variant.methodcall.stage.StopTimestampFilter; +import teetime.variant.methodcallWithPorts.framework.core.Pipeline; +import teetime.variant.methodcallWithPorts.framework.core.RunnableStage; +import teetime.variant.methodcallWithPorts.framework.core.pipe.Pipe; +import teetime.variant.methodcallWithPorts.stage.CollectorSink; +import teetime.variant.methodcallWithPorts.stage.NoopFilter; +import teetime.variant.methodcallWithPorts.stage.ObjectProducer; +import teetime.variant.methodcallWithPorts.stage.StartTimestampFilter; +import teetime.variant.methodcallWithPorts.stage.StopTimestampFilter; /** * @author Christian Wulf diff --git a/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment10/MethodCallThroughputAnalysis10.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment10/MethodCallThroughputAnalysis10.java index b5c714989329ba2844424bb429766e1d487a35c6..55d60178d3cac6acc41e5548fbe079b5c98cb645 100644 --- a/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment10/MethodCallThroughputAnalysis10.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment10/MethodCallThroughputAnalysis10.java @@ -20,14 +20,14 @@ import java.util.List; import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; -import teetime.variant.methodcall.framework.core.Pipeline; -import teetime.variant.methodcall.framework.core.RunnableStage; -import teetime.variant.methodcall.framework.core.pipe.SingleElementPipe; -import teetime.variant.methodcall.stage.CollectorSink; -import teetime.variant.methodcall.stage.NoopFilter; -import teetime.variant.methodcall.stage.ObjectProducer; -import teetime.variant.methodcall.stage.StartTimestampFilter; -import teetime.variant.methodcall.stage.StopTimestampFilter; +import teetime.variant.methodcallWithPorts.framework.core.Pipeline; +import teetime.variant.methodcallWithPorts.framework.core.RunnableStage; +import teetime.variant.methodcallWithPorts.framework.core.pipe.SingleElementPipe; +import teetime.variant.methodcallWithPorts.stage.CollectorSink; +import teetime.variant.methodcallWithPorts.stage.NoopFilter; +import teetime.variant.methodcallWithPorts.stage.ObjectProducer; +import teetime.variant.methodcallWithPorts.stage.StartTimestampFilter; +import teetime.variant.methodcallWithPorts.stage.StopTimestampFilter; /** * @author Christian Wulf diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment14/MethodCallThoughputTimestampAnalysis14Test.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment14/MethodCallThoughputTimestampAnalysis14Test.java similarity index 97% rename from src/test/java/teetime/variant/methodcall/examples/experiment14/MethodCallThoughputTimestampAnalysis14Test.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment14/MethodCallThoughputTimestampAnalysis14Test.java index 59b6372e78b8071020a334685c9b4a0d0767ec4e..3a8ccedb450960a82346a323b4269e177f5b415d 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment14/MethodCallThoughputTimestampAnalysis14Test.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment14/MethodCallThoughputTimestampAnalysis14Test.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment14; +package teetime.variant.methodcallWithPorts.examples.experiment14; import java.util.ArrayList; import java.util.List; diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment14/MethodCallThroughputAnalysis14.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment14/MethodCallThroughputAnalysis14.java similarity index 85% rename from src/test/java/teetime/variant/methodcall/examples/experiment14/MethodCallThroughputAnalysis14.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment14/MethodCallThroughputAnalysis14.java index bc08ec97c1cdd2950276c218ecd72cf901b3074e..69b48f8792575d5f83f4be76e9153735e44d3871 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment14/MethodCallThroughputAnalysis14.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment14/MethodCallThroughputAnalysis14.java @@ -13,21 +13,21 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment14; +package teetime.variant.methodcallWithPorts.examples.experiment14; import java.util.List; import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; -import teetime.variant.methodcall.framework.core.Pipeline; -import teetime.variant.methodcall.framework.core.RunnableStage; -import teetime.variant.methodcall.framework.core.pipe.SpScPipe; -import teetime.variant.methodcall.stage.CollectorSink; -import teetime.variant.methodcall.stage.NoopFilter; -import teetime.variant.methodcall.stage.ObjectProducer; -import teetime.variant.methodcall.stage.StartTimestampFilter; -import teetime.variant.methodcall.stage.StopTimestampFilter; +import teetime.variant.methodcallWithPorts.framework.core.Pipeline; +import teetime.variant.methodcallWithPorts.framework.core.RunnableStage; +import teetime.variant.methodcallWithPorts.framework.core.pipe.SpScPipe; +import teetime.variant.methodcallWithPorts.stage.CollectorSink; +import teetime.variant.methodcallWithPorts.stage.NoopFilter; +import teetime.variant.methodcallWithPorts.stage.ObjectProducer; +import teetime.variant.methodcallWithPorts.stage.StartTimestampFilter; +import teetime.variant.methodcallWithPorts.stage.StopTimestampFilter; /** * @author Christian Wulf diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment15/MethodCallThoughputTimestampAnalysis15Test.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment15/MethodCallThoughputTimestampAnalysis15Test.java similarity index 97% rename from src/test/java/teetime/variant/methodcall/examples/experiment15/MethodCallThoughputTimestampAnalysis15Test.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment15/MethodCallThoughputTimestampAnalysis15Test.java index 1c72d3958b5f567c445611dcb25ede490e13a642..9e7c230ca071337af2d92ad441bd6ca6cc9af1d4 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment15/MethodCallThoughputTimestampAnalysis15Test.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment15/MethodCallThoughputTimestampAnalysis15Test.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment15; +package teetime.variant.methodcallWithPorts.examples.experiment15; import java.util.ArrayList; import java.util.List; diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment15/MethodCallThroughputAnalysis15.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment15/MethodCallThroughputAnalysis15.java similarity index 84% rename from src/test/java/teetime/variant/methodcall/examples/experiment15/MethodCallThroughputAnalysis15.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment15/MethodCallThroughputAnalysis15.java index f3bc7006b6461300602d3bc633545e7d6be84e7b..9eed7af8c1fa66205bb6df385e523f1fc91fdbd3 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment15/MethodCallThroughputAnalysis15.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment15/MethodCallThroughputAnalysis15.java @@ -13,25 +13,25 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment15; +package teetime.variant.methodcallWithPorts.examples.experiment15; import java.util.List; import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; -import teetime.variant.methodcall.framework.core.Pipeline; -import teetime.variant.methodcall.framework.core.RunnableStage; -import teetime.variant.methodcall.framework.core.pipe.SpScPipe; -import teetime.variant.methodcall.framework.core.pipe.UnorderedGrowablePipe; -import teetime.variant.methodcall.stage.Clock; -import teetime.variant.methodcall.stage.CollectorSink; -import teetime.variant.methodcall.stage.Delay; -import teetime.variant.methodcall.stage.EndStage; -import teetime.variant.methodcall.stage.NoopFilter; -import teetime.variant.methodcall.stage.ObjectProducer; -import teetime.variant.methodcall.stage.StartTimestampFilter; -import teetime.variant.methodcall.stage.StopTimestampFilter; +import teetime.variant.methodcallWithPorts.framework.core.Pipeline; +import teetime.variant.methodcallWithPorts.framework.core.RunnableStage; +import teetime.variant.methodcallWithPorts.framework.core.pipe.SpScPipe; +import teetime.variant.methodcallWithPorts.framework.core.pipe.UnorderedGrowablePipe; +import teetime.variant.methodcallWithPorts.stage.Clock; +import teetime.variant.methodcallWithPorts.stage.CollectorSink; +import teetime.variant.methodcallWithPorts.stage.Delay; +import teetime.variant.methodcallWithPorts.stage.EndStage; +import teetime.variant.methodcallWithPorts.stage.NoopFilter; +import teetime.variant.methodcallWithPorts.stage.ObjectProducer; +import teetime.variant.methodcallWithPorts.stage.StartTimestampFilter; +import teetime.variant.methodcallWithPorts.stage.StopTimestampFilter; /** * @author Christian Wulf diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment16/MethodCallThoughputTimestampAnalysis16Test.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment16/MethodCallThoughputTimestampAnalysis16Test.java similarity index 97% rename from src/test/java/teetime/variant/methodcall/examples/experiment16/MethodCallThoughputTimestampAnalysis16Test.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment16/MethodCallThoughputTimestampAnalysis16Test.java index 942ce6c95619bf728591c9398ab93b78efa4368e..e3afce1eb4ddcb1b5aebcf4a11e05833028796aa 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment16/MethodCallThoughputTimestampAnalysis16Test.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment16/MethodCallThoughputTimestampAnalysis16Test.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment16; +package teetime.variant.methodcallWithPorts.examples.experiment16; import java.util.List; diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment16/MethodCallThroughputAnalysis16.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment16/MethodCallThroughputAnalysis16.java similarity index 87% rename from src/test/java/teetime/variant/methodcall/examples/experiment16/MethodCallThroughputAnalysis16.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment16/MethodCallThroughputAnalysis16.java index af0ac36bbbf8bfe229531a68a77de71cc731de8f..6343ff5769b91f3aaf7917bf1f6f65b0fa7e5052 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment16/MethodCallThroughputAnalysis16.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment16/MethodCallThroughputAnalysis16.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment16; +package teetime.variant.methodcallWithPorts.examples.experiment16; import java.util.ArrayList; import java.util.LinkedList; @@ -22,18 +22,18 @@ import java.util.List; import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; -import teetime.variant.methodcall.framework.core.Pipeline; -import teetime.variant.methodcall.framework.core.RunnableStage; -import teetime.variant.methodcall.framework.core.StageWithPort; -import teetime.variant.methodcall.framework.core.pipe.SpScPipe; -import teetime.variant.methodcall.framework.core.pipe.UnorderedGrowablePipe; -import teetime.variant.methodcall.stage.CollectorSink; -import teetime.variant.methodcall.stage.Distributor; -import teetime.variant.methodcall.stage.NoopFilter; -import teetime.variant.methodcall.stage.ObjectProducer; -import teetime.variant.methodcall.stage.Relay; -import teetime.variant.methodcall.stage.StartTimestampFilter; -import teetime.variant.methodcall.stage.StopTimestampFilter; +import teetime.variant.methodcallWithPorts.framework.core.Pipeline; +import teetime.variant.methodcallWithPorts.framework.core.RunnableStage; +import teetime.variant.methodcallWithPorts.framework.core.StageWithPort; +import teetime.variant.methodcallWithPorts.framework.core.pipe.SpScPipe; +import teetime.variant.methodcallWithPorts.framework.core.pipe.UnorderedGrowablePipe; +import teetime.variant.methodcallWithPorts.stage.CollectorSink; +import teetime.variant.methodcallWithPorts.stage.Distributor; +import teetime.variant.methodcallWithPorts.stage.NoopFilter; +import teetime.variant.methodcallWithPorts.stage.ObjectProducer; +import teetime.variant.methodcallWithPorts.stage.Relay; +import teetime.variant.methodcallWithPorts.stage.StartTimestampFilter; +import teetime.variant.methodcallWithPorts.stage.StopTimestampFilter; /** * @author Christian Wulf diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment17/MethodCallThoughputTimestampAnalysis17Test.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment17/MethodCallThoughputTimestampAnalysis17Test.java similarity index 97% rename from src/test/java/teetime/variant/methodcall/examples/experiment17/MethodCallThoughputTimestampAnalysis17Test.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment17/MethodCallThoughputTimestampAnalysis17Test.java index 47703cab9088543176c97a7a1322933570578a61..c5f9ac19df56034664fe55fffed55ab20a590dbd 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment17/MethodCallThoughputTimestampAnalysis17Test.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment17/MethodCallThoughputTimestampAnalysis17Test.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment17; +package teetime.variant.methodcallWithPorts.examples.experiment17; import java.util.List; diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment17/MethodCallThroughputAnalysis17.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment17/MethodCallThroughputAnalysis17.java similarity index 87% rename from src/test/java/teetime/variant/methodcall/examples/experiment17/MethodCallThroughputAnalysis17.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment17/MethodCallThroughputAnalysis17.java index fb8c850444c1391975ea67f5af5fe5450df50fce..4a6a81e07c18f3efd6d646f376b8d78eea0aa301 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment17/MethodCallThroughputAnalysis17.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment17/MethodCallThroughputAnalysis17.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment17; +package teetime.variant.methodcallWithPorts.examples.experiment17; import java.util.ArrayList; import java.util.LinkedList; @@ -22,21 +22,21 @@ import java.util.List; import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; -import teetime.variant.methodcall.framework.core.Pipeline; -import teetime.variant.methodcall.framework.core.RunnableStage; -import teetime.variant.methodcall.framework.core.StageWithPort; -import teetime.variant.methodcall.framework.core.pipe.IPipe; -import teetime.variant.methodcall.framework.core.pipe.SpScPipe; -import teetime.variant.methodcall.framework.core.pipe.UnorderedGrowablePipe; -import teetime.variant.methodcall.stage.CollectorSink; -import teetime.variant.methodcall.stage.Distributor; -import teetime.variant.methodcall.stage.EndStage; -import teetime.variant.methodcall.stage.NoopFilter; -import teetime.variant.methodcall.stage.ObjectProducer; -import teetime.variant.methodcall.stage.Relay; -import teetime.variant.methodcall.stage.Sink; -import teetime.variant.methodcall.stage.StartTimestampFilter; -import teetime.variant.methodcall.stage.StopTimestampFilter; +import teetime.variant.methodcallWithPorts.framework.core.Pipeline; +import teetime.variant.methodcallWithPorts.framework.core.RunnableStage; +import teetime.variant.methodcallWithPorts.framework.core.StageWithPort; +import teetime.variant.methodcallWithPorts.framework.core.pipe.IPipe; +import teetime.variant.methodcallWithPorts.framework.core.pipe.SpScPipe; +import teetime.variant.methodcallWithPorts.framework.core.pipe.UnorderedGrowablePipe; +import teetime.variant.methodcallWithPorts.stage.CollectorSink; +import teetime.variant.methodcallWithPorts.stage.Distributor; +import teetime.variant.methodcallWithPorts.stage.EndStage; +import teetime.variant.methodcallWithPorts.stage.NoopFilter; +import teetime.variant.methodcallWithPorts.stage.ObjectProducer; +import teetime.variant.methodcallWithPorts.stage.Relay; +import teetime.variant.methodcallWithPorts.stage.Sink; +import teetime.variant.methodcallWithPorts.stage.StartTimestampFilter; +import teetime.variant.methodcallWithPorts.stage.StopTimestampFilter; /** * @author Christian Wulf diff --git a/src/test/java/teetime/variant/methodcall/examples/experiment18/MethodCallThroughputAnalysis18.java b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment18/MethodCallThroughputAnalysis18.java similarity index 86% rename from src/test/java/teetime/variant/methodcall/examples/experiment18/MethodCallThroughputAnalysis18.java rename to src/test/java/teetime/variant/methodcallWithPorts/examples/experiment18/MethodCallThroughputAnalysis18.java index a54abddcba9f0b19e49a5041c623fff05b2e1f7d..fb0015574b86a0cba6520defdd051d92e67ca902 100644 --- a/src/test/java/teetime/variant/methodcall/examples/experiment18/MethodCallThroughputAnalysis18.java +++ b/src/test/java/teetime/variant/methodcallWithPorts/examples/experiment18/MethodCallThroughputAnalysis18.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. ***************************************************************************/ -package teetime.variant.methodcall.examples.experiment18; +package teetime.variant.methodcallWithPorts.examples.experiment18; import java.util.ArrayList; import java.util.LinkedList; @@ -22,18 +22,18 @@ import java.util.List; import teetime.util.ConstructorClosure; import teetime.variant.explicitScheduling.examples.throughput.TimestampObject; import teetime.variant.explicitScheduling.framework.core.Analysis; -import teetime.variant.methodcall.framework.core.Pipeline; -import teetime.variant.methodcall.framework.core.RunnableStage; -import teetime.variant.methodcall.framework.core.StageWithPort; -import teetime.variant.methodcall.framework.core.pipe.SpScPipe; -import teetime.variant.methodcall.framework.core.pipe.UnorderedGrowablePipe; -import teetime.variant.methodcall.stage.CollectorSink; -import teetime.variant.methodcall.stage.Distributor; -import teetime.variant.methodcall.stage.NoopFilter; -import teetime.variant.methodcall.stage.ObjectProducer; -import teetime.variant.methodcall.stage.Relay; -import teetime.variant.methodcall.stage.StartTimestampFilter; -import teetime.variant.methodcall.stage.StopTimestampFilter; +import teetime.variant.methodcallWithPorts.framework.core.Pipeline; +import teetime.variant.methodcallWithPorts.framework.core.RunnableStage; +import teetime.variant.methodcallWithPorts.framework.core.StageWithPort; +import teetime.variant.methodcallWithPorts.framework.core.pipe.SpScPipe; +import teetime.variant.methodcallWithPorts.framework.core.pipe.UnorderedGrowablePipe; +import teetime.variant.methodcallWithPorts.stage.CollectorSink; +import teetime.variant.methodcallWithPorts.stage.Distributor; +import teetime.variant.methodcallWithPorts.stage.NoopFilter; +import teetime.variant.methodcallWithPorts.stage.ObjectProducer; +import teetime.variant.methodcallWithPorts.stage.Relay; +import teetime.variant.methodcallWithPorts.stage.StartTimestampFilter; +import teetime.variant.methodcallWithPorts.stage.StopTimestampFilter; /** * @author Christian Wulf diff --git a/src/test/java/test/PerformanceTest.java b/src/test/java/test/PerformanceTest.java new file mode 100644 index 0000000000000000000000000000000000000000..c84310284d1289680713fd36cd688f474a5a5e0b --- /dev/null +++ b/src/test/java/test/PerformanceTest.java @@ -0,0 +1,16 @@ +package test; + +import org.junit.Before; + +import kieker.common.logging.LogFactory; + +public abstract class PerformanceTest { + + protected static final int NUM_OBJECTS_TO_CREATE = 100000; + protected static final int NUM_NOOP_FILTERS = 800; + + @Before + public void before() { + System.setProperty(LogFactory.CUSTOM_LOGGER_JVM, "NONE"); + } +}