Qpid has a substantial server performance test suite based around the http://sourceforge.net/projects/junit-toolkit/ library.
The test cases fall into the following categories:
...
Parameter | Meaning |
---|---|
-c pattern | The number of tests to run concurrently. |
-r num | The number of times to repeat each test. |
-d duration | The length of time to run the tests for. |
-t name | The name of the test case to execute. |
-s pattern | The size parameter to run tests with. |
-o dir | The name of the directory to output test timings to. |
--csv | Output test results in CSV format. |
--xml | Output test results in XML format. |
-v | Verbose mode. |
Here are some examples:
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="74a62266-d8ce-4da3-81d4-c789b3bf1e38"><ac:plain-text-body><![CDATA[ | -c [10:20:30:40:50] | Runs the test with 10,20,...,50 threads. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f1396e22-3511-4b15-8ebe-9af1224d7462"><ac:plain-text-body><![CDATA[ | -s [1:100]:samples=10 | Runs the test with ten different size parameters evenly spaced between 1 and 100. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="334ee357-9950-4b13-92d0-a746b85ccad0"><ac:plain-text-body><![CDATA[ | -s [1:1000000]:samples=10:exp | Runs the test with ten different size parameters exponentially spaced between 1 and 1000000. | ]]></ac:plain-text-body></ac:structured-macro> |
-r 10 | Runs each test ten times. | ||
-d 10H | Runs the test repeatedly for 10 hours. | ||
-d 1M, -r 10 | Runs the test repeatedly for 1 minute but only takes a timing sample every 10 test runs. | ||
-r 10, -c 5:10:50, -s 1000:10000 | Runs 12 test cycles (4 concurrency samples * 3 size sample), with 10 repeats each. In total the test will be run 199 times (3 + 15 + 30 + 150) |
...