PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: introduce stack-allocated `PyBuffer`
#5894
Comparing
winstxnhdw:feat/stacked-pybuffer
(
7f2de53
) with
main
(
962a535
)
CodSpeed Performance Gauge
-11%
Regression
1
Untouched
104
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
Untouched
Ignored
Skipped
127 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_pyclass_create
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
-11%
3.9 µs
4.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%
306.7 ns
277.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
format_complex
pyo3-benches/benches/bench_pystring_from_fmt.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+5%
7.1 µs
6.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method_0
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
571.5 µs
549.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
critical_section_creation2
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
835.8 ns
806.7 ns
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
+3%
2.1 µs
2 µs
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
+2%
2.7 µs
2.7 µ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
+2%
12.3 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
vec_bytes_from_py_bytearray_medium
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.8 µs
2.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bytes_new_medium
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.5 µs
1.4 µ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
+2%
3.9 µs
3.9 µ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
+1%
2.8 µs
2.7 µ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
+1%
2.1 µs
2 µ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.6 µs
2.5 µ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.6 µs
3.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
vec_into_pyobject
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.7 µs
2.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
enum_from_pyobject
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
20.3 µs
20.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
+1%
8.6 µs
8.5 µ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.6 µs
13.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14.8 µs
14.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_nth_back
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
8.6 µs
8.5 µ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.5 µs
11.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
15.4 µs
15.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashbrown_map
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
24.2 ms
24.1 ms
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%
17.8 ms
17.7 ms
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
962a535
-10.73%
refactor: add diagnostic traits
7f2de53
7 hours ago
by winstxnhdw
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs