PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
add `PyString::new_bound`
#3774
Merged
Comparing
davidhewitt:string-new-bound
(
c475656
) with
main
(
7549a21
)
CodSpeed Performance Gauge
+14%
Improvement
1
Untouched
62
Ignored
17
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
80 total
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
+14%
701.5 µs
617.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+6%
22.6 µs
21.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+5%
25 µs
23.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+5%
23.7 µs
22.5 µ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
+3%
19.3 µs
18.7 µ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
+2%
15.8 µs
15.5 µ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%
3.1 µs
3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
12.6 µs
12.5 µ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.2 µs
3.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
19.2 µs
19 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
22.4 µs
22.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
16.9 µs
16.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
23.1 µs
23 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
dict_new
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
25.2 ms
25.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
22.7 µs
22.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
drop_many_objects
pyo3-benches/benches/bench_pyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
9.5 µs
9.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
23.8 µs
23.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_float_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
12.2 µs
12.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
0%
13.5 µs
13.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_hashmap
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
22.1 ms
22.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_get_item_unchecked
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4 ms
4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_get_item_unchecked
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4.1 ms
4.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_get_borrowed_item
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4.4 ms
4.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_get_item
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
iter_dict
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
13.4 ms
13.4 ms
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
7549a21
+13.55%
add `PyString::new_bound`
c475656
2 years ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs