PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
pymethods: add support for `__del__`
#2484
Comparing
messense:__del__
(
ef04513
) with
main
(
86c48d3
)
CodSpeed Performance Gauge
-16%
Regression
2
Untouched
103
Ignored
21
Skipped
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
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
-16%
3.7 µs
4.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
-12%
615.6 ns
703.1 ns
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
+19%
368.6 ns
310.3 ns
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
+7%
859.7 ns
801.4 ns
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
+4%
633.2 µs
609.9 µs
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
+4%
2.6 µs
2.5 µ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
+2%
2.7 µs
2.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.5 µs
1.5 µs
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
+1%
696 µs
688 µ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
+1%
8.5 µs
8.4 µ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.6 µs
8.5 µ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
+1%
5.9 µs
5.9 µ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
+1%
6 µs
5.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14.7 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
13.9 µs
13.8 µ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%
11 µ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.1 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.7 µs
13.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
set_new
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
18.1 ms
18 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
14.7 µs
14.6 µ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%
14.7 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.5 µs
15.4 µ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%
24 ms
24 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.8 ms
26.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_0
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
159.8 µs
159.7 µs
1
2
...
6
Commits
Click on a commit to change the comparison range
Base
main
86c48d3
-16.13%
Fix cargo fmt
107effb
23 hours ago
by messense
0%
Fix test_del_via_cyclic_gc on free-threaded Python
d0efbfd
23 hours ago
by messense
0%
Fix __del__ test failures on Python 3.7 and wasm32
ef04513
13 hours ago
by messense
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs