... | ... | @@ -11,12 +11,13 @@ Pytest has 2 modes of [calibration](https://pytest-benchmark.readthedocs.io/en/s |
|
|
|
|
|
## Configuration
|
|
|
|
|
|
* `warmup_rounds=0` for all tests (default).
|
|
|
* `iterations=1` for all tests (default).
|
|
|
* `--benchmark-min-rounds=5` for all tests (the default).
|
|
|
* for pytest-benchmark, the precision of `time.time` is `9.5367431640625e-07 s`, that is $`10^{-6}`$ seconds (taken by running `pytest_benchmark.timers.compute_timer_precision(time.time)`)
|
|
|
* `pytest-benchmark` will try to run the function to until it takes at least around $`10^{-5}`$ seconds (0.01 ms).
|
|
|
* `--benchmark-min-time=0.000005`, for all tests (default).
|
|
|
These are the configuration options that all tests currently run:
|
|
|
|
|
|
* `warmup_rounds=0`
|
|
|
* `iterations=1`
|
|
|
* `min_rounds=5` (or `4` for the ones that use `txbenchmark_with_setup`)
|
|
|
* `min_time=`9.5367431640625e-06` (approximatelly $`10^{-5}`$ seconds, or 0.01 ms)
|
|
|
* `--benchmark-calibration-precision=10`
|
|
|
|
|
|
# Mean time table
|
|
|
|
... | ... | |