PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
use `Borrowed` in `extract_argument` functions
#5695
Merged
Comparing
davidhewitt:extract-argument-borrowed
(
c351cff
) with
main
(
c369c0d
)
CodSpeed Performance Gauge
+10%
Improvement
1
Untouched
97
Ignored
21
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
119 total
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
+10%
2.6 µs
2.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+6%
2.5 µs
2.4 µ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
+4%
11.7 µs
11.2 µ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
+4%
4 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_small
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
2.7 µs
2.6 µ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
+3%
3.7 µs
3.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
vec_bytes_from_py_bytes_medium
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.1 µs
2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_huge_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
13 µs
12.8 µ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%
4 µs
4 µ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
+1%
14.9 µs
14.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_huge_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
11.7 µs
11.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.6 µs
15.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
19.9 µs
19.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_btreeset
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
15.4 ms
15.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashbrown_set
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
16.1 ms
16.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashset
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
20.7 ms
20.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_btreemap
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
37.5 ms
37.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_1
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
263.1 µs
263.1 µs
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%
205 µs
205 µs
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
0%
661.5 µs
661.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
vec_bytes_from_py_bytearray_large
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
177.7 µs
177.6 µ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%
15.1 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
vec_bytes_from_py_bytes_large
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
177.6 µs
177.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
19.1 µs
19.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_new
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
7.3 ms
7.3 ms
1
2
3
4
5
Commits
Click on a commit to change the comparison range
Base
main
c369c0d
+0.23%
use `Borrowed` in `extract_argument` functions
db764d6
4 months ago
by davidhewitt
-0.34%
fixup
ff78bfc
3 months ago
by davidhewitt
+10.31%
correct doc further
c351cff
3 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs