π
Here are some recent and important revisions. π Complete list of results.
Most recent pystats on main (7d7d56d)
date | fork/ref | hash/flags | vs. 3.12.6: | vs. 3.13.0rc2: | vs. base: |
---|---|---|---|---|---|
2024-11-18 | python/500a4712bb42355eeb78 | 500a471 | 1.03x β ππ |
1.01x β ππ |
|
2024-11-18 | python/500a4712bb42355eeb78 | 500a471 (NOGIL) | 1.42x β ππ |
1.44x β ππ |
1.46x β πππ§ |
2024-11-17 | python/acbd5c9c6c62dac34d2e | acbd5c9 (NOGIL) | 1.41x β ππ |
1.43x β ππ |
1.42x β πππ§ |
2024-11-17 | python/acbd5c9c6c62dac34d2e | acbd5c9 | 1.01x β ππ |
1.01x β ππ |
|
2024-11-15 | python/d6bcc154e93a0a20ab97 | d6bcc15 | 1.01x β ππ |
1.01x β ππ |
|
2024-11-15 | python/d6bcc154e93a0a20ab97 | d6bcc15 (NOGIL) | 1.47x β ππ |
1.49x β ππ |
1.48x β πππ§ |
2024-11-15 | python/3fecbe9255391be1ac3c | 3fecbe9 | 1.03x β ππ |
1.01x β ππ |
|
2024-11-15 | python/3fecbe9255391be1ac3c | 3fecbe9 (NOGIL) | 1.43x β ππ |
1.45x β ππ |
1.46x β πππ§ |
date | fork/ref | hash/flags | vs. 3.12.6: | vs. 3.13.0rc2: | vs. base: |
---|---|---|---|---|---|
2024-11-18 | python/500a4712bb42355eeb78 | 500a471 | 1.01x β ππ |
1.03x β ππ |
|
2024-11-18 | python/500a4712bb42355eeb78 | 500a471 (NOGIL) | 1.55x β ππ |
1.58x β ππ |
1.54x β πππ§ |
2024-11-17 | python/acbd5c9c6c62dac34d2e | acbd5c9 (NOGIL) | 1.56x β ππ |
1.58x β ππ |
1.56x β πππ§ |
2024-11-17 | python/acbd5c9c6c62dac34d2e | acbd5c9 | 1.00x β ππ |
1.02x β ππ |
|
2024-11-15 | python/d6bcc154e93a0a20ab97 | d6bcc15 | 1.00x β ππ |
1.02x β ππ |
|
2024-11-15 | python/d6bcc154e93a0a20ab97 | d6bcc15 (NOGIL) | 1.55x β ππ |
1.58x β ππ |
1.55x β πππ§ |
2024-11-15 | python/3fecbe9255391be1ac3c | 3fecbe9 | 1.00x β ππ |
1.02x β ππ |
|
2024-11-15 | python/3fecbe9255391be1ac3c | 3fecbe9 (NOGIL) | 1.54x β ππ |
1.57x β ππ |
1.54x β πππ§ |
*
indicates that the exact same versions of pyperformance was not used.
Improvement of the geometric mean of key merged benchmarks, computed with pyperf compare
.
The results have a resolution of 0.01 (1%).
Visit the π benchmark action and click the "Run Workflow" button.
The available parameters are:
fork
: The fork of CPython to benchmark. If benchmarking a pull request, this would normally be your GitHub username.ref
: The branch, tag or commit SHA to benchmark. If a SHA, it must be the full SHA, since finding it by a prefix is not supported.machine
: The machine to run on. One oflinux-amd64
(default),windows-amd64
,darwin-arm64
orall
.benchmark_base
: If checked, the base of the selected branch will also be benchmarked. The base is determined by runninggit merge-base upstream/main $ref
.pystats
: If checked, collect the pystats from running the benchmarks.
To watch the progress of the benchmark, select it from the π benchmark action page. It may be canceled from there as well. To show only your benchmark workflows, select your GitHub ID from the "Actor" dropdown.
When the benchmarking is complete, the results are published to this repository and will appear in the complete table. Each set of benchmarks will have:
- The raw
.json
results from pyperformance. - Comparisons against important reference releases, as well as the merge base of the branch if
benchmark_base
was selected. These include- A markdown table produced by
pyperf compare_to
. - A set of "violin" plots showing the distribution of results for each benchmark.
- A markdown table produced by
The most convenient way to get results locally is to clone this repo and git pull
from it.
To automate benchmarking runs, it may be more convenient to use the GitHub CLI.
Once you have gh
installed and configured, you can run benchmarks by cloning this repository and then from inside it:
gh workflow run benchmark.yml -f fork=me -f ref=my_branch
Any of the parameters described above are available at the commandline using the -f key=value
syntax.
To collect Linux perf sampling profile data for a benchmarking run, run the _benchmark
action and check the perf
checkbox.
Follow this by a run of the _generate
action to regenerate the plots.
This repo is licensed under the BSD 3-Clause License, as found in the LICENSE file.