Skip to content

CPython baseline for CodSpeed (do not merge) - #29

Draft
Ivo Horák (horakivo) wants to merge 1 commit into
developfrom
bench/cpython
Draft

Ivo Horák (horakivo) wants to merge 1 commit into
developfrom
bench/cpython

Conversation

@horakivo

@horakivo Ivo Horák (horakivo) commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Do not merge. This pull request exists only so that CodSpeed's report on it shows CPython against develop row by row.

Its only change of its own is DEFAULT_INTERPRETER: cpython in elide-codspeed.yml. The benchmarks therefore run on a pinned, optimized CPython 3.13, the version this GraalPy implements (python-build-standalone cpython-3.13.17-linux-x86_64-gnu, PGO and LTO, installed by uv), with the same row names and arguments as on GraalPy. CodSpeed compares each row with the same GraalPy row on develop. The run's summary page and the artifact codspeed-walltime-<attempt> have CPython's durations, its peak RSS, and the rows that were not run, with the reason.

It is stacked on #28, which adds the switch, until that is merged. To refresh the comparison, rebase this branch onto develop and push. The label perf:bench then measures it again (about one benchmark-host run).

🤖 Generated with Claude Code

@horakivo Ivo Horák (horakivo) added the perf:bench Runs walltime bench on our infra label Nov 29, 2026
@codspeed

codspeed Bot commented Nov 29, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 20.06%

1 warning

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚡ 38 improved benchmarks
❌ 39 regressed benchmarks
✅ 10 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ meso/spectralnorm3[3000] 359 ms 47,418.8 ms -99.24%
❌ meso/image-magix-sized2[30000] 218.5 ms 25,209 ms -99.13%
❌ meso/pathfinder_rodinia-sized2[50] 893.1 ms 71,759 ms -98.76%
❌ meso/lavaMD_rodinia-sized2[48] 457.7 ms 21,432.9 ms -97.86%
❌ meso/fannkuchredux3[11] 2 s 70.2 s -97.15%
❌ meso/backprop_rodinia-sized2[8388608] 994.8 ms 33,157.9 ms -97%
❌ meso/lud-sized2[1536] 2.9 s 95.8 s -96.94%
❌ meso/richards3[200] 286.1 ms 6,368.7 ms -95.51%
❌ meso/chaos-sized2[500] 824.8 ms 16,563.7 ms -95.02%
❌ meso/pads-integerpartitions[700] 1.4 s 27.3 s -95.02%
❌ meso/bm-float[1000] 487 ms 9,736.6 ms -95%
❌ meso/mm-sized2[350] 1.3 s 23.8 s -94.73%
❌ meso/srad_rodinia-sized2[1000] 2.2 s 41 s -94.66%
❌ micro-native/c-arith-binop[1000] 4.6 s 77.5 s -94.01%
❌ meso/raytrace-simple 160.9 ms 2,448.5 ms -93.43%
❌ meso/sieve-sized[500_000] 593.9 ms 7,856.5 ms -92.44%
❌ meso/pads-lyndon[10000000] 224.4 ms 2,937.1 ms -92.36%
❌ meso/mandelbrot3[4000] 1.8 s 20.4 s -91.38%
❌ meso/go-sized2[50] 544.5 ms 5,128.9 ms -89.38%
❌ meso/binarytrees3[18] 3.2 s 17.8 s -82.24%
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing bench/cpython (01bdb84) with develop (7cbd6af)

Open in CodSpeed

Sets DEFAULT_INTERPRETER to cpython, so that CodSpeed's report on this
pull request compares CPython with GraalPy on develop, row by row.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

perf:bench Runs walltime bench on our infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant