PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add compile-time RustPython backend with centralized backend dispatch
#5986
Comparing
smarcd:rustpython-backend-upstream-tip
(
e5623b4
) with
main
(
999560a
)
CodSpeed Performance Gauge
-45%
Improvement
1
Regression
2
Untouched
102
Ignored
21
Skipped
1
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
Ignored
Skipped
127 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_btreeset
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-45%
17.7 ms
32 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-16%
2 µs
2.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashset
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+24%
23.2 ms
18.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
critical_section_creation
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+5%
647.5 ns
618.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bytes_new_medium
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
1.5 µs
1.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
critical_section_creation2
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
835.8 ns
806.7 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ordered_dunder_methods
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
2.7 µs
2.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_btreemap
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
44 ms
42.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_into_pyobject
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.6 µs
2.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
byte_slice_into_pyobject_medium
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.5 µs
1.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
clean_attach
pyo3-benches/benches/bench_attach.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.1 µs
2.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.7 µs
2.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
format_simple
pyo3-benches/benches/bench_pystring_from_fmt.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
306.4 ns
304.4 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14 µs
14 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.3 µs
15.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_nth
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
8.5 µs
8.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_nth_back
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
8.6 µs
8.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
identify_object_type
pyo3-benches/benches/bench_any.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
15.2 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_extract_fail
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
8.7 µs
8.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
drop_many_objects
pyo3-benches/benches/bench_py.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11 µs
11 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
11.3 µs
11.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decimal_via_extract
pyo3-benches/benches/bench_decimal.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
12 µs
12 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14.5 µs
14.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_one_arg
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
161.8 µs
161.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bytes_new_large
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
176.2 µs
176.2 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
999560a
-44.68%
fix: adapt RustPython backend to upstream tip
6e39d1c
1 day ago
by smarcd
0%
style: apply rustfmt after backend refactor
7a7c211
24 hours ago
by smarcd
0%
style: finish CI rustfmt alignment
e5623b4
23 hours ago
by smarcd
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs