... | ... | @@ -6,12 +6,13 @@ This page contains information about benchmarks that are or were useful for solv |
|
|
|
|
|
Pytest has 2 modes of [calibration](https://pytest-benchmark.readthedocs.io/en/stable/calibration.html):
|
|
|
|
|
|
* **automatic:** By default pytest-benchmark will try to run your function as many times needed to fit a 10 x `TIMER_RESOLUTION` period.
|
|
|
* **pedantic:** defaults to `rounds=1`, `warmup_rounds=0` and `iterations=1`.
|
|
|
* **Automatic:** by default pytest-benchmark will try to run your function as many times needed to fit a 10 x `TIMER_RESOLUTION` period. See defaults below
|
|
|
* **Pedantic:** defaults to `rounds=1`, `warmup_rounds=0` and `iterations=1`.
|
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
|
|
These are the configuration options that all tests currently run:
|
|
|
These are the configuration options that tests that are automatically calibrated currently use (i.e. all except the ones that use `txbenchmark_with_setup`):
|
|
|
|
|
|
* `warmup_rounds=0`
|
|
|
* `iterations=1`
|
... | ... | |