Avatar for the RustPython user
RustPython
RustPython
BlogDocsChangelog

perf: VM and runtime hot paths from pyperformance

#8737Merged
Comparing
youknowone:perf-without-decimal
(
a8df5cd
) with
main
(
358f6a8
)
CodSpeed Performance Gauge
+24%
Improvement
22
Untouched
42
Skipped
2

Benchmarks

66 total
nbody.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+37%
1.6 s1.2 s
generators.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+37%
5.8 s4.2 s
richards.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+33%
2.8 s2.1 s
rustpython[comprehension_list.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+32%
1,259.6 µs951.4 µs
unpickle.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+32%
231.4 ms175.2 ms
gc_traversal.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+31%
820.1 ms627.8 ms
rustpython[cmp.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+29%
71.9 ms55.6 ms
float.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+28%
370.1 ms289 ms
pickle.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+27%
770.6 ms606.4 ms
decimal_factorial.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+27%
1,265.3 ms997 ms
json_dumps.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+26%
368.7 ms291.7 ms
nqueens.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+25%
5.4 s4.3 s
base64.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+25%
912.7 ms731.7 ms
mandelbrot.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+21%
793 ms657.1 ms
rustpython[strings.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+20%
44.4 ms36.9 ms
deltablue.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+20%
268.4 ms223.5 ms
rustpython[loop_string.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+19%
923.9 µs774.2 µs
deepcopy.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+18%
24.8 ms21 ms
rustpython[addition.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+15%
2.5 ms2.2 ms
rustpython[comprehension_set.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+13%
1.7 ms1.5 ms
rustpython[comprehension_dict.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+13%
2.1 ms1.9 ms
rustpython[loop_append.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+12%
2.6 ms2.3 ms
pidigits.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+7%
429.1 ms400.2 ms
rustpython[pystone.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+7%
1.2 ms1.1 ms
rustpython[richards.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+7%
1.8 ms1.7 ms

Commits

Click on a commit to change the comparison range
Base
main
358f6a8
+24.36%
Drop redundant pickle try_to_bool clones after rebase
a8df5cd
2 months ago
by youknowone
© 2026 CodSpeed Technology
Home Terms Privacy Docs