Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

more cleanup of private FFI definitions

#6042
Comparing
davidhewitt:private-cleanup-3
(
987e87a
) with
main
(
c92117c
)
CodSpeed Performance Gauge
+28%
Improvement
29
Untouched
96
Ignored
21

Benchmarks

146 total
test_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+56%
24.7 µs15.8 µs
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+39%
14.4 µs10.3 µs
test_none_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+38%
13.4 µs9.7 µs
test_method_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+36%
14.9 µs11 µs
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+35%
14 µs10.4 µs
test_positional_only_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+35%
13.9 µs10.3 µs
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+34%
14.4 µs10.7 µs
test_with_typed_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+33%
14 µs10.5 µs
test_empty_class_init_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+33%
14.4 µs10.8 µs
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+32%
14.8 µs11.2 µs
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+32%
15.3 µs11.6 µs
test_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+29%
17.9 µs13.9 µs
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+27%
16 µs12.6 µs
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+27%
17.1 µs13.5 µs
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+25%
17.4 µs13.9 µs
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+25%
18 µs14.5 µs
test_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+25%
17.3 µs13.9 µs
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+24%
18.6 µs15.1 µs
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+23%
18.8 µs15.2 µs
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+23%
18.1 µs14.7 µs
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+23%
19.7 µs16 µs
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+22%
20 µs16.4 µs
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+22%
19.3 µs15.8 µs
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+21%
20.2 µs16.7 µs
test_getter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+20%
18.3 µs15.2 µs

Commits

Click on a commit to change the comparison range
Base
main
c92117c
+27.85%
newsfragment
1143a24
4 days ago
by davidhewitt
+0.18%
fixup clippy
74a7bfb
4 days ago
by davidhewitt
-0.09%
fixup exclusions
987e87a
4 days ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs