Document that Python 3.12.0 is required to run benchmarks (#1308)

Update the Benchmark documentation to explicitly document that it
requires Python 3.12.0 to run the non puffin benchmarks:

```
Benchmark 2: poetry (resolve-warm)

Current Python version (3.12.1) is not allowed by the project (3.12).
Please change python executable via the "env use" command.
Error: Command terminated with non-zero exit code: 1. Use the '-i'/'--ignore-failure' option if you want to ignore this. Alternatively, use the '--show-output' option to debug what went wrong.
```
This commit is contained in:
Micha Reiser 2024-02-15 15:54:48 +01:00 committed by GitHub
parent 8bc81aaf70
commit 768669771c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Benchmarks # Benchmarks
All benchmarks were computed on macOS using Python 3.12 (for non-Puffin tools), and come with a few All benchmarks were computed on macOS using Python 3.12.0 (for non-Puffin tools), and come with a few
important caveats: important caveats:
- Benchmark performance may vary dramatically across different operating systems and filesystems. - Benchmark performance may vary dramatically across different operating systems and filesystems.
@ -83,7 +83,7 @@ python -m scripts.bench \
--puffin \ --puffin \
--poetry \ --poetry \
--pip-sync \ --pip-sync \
--benchmark resolve-warm \ --benchmark install-warm \
scripts/requirements/compiled/trio.txt \ scripts/requirements/compiled/trio.txt \
--json --json
``` ```