PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Make `intern!` & `py_format!` strings immortal
#5794
Comparing
bschoenmaeckers:intern-immortal
(
c244ede
) with
main
(
9072f6c
)
CodSpeed Performance Gauge
+19%
Untouched
99
Ignored
21
Skipped
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
Skipped
121 total
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
+19%
368.6 ns
309.7 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+5%
2 µs
1.9 µ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
+3%
631 µs
611.3 µ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
+3%
2.1 µs
2 µ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.4 µs
1.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
byte_slice_into_pyobject_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.
getattr_intern
pyo3-benches/benches/bench_intern.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.3 µs
3.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_nth
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
6 µs
5.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_nth_back
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
6 µs
6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
12.3 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
14.1 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.5 µs
13.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
10.9 µs
10.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_static_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.9 µs
13.8 µ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.5 µs
8.4 µ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.7 µs
8.6 µ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%
11.9 µs
11.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.5 µs
3.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
10.8 µs
10.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
11.2 µ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
+1%
3.9 µ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.5 µs
11.5 µ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%
8.6 µs
8.6 µ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
+1%
14.5 µs
14.4 µs
1
2
...
5
Commits
Click on a commit to change the comparison range
Base
main
9072f6c
+19.01%
Make `intern!` & `py_format!` immortal
c244ede
1 day ago
by bschoenmaeckers
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs