PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
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
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
146 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+56%
24.7 µs
15.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+39%
14.4 µs
10.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+38%
13.4 µs
9.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_method_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+36%
14.9 µs
11 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+35%
14 µs
10.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+35%
13.9 µs
10.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+34%
14.4 µs
10.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_typed_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+33%
14 µ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
+33%
14.4 µs
10.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+32%
14.8 µs
11.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+32%
15.3 µs
11.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+29%
17.9 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+27%
16 µs
12.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+27%
17.1 µs
13.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+25%
17.4 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+25%
18 µs
14.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+25%
17.3 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+24%
18.6 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+23%
18.8 µs
15.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+23%
18.1 µs
14.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+23%
19.7 µs
16 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+22%
20 µs
16.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+22%
19.3 µs
15.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+21%
20.2 µs
16.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_getter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+20%
18.3 µs
15.2 µs
1
2
3
4
5
6
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