PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
ci: use `setup-python` install so codspeed builds flamegraphs correctly
#5997
Merged
Comparing
davidhewitt:codspeed-flamegraphs
(
b282a90
) with
main
(
4712a0a
)
CodSpeed Performance Gauge
-33%
Improvement
1
Regression
47
Untouched
57
Ignored
21
Skipped
1
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
Regression
Improvement
Untouched
Ignored
Skipped
127 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-19%
16.3 µs
20.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-19%
14.7 µs
18.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-19%
13.9 µs
17.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-19%
15.6 µs
19.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-19%
15.4 µs
18.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-18%
15.1 µs
18.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
clean_attach
pyo3-benches/benches/bench_attach.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-18%
2.1 µs
2.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-18%
14.4 µs
17.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
-18%
20.2 µs
24.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-18%
16.1 µs
19.5 µ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
-18%
783.1 µs
951.4 µ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
-17%
8.1 µs
9.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
-16%
17.3 µs
20.7 µ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
-14%
8.7 µs
10.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_int_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-14%
8.4 µs
9.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
getattr_intern
pyo3-benches/benches/bench_intern.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-13%
3.3 µs
3.8 µ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
-13%
6.7 µs
7.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
dirty_attach
pyo3-benches/benches/bench_attach.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-12%
3.7 µs
4.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
identify_object_type
pyo3-benches/benches/bench_any.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-12%
15.2 µs
17.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-12%
526.6 µs
598.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decimal_via_extract
pyo3-benches/benches/bench_decimal.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-11%
11.9 µs
13.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_str
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
-11%
3.7 µs
4.1 µ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
+49%
11 µs
7.4 µs
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
+11%
335.6 ns
302.8 ns
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
+7%
2.7 µs
2.5 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
4712a0a
-32.76%
ci: use `setup-python` install so codspeed builds flamegraphs correctly
b282a90
15 days ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs