Skip to content

Commit 32dfb6a

Browse files
committed
Clarify relative benchmark interpreter paths
Assisted-by: Codex:GPT-6
1 parent e3ceec7 commit 32dfb6a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎benches/README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,11 @@ python -m pytest benches/test_benchmarks.py
9999
```
100100

101101
It uses the release executable in `target/release` by default. Set `RUSTPYTHON` to
102-
the executable path when using a different build directory. Script paths are
103-
resolved relative to this checkout, so pytest can also be launched from another
104-
directory. A failed subprocess fails the benchmark instead of producing a timing.
102+
the executable path when using a different build directory. Relative `RUSTPYTHON`
103+
paths are resolved from the directory where pytest is launched; absolute paths
104+
can be used from any directory. Script paths are resolved relative to this
105+
checkout, so pytest can also be launched from another directory. A failed
106+
subprocess fails the benchmark instead of producing a timing.
105107

106108
## MacOS setup
107109

0 commit comments

Comments
 (0)