mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-28 05:31:55 +01:00
Allow configuring of benchmark warmup time
This commit is contained in:
committed by
Martin Hořeňovský
parent
e880da93bd
commit
3c7e737a7b
@@ -210,6 +210,9 @@ namespace Catch {
|
||||
| Opt( config.benchmarkNoAnalysis )
|
||||
["--benchmark-no-analysis"]
|
||||
( "perform only measurements; do not perform any analysis" )
|
||||
| Opt( config.benchmarkWarmupTime, "benchmarkWarmupTime" )
|
||||
["--benchmark-warmup-time"]
|
||||
( "amount of time in milliseconds spent on warming up each test (default: 100)" )
|
||||
| Arg( config.testsOrTags, "test name|pattern|tags" )
|
||||
( "which test or tests to use" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user