PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix type confusion when different `#[pyclass]` types returned from `#[new]`
#6062
Comparing
davidhewitt:pyclass-init-safety
(
c456dcf
) with
main
(
6aadaf2
)
CodSpeed Performance Gauge
0%
Untouched
125
Ignored
21
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
146 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
err_new_without_gil
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.2 µs
1.2 µs
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
+2%
1.6 µs
1.6 µ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.6 µs
1.6 µ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
+1%
7.4 µs
7.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
10.8 µs
10.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_small
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.7 µs
2.7 µs
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
+1%
2.8 µs
2.8 µ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
+1%
3.7 µs
3.7 µ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
+1%
3.9 µs
3.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
11.8 µs
11.7 µs
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
+1%
4.1 µs
4.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
16 µs
15.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
15.7 µs
15.6 µ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
0%
701.8 µs
699.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
16.8 µs
16.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
10.5 µs
10.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
10.9 µs
10.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
12.6 µs
12.6 µ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%
13.8 µs
13.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14 µs
14 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashbrown_set
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
19.4 ms
19.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
drop_many_objects_without_gil
pyo3-benches/benches/bench_py.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
48.1 µs
48.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.
bytes_new_large
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
176.4 µs
176.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
byte_slice_into_pyobject_large
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
176.5 µs
176.4 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
6aadaf2
-0.09%
fix type confusion when different `#[pyclass]` types returned from `#[new]`
c456dcf
4 hours ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs