PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
add `PyOnceLock` type
#5223
Merged
Comparing
davidhewitt:once-cell-ext
(
2ae76b6
) with
main
(
e93393c
)
CodSpeed Performance Gauge
-10%
Regression
1
Untouched
91
Ignored
19
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Untouched
Ignored
111 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_getter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
-10%
16.3 µs
18.1 µ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
+5%
1.8 µs
1.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
vec_into_pyobject
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.6 µs
2.6 µ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.9 µs
2.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
17.8 µs
17.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_float_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
11.7 µs
11.7 µ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.9 µs
7.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
13.3 µs
13.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
39.8 µs
39.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
drop_many_objects
pyo3-benches/benches/bench_pyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11.4 µs
11.3 µ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%
16.1 ms
16.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14.3 µs
14.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
16.9 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
drop_many_objects_without_gil
pyo3-benches/benches/bench_pyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
41.8 µs
41.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_btreeset
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
15.9 ms
15.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_1
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
253.5 µs
253.4 µ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
0%
37.8 ms
37.8 ms
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%
232.2 µs
232.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method_1
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
657.6 µs
657.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_get_borrowed_item_unchecked
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3.4 ms
3.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_get_item_unchecked
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3.6 ms
3.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_get_borrowed_item
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3.9 ms
3.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_get_item
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4.1 ms
4.1 ms
1
2
...
5
Commits
Click on a commit to change the comparison range
Base
main
e93393c
0%
add `PyOnceLock` type
d54b631
6 months ago
by davidhewitt
-0.17%
Apply suggestions from code review
d6aecc1
6 months ago
by davidhewitt
-10.06%
Update src/impl_/exceptions.rs
2ae76b6
6 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs