PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Introspection: adds backward compatibility tests
#6019
Comparing
Tpt:tpt/back-compat
(
f831993
) with
main
(
f57bda7
)
CodSpeed Performance Gauge
+13%
Improvement
1
Untouched
104
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
Improvement
Untouched
Ignored
Skipped
127 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_pyclass_create
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
+13%
4.6 µs
4.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method_0
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
706.2 µs
700.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
18 µs
17.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14.1 µs
14.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::bench_first_time_init
CodSpeed Performance Gauge
0%
42.1 µs
41.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
16.2 µs
16.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
19.8 µs
19.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.4 µs
13.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
17 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
20.1 µs
20.1 µ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
0%
23.9 ms
23.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashmap
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
26.3 ms
26.3 ms
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%
9.7 µs
9.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
collect_generic_iterator
pyo3-benches/benches/bench_any.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
107.9 ms
107.9 ms
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%
17.2 µs
17.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashbrown_map
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
23.4 ms
23.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
clean_attach
pyo3-benches/benches/bench_attach.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
2.6 µs
2.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
dirty_attach
pyo3-benches/benches/bench_attach.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4.2 µs
4.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4 µs
4 µs
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
0%
2 µs
2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3.7 µs
3.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
iter_dict
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
17.2 ms
17.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_huge_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
13.1 µs
13.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
err_new_restore_and_fetch
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
7.7 µs
7.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_huge_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11.8 µs
11.8 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
f57bda7
+12.89%
Introspection: adds backward compatibility tests
f831993
2 days ago
by Tpt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs