diff options
| author | Martin Hořeňovský | 2019-06-07 07:01:47 +0200 |
|---|---|---|
| committer | GitHub | 2019-06-07 07:01:47 +0200 |
| commit | 4b1252547c9f553d90e9cc7918a97f174c028879 (patch) | |
| tree | aefb455af399279149f7348b5cf24fe3d1443c20 /include/internal/catch_commandline.cpp | |
| parent | 00347f1e79260e76d5072cca5b3636868397dda5 (diff) | |
| parent | 10067a47daa7b503bf8f7c23ffdff24c10208e7e (diff) | |
| download | catch3-4b1252547c9f553d90e9cc7918a97f174c028879.tar.gz | |
Merge pull request #1616 from fodinabor/integrate_nonius
Integrate nonius to provide more advanced benchmarking
Diffstat (limited to 'include/internal/catch_commandline.cpp')
| -rw-r--r-- | include/internal/catch_commandline.cpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/include/internal/catch_commandline.cpp b/include/internal/catch_commandline.cpp index 66759ebb..0359272c 100644 --- a/include/internal/catch_commandline.cpp +++ b/include/internal/catch_commandline.cpp @@ -196,11 +196,19 @@ namespace Catch { | Opt( setWaitForKeypress, "start|exit|both" ) ["--wait-for-keypress"] ( "waits for a keypress before exiting" ) - | Opt( config.benchmarkResolutionMultiple, "multiplier" ) - ["--benchmark-resolution-multiple"] - ( "multiple of clock resolution to run benchmarks" ) - - | Arg( config.testsOrTags, "test name|pattern|tags" ) + | Opt( config.benchmarkSamples, "samples" ) + ["--benchmark-samples"] + ( "number of samples to collect (default: 100)" ) + | Opt( config.benchmarkResamples, "resamples" ) + ["--benchmark-resamples"] + ( "number of resamples for the bootstrap (default: 100000)" ) + | Opt( config.benchmarkConfidenceInterval, "confidence interval" ) + ["--benchmark-confidence-interval"] + ( "confidence interval for the bootstrap (between 0 and 1, default: 0.95)" ) + | Opt( config.benchmarkNoAnalysis ) + ["--benchmark-no-analysis"] + ( "perform only measurements; do not perform any analysis" ) + | Arg( config.testsOrTags, "test name|pattern|tags" ) ( "which test or tests to use" ); return cli; |