PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Add `PyString::from_fmt` & `py_format!` using new `PyUnicodeWriter` api
#5199
Merged
Comparing
bschoenmaeckers:PyUnicodeWriter
(
7ecfa83
) with
main
(
c969dd0
)
CodSpeed Performance Gauge
0%
Untouched
97
New
2
Ignored
21
Archived
1
Benchmarks
Mode
CPU Simulation
Walltime
Memory
Status
New
Untouched
Ignored
Archived
121 total
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
N/A
N/A
7.5 µ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
N/A
N/A
154.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
err_new_without_gil
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-4%
1.3 µs
1.3 µ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
+3%
5.1 µs
5 µ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
+3%
4.2 µs
4.1 µ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.5 µs
2.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
+2%
4.1 µs
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.6 µs
1.6 µ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.6 µs
1.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
+2%
3.6 µs
3.5 µs
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
-2%
1.9 µs
1.9 µ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
-1%
2.2 µs
2.2 µ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.5 µs
2.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_static_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
-1%
17.6 µs
17.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
15.3 µs
15.5 µ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.7 µs
2.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_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.
getattr_intern
pyo3-benches/benches/bench_intern.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.1 µs
3 µ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
-1%
3.2 µs
3.2 µ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.
not_a_list_via_extract_enum
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
19.1 µs
18.9 µ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
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
1.3 ms
1.3 ms
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%
11.7 µs
11.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
19.7 µs
19.8 µs
1
2
3
4
5
Commits
Click on a commit to change the comparison range
Base
main
c969dd0
+0.13%
Add `PyString::from_fmt` using new `PyUnicodeWriter`
7ecfa83
1 year ago
by bschoenmaeckers
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs