Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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="96fb4b66-9fe0-4688-9344-044d13f2c814"><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="7fcc4154-f263-469e-b044-391b2331bb17"><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="df117f79-27b8-4d56-9e3c-a0bf7fad5a5d"><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. <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="33cd7fc8-555f-4ef8-a3ab-54e09e6b8d58"><ac:plain-text-body><![CDATA[

-r 10, -c [1:5:10:50], -s [100: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) ]]></ac:plain-text-body></ac:structured-macro>

The test runner also accepts name=value properties on the end of the command line, and these are passed to the test code as parameters to control the operation of the test. The following properties may be set:

...