PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add a bench for method call overhead
#6102
Merged
Comparing
MatthieuDartiailh:methods-call-overhead
(
2e09add
) with
main
(
de1f80c
)
CodSpeed Performance Gauge
0%
Untouched
125
New
1
Ignored
21
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
New
Untouched
Ignored
147 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_fast
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
N/A
N/A
6.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_i128_small_pos
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.3 µs
1.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_i128_zero
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.4 µs
1.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_i128_small_neg
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.4 µs
1.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_u128_small
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.4 µs
1.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_u128_zero
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.4 µs
1.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_i128_pos_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.5 µs
1.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_u128_u32_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.6 µs
1.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_u128_u64_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.6 µs
1.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_u128_u64_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.6 µs
1.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_u128_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.6 µs
1.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_u128_u32_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.6 µs
1.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_u128_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.7 µs
1.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_i128_pos_max
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.7 µs
1.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_i128_neg_min
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.7 µs
1.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_i128_neg_min
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.8 µs
1.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_u128_zero
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.8 µs
1.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_u128_small
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.9 µs
1.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_i128_zero
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.9 µs
1.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
into_i128_small_pos
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2 µs
1.9 µ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.8 µs
2.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.7 µs
3.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
+1%
3.8 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
11.7 µs
11.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.9 µs
3.9 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
de1f80c
+0.07%
add bench for method call overhead
2e09add
14 hours ago
by MatthieuDartiailh
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs