PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
replace `Once`-guarded `UnsafeCell` with `AtomicPtr`
#6026
Merged
Comparing
Person-93:remove_once_from_ffi
(
535b8f3
) with
main
(
901b032
)
CodSpeed Performance Gauge
+15%
Untouched
105
Ignored
21
Archived
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
Archived
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
+15%
4.6 µs
4 µs
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%
675 ns
645.8 ns
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
+3%
2.8 µs
2.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
+2%
4 µs
3.9 µ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
+2%
2.7 µs
2.6 µ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.7 µs
1.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_nth
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
5.6 µs
5.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_nth_back
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
5.6 µs
5.6 µ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
+2%
2 µs
1.9 µ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.
list_nth_back
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
8.3 µs
8.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
15.4 µ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.2 µs
8.2 µ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%
9.7 µs
9.6 µ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
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 µ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_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
18 µs
18 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
not_a_list_via_extract_enum
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
19.1 µs
19.1 µs
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 µs
48 µ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%
41.8 µs
41.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.5 µ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.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method_one_arg
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
389.6 µs
389.6 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
901b032
+15.36%
replace `Once`-guarded `UnsafeCell` with `AtomicPtr`
535b8f3
1 day ago
by Person-93
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs