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