You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kw...@apache.org on 2015/10/08 14:29:50 UTC

svn commit: r1707513 - in /qpid/java/trunk/perftests: etc/chartdefs/timeseries/ visualisation-jfc/src/main/java/org/apache/qpid/disttest/charting/chartbuilder/

Author: kwall
Date: Thu Oct  8 12:29:50 2015
New Revision: 1707513

URL: http://svn.apache.org/viewvc?rev=1707513&view=rev
Log:
QPID-6732: [Java Performance Tests] Added chartdef files for plotting a performamce comparison between two different Broker versions.

This also slightly changes the dash pattern of dashed line to make it better distinguishable in the plot legend.

Added:
    qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_persistent_transaction.chartdef
    qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_transient_autoack.chartdef
Removed:
    qpid/java/trunk/perftests/etc/chartdefs/timeseries/persistent_transaction.chartdef
    qpid/java/trunk/perftests/etc/chartdefs/timeseries/transient_autoack.chartdef
Modified:
    qpid/java/trunk/perftests/visualisation-jfc/src/main/java/org/apache/qpid/disttest/charting/chartbuilder/SeriesPainter.java

Added: qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_persistent_transaction.chartdef
URL: http://svn.apache.org/viewvc/qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_persistent_transaction.chartdef?rev=1707513&view=auto
==============================================================================
--- qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_persistent_transaction.chartdef (added)
+++ qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_persistent_transaction.chartdef Thu Oct  8 12:29:50 2015
@@ -0,0 +1,47 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+chartType=TIMELINE
+chartTitle=Persistent Transacted AMQP ${qpid.charting.protocolVersion}
+chartDescription=10P 10C, persistent, transacted, 1kB message, plain/SSL, ${qpid.charting.brokerVersionA} / ${qpid.charting.brokerVersionB}
+
+xAxisTitle=Date
+yAxisTitle=Messages Per Second
+
+series.1.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'persistent_transaction_plain' AND providerVersion LIKE '%${qpid.charting.brokerVersionA}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.1.colourName=red
+series.1.shape=cross
+series.1.legend=Plain; ${qpid.charting.brokerVersionA}
+
+series.2.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'persistent_transaction_ssl' AND providerVersion LIKE '%${qpid.charting.brokerVersionA}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.2.colourName=blue
+series.2.shape=cross
+series.2.legend=SSL; ${qpid.charting.brokerVersionA}
+
+series.3.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'persistent_transaction_plain' AND providerVersion LIKE '%${qpid.charting.brokerVersionB}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.3.colourName=red
+series.3.strokeWidth=-1
+series.3.shape=cross
+series.3.legend=Plain; ${qpid.charting.brokerVersionB}
+
+series.4.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'persistent_transaction_ssl' AND providerVersion LIKE '%${qpid.charting.brokerVersionB}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.4.colourName=blue
+series.4.strokeWidth=-1
+series.4.shape=cross
+series.4.legend=SSL; ${qpid.charting.brokerVersionB}

Added: qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_transient_autoack.chartdef
URL: http://svn.apache.org/viewvc/qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_transient_autoack.chartdef?rev=1707513&view=auto
==============================================================================
--- qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_transient_autoack.chartdef (added)
+++ qpid/java/trunk/perftests/etc/chartdefs/timeseries/combined_transient_autoack.chartdef Thu Oct  8 12:29:50 2015
@@ -0,0 +1,47 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+chartType=TIMELINE
+chartTitle=Transient Auto-Ack AMQP ${qpid.charting.protocolVersion}
+chartDescription=10P 10C, transient, auto-ack, 1kB message, plain/SSL, ${qpid.charting.brokerVersionA} / ${qpid.charting.brokerVersionB}
+
+xAxisTitle=Date
+yAxisTitle=Messages Per Second
+
+series.1.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'transient_autoack_plain' AND providerVersion LIKE '%${qpid.charting.brokerVersionA}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.1.colourName=red
+series.1.shape=cross
+series.1.legend=Plain; ${qpid.charting.brokerVersionA}
+
+series.2.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'transient_autoack_ssl' AND providerVersion LIKE '%${qpid.charting.brokerVersionA}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.2.colourName=blue
+series.2.shape=cross
+series.2.legend=SSL; ${qpid.charting.brokerVersionA}
+
+series.3.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'transient_autoack_plain' AND providerVersion LIKE '%${qpid.charting.brokerVersionB}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.3.colourName=red
+series.3.strokeWidth=-1
+series.3.shape=cross
+series.3.legend=Plain; ${qpid.charting.brokerVersionB}
+
+series.4.statement=SELECT insertedTimestamp, throughputMessagesPerS FROM RESULTS WHERE participantName = 'All' AND testName = 'transient_autoack_ssl' AND providerVersion LIKE '%${qpid.charting.brokerVersionB}%' AND protocolVersion = '${qpid.charting.protocolVersion}'
+series.4.colourName=blue
+series.4.strokeWidth=-1
+series.4.shape=cross
+series.4.legend=SSL; ${qpid.charting.brokerVersionB}

Modified: qpid/java/trunk/perftests/visualisation-jfc/src/main/java/org/apache/qpid/disttest/charting/chartbuilder/SeriesPainter.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/perftests/visualisation-jfc/src/main/java/org/apache/qpid/disttest/charting/chartbuilder/SeriesPainter.java?rev=1707513&r1=1707512&r2=1707513&view=diff
==============================================================================
--- qpid/java/trunk/perftests/visualisation-jfc/src/main/java/org/apache/qpid/disttest/charting/chartbuilder/SeriesPainter.java (original)
+++ qpid/java/trunk/perftests/visualisation-jfc/src/main/java/org/apache/qpid/disttest/charting/chartbuilder/SeriesPainter.java Thu Oct  8 12:29:50 2015
@@ -71,7 +71,7 @@ public class SeriesPainter
         final BasicStroke stroke;
         if (dashed)
         {
-            stroke = new BasicStroke(width, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, new float[] {5.0f, 3.0f}, 0.0f);
+            stroke = new BasicStroke(width, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, new float[] {3.0f, 3.0f}, 0.0f);
         }
         else
         {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org