Skip to content

Commit 3cb7c53

Browse files
yoneymeta-codesync[bot]
authored andcommitted
Add Python 3.14 free-threaded benchmark targets
Summary: Add 3.14t to the default benchmark Python versions, generating -314t variants for CinderX benchmark binaries. Reviewed By: alexmalyshev Differential Revision: D115220631 fbshipit-source-id: 7849a417b55b22a11c98b3c6aa92d868e73677c3
1 parent b67c1ce commit 3cb7c53

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

cinderx/benchmarks/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,25 @@ This runs all benchmarks whose dependencies are available, skipping the rest wit
1616
a helpful message about what to install. Lightweight benchmarks run with 3 iterations
1717
by default — use `--iterations N` for more.
1818

19+
## Python 3.14 Free-Threading
20+
21+
Buck benchmark targets have a `-314t` variant that runs with the free-threaded
22+
Python 3.14 runtime:
23+
24+
```bash
25+
# Run the lightweight suite.
26+
buck run fbcode//cinderx/benchmarks:benchmarks-314t -- \
27+
--iterations 3 binary_trees fannkuch nbody richards spectral_norm
28+
29+
# Run one benchmark with progress and elapsed-time output.
30+
buck run fbcode//cinderx/benchmarks:benchmarks-314t -- \
31+
--iterations 3 richards
32+
33+
# Compare against the interpreter without CinderX.
34+
CINDERX_DISABLE=1 buck run fbcode//cinderx/benchmarks:benchmarks-314t -- \
35+
--iterations 3 richards
36+
```
37+
1938
## Lightweight Benchmarks
2039

2140
These benchmarks have no extra dependencies beyond cinderx itself:

0 commit comments

Comments
 (0)