Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

Stub: allow custom imports

#5877
Comparing
Tpt:tpt/custom-imports
(
4fbc371
) with
main
(
1d26e82
)
CodSpeed Performance Gauge
0%
Untouched
105
Ignored
21
Skipped
1

Benchmarks

127 total
format_simple
pyo3-benches/benches/bench_pystring_from_fmt.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+8%
397.8 ns368.6 ns
critical_section_creation
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
703.1 ns673.9 ns
critical_section_creation2
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
859.7 ns830.6 ns
call_method_1
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
708.2 µs686.1 µs
call_method_0
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
606.8 µs588.2 µs
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.7 µs13.7 µs
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
14.7 µs14.6 µs
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.4 µs15.3 µs
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.5 µs15.5 µs
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.7 µs15.6 µs
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.9 µs15.8 µs
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
11.3 µs11.3 µs
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
11.7 µs11.7 µs
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
12.1 µs12.1 µs
test_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
14.8 µs14.8 µs
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15 µs14.9 µs
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.3 µs15.3 µs
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
16.1 µs16.1 µs
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
17.2 µs17.2 µs
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::bench_first_time_init
CodSpeed Performance Gauge
0%
41.2 µs41.2 µs
call_method_one_arg
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
607 µs607 µs
collect_generic_iterator
pyo3-benches/benches/bench_any.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
113.8 ms113.8 ms
tuple_nth
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
6 µs6 µs
byte_slice_into_pyobject_medium
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
1.5 µs1.5 µs
getattr_intern
pyo3-benches/benches/bench_intern.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3.3 µs3.3 µs

Commits

Click on a commit to change the comparison range
Base
main
1d26e82
+0.09%
Stub: allow custom imports
4fbc371
15 days ago
by Tpt
© 2026 CodSpeed Technology
Home Terms Privacy Docs