diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2012-08-27 15:40:33 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2012-08-27 15:40:33 +0000 |
| commit | 868ce7469262d6fd2fe3f2e7f04cfe7af654d59f (patch) | |
| tree | 63e6b5e62554609beb21e8c8d0610569f36d2743 /java/perftests/etc | |
| parent | 2e5ff8f1b328831043e6d7e323249d62187234c6 (diff) | |
| download | qpid-python-868ce7469262d6fd2fe3f2e7f04cfe7af654d59f.tar.gz | |
QPID-3858: Updated code to include recent refactoring by Gordon (gsim) - see QPID-4178.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1377715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/perftests/etc')
| -rw-r--r-- | java/perftests/etc/chartdefs/1021-AcknowledgementModes-Persistent.chartdef (renamed from java/perftests/etc/chartdefs/1022-AcknowledgementModes-Transacted.chartdef) | 11 | ||||
| -rw-r--r-- | java/perftests/etc/chartdefs/1022-AcknowledgementModes-Transient.chartdef (renamed from java/perftests/etc/chartdefs/1021-AcknowledgementModes-AutoAck.chartdef) | 9 | ||||
| -rw-r--r-- | java/perftests/etc/testdefs/Topic-AckModes.js | 21 | ||||
| -rw-r--r-- | java/perftests/etc/testdefs/Topic-NumberOfConsumers.js | 21 | ||||
| -rw-r--r-- | java/perftests/etc/testdefs/Topic-NumberOfTopics.js | 21 | ||||
| -rw-r--r-- | java/perftests/etc/testdefs/Topic-Persistence.js | 20 |
6 files changed, 94 insertions, 9 deletions
diff --git a/java/perftests/etc/chartdefs/1022-AcknowledgementModes-Transacted.chartdef b/java/perftests/etc/chartdefs/1021-AcknowledgementModes-Persistent.chartdef index 5dcfa5a85e..30aee40c27 100644 --- a/java/perftests/etc/chartdefs/1022-AcknowledgementModes-Transacted.chartdef +++ b/java/perftests/etc/chartdefs/1021-AcknowledgementModes-Persistent.chartdef @@ -19,14 +19,17 @@ chartType=BAR chartTitle=Performance of acknowledgement modes -chartSubtitle=Transacted -xAxisTitle=Persistence +chartSubtitle=Persistent messages (1024b) +xAxisTitle=Acknowledge mode (0=session transacted; 1=auto-acknowledge) yAxisTitle=Throughput (KB/s) -series.1.statement=SELECT testName, throughputKbPerS FROM AcknowledgementModes WHERE acknowledgeMode = '0' AND participantName = 'All' +series.1.statement=SELECT acknowledgeMode, throughputKbPerS FROM AcknowledgementModes WHERE testName like 'Persistent%' AND participantName = 'All' ORDER BY acknowledgeMode series.1.legend=Current series.1.dir=${csvCurrentDir} -series.2.statement=SELECT testName, throughputKbPerS FROM AcknowledgementModes WHERE acknowledgeMode = '0' AND participantName = 'All' + + +series.2.statement=SELECT acknowledgeMode, throughputKbPerS FROM AcknowledgementModes WHERE testName like 'Persistent%' AND participantName = 'All' ORDER BY acknowledgeMode series.2.legend=Baseline series.2.dir=${csvBaselineDir} + diff --git a/java/perftests/etc/chartdefs/1021-AcknowledgementModes-AutoAck.chartdef b/java/perftests/etc/chartdefs/1022-AcknowledgementModes-Transient.chartdef index 009ac6d80f..7a26391deb 100644 --- a/java/perftests/etc/chartdefs/1021-AcknowledgementModes-AutoAck.chartdef +++ b/java/perftests/etc/chartdefs/1022-AcknowledgementModes-Transient.chartdef @@ -19,15 +19,14 @@ chartType=BAR chartTitle=Performance of acknowledgement modes -chartSubtitle=Auto-acknowledge -xAxisTitle=Persistence +chartSubtitle=Transient messages (1024b) +xAxisTitle=Acknowledge mode (0=session transacted; 1=auto-acknowledge) yAxisTitle=Throughput (KB/s) -series.1.statement=SELECT testName, throughputKbPerS FROM AcknowledgementModes WHERE acknowledgeMode = '1' AND participantName = 'All' +series.1.statement=SELECT acknowledgeMode, throughputKbPerS FROM AcknowledgementModes WHERE testName like 'Transient%' AND participantName = 'All' ORDER BY acknowledgeMode series.1.legend=Current series.1.dir=${csvCurrentDir} -series.2.statement=SELECT testName, throughputKbPerS FROM AcknowledgementModes WHERE acknowledgeMode = '1' AND participantName = 'All' +series.2.statement=SELECT acknowledgeMode, throughputKbPerS FROM AcknowledgementModes WHERE testName like 'Transient%' AND participantName = 'All' ORDER BY acknowledgeMode series.2.legend=Baseline series.2.dir=${csvBaselineDir} - diff --git a/java/perftests/etc/testdefs/Topic-AckModes.js b/java/perftests/etc/testdefs/Topic-AckModes.js index 5c4dee88e3..63c4b8646e 100644 --- a/java/perftests/etc/testdefs/Topic-AckModes.js +++ b/java/perftests/etc/testdefs/Topic-AckModes.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var duration = 30000; var topicName = "topic://amq.topic/?routingkey='testTopic'"; @@ -30,6 +50,7 @@ var jsonObject = { { "_name": "Producer", "_destinationName": topicName, + "_deliveryMode": 1, "_maximumDuration": duration, "_startDelay": 2000 // gives the consumers time to implicitly create the topic } diff --git a/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js b/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js index 751b8b1528..58ae2f5862 100644 --- a/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js +++ b/java/perftests/etc/testdefs/Topic-NumberOfConsumers.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var jsonObject = { _tests:[] }; @@ -26,6 +46,7 @@ for(i=0; i < numbersOfConsumers.length ; i++) { "_name": "Producer1", "_destinationName": topicName, + "_deliveryMode": 1, "_maximumDuration": duration, "_startDelay": 2000 // gives the consumers time to implicitly create the topic } diff --git a/java/perftests/etc/testdefs/Topic-NumberOfTopics.js b/java/perftests/etc/testdefs/Topic-NumberOfTopics.js index 89e5ecf56c..d31dd36c76 100644 --- a/java/perftests/etc/testdefs/Topic-NumberOfTopics.js +++ b/java/perftests/etc/testdefs/Topic-NumberOfTopics.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var jsonObject = { _tests:[] }; @@ -29,6 +49,7 @@ for(i=0; i < numbersOfTopics.length ; i++) { "_name": "Producer-__INDEX", "_destinationName": topicName, + "_deliveryMode": 1, "_maximumDuration": duration, "_startDelay": 2000 // gives the consumers time to implicitly create the topic } diff --git a/java/perftests/etc/testdefs/Topic-Persistence.js b/java/perftests/etc/testdefs/Topic-Persistence.js index fd92560fc3..bbec7ab8ed 100644 --- a/java/perftests/etc/testdefs/Topic-Persistence.js +++ b/java/perftests/etc/testdefs/Topic-Persistence.js @@ -1,3 +1,23 @@ +/* + * + * 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. + * + */ var duration = 30000; var topicName = "topic://amq.topic/?routingkey='testTopic'"; |
