Update docs/TDD.md
Co-authored-by: Isaac Good <IsaacG@users.noreply.github.com>
This commit is contained in:
@@ -152,7 +152,7 @@ The `number` parameter determines how many times the `stmt` code will be run.
|
|||||||
The `setup` parameter defines the code that is run only once to prepare for running the `stmt` code.
|
The `setup` parameter defines the code that is run only once to prepare for running the `stmt` code.
|
||||||
The time for the `setup` code to run is included in the overall time.
|
The time for the `setup` code to run is included in the overall time.
|
||||||
The more iterations the `stmt` code is run, the less the `setup` time should count per iteration.
|
The more iterations the `stmt` code is run, the less the `setup` time should count per iteration.
|
||||||
The `timer` parameter allows for passing in a different `Timer` from the default.
|
The `timer` parameter allows for passing in a different `Timer` than the default.
|
||||||
The default argument for the `timer` parameter is [perf_counter][perf_counter], which should suffice.
|
The default argument for the `timer` parameter is [perf_counter][perf_counter], which should suffice.
|
||||||
The `number` parameter defines the number of times the `stmt` code will be run.
|
The `number` parameter defines the number of times the `stmt` code will be run.
|
||||||
The default argument for the `number` parameter is `1_000_000`.
|
The default argument for the `number` parameter is `1_000_000`.
|
||||||
|
|||||||
Reference in New Issue
Block a user