Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

Introspection: Declare INPUT_TYPE and OUTPUT_TYPE nearly everywhere

#5637Merged
Comparing
Tpt:tpt/io-type
(
c840dd7
) with
main
(
d8e9a38
)
CodSpeed Performance Gauge
0%
Untouched
98
Ignored
21

Benchmarks

119 total
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
1.8 µs1.7 µs
tuple_nth
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.8 µs3.7 µs
getattr_intern
pyo3-benches/benches/bench_intern.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.1 µs3.1 µs
tuple_nth_back
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.9 µs3.8 µs
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
19 µs18.8 µs
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.5 µs2.4 µs
dirty_attach
pyo3-benches/benches/bench_attach.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
5.2 µs5.1 µs
test_empty_class_init_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
14.1 µs14 µs
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
14.6 µs14.4 µs
test_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
17.5 µs17.4 µs
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
20.7 µs20.5 µs
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
13.5 µs13.4 µs
test_positional_only_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
13.7 µs13.6 µs
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.8 µs13.6 µs
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
18.5 µs18.4 µs
list_nth
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.8 µs3.8 µs
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
19.3 µs19.1 µs
list_nth_back
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.9 µs3.9 µs
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
17 µs16.9 µs
test_method_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
14 µs13.9 µs
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
16.8 µs16.8 µs
extract_float_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
11.1 µs11 µs
call_method
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
1.3 ms1.3 ms
extract_bigint_extract_fail
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
12 µs11.9 µs
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
19.2 µs19.1 µs

Commits

Click on a commit to change the comparison range
Base
main
d8e9a38
+0.07%
Introspection: Declare INPUT_TYPE and OUTPUT_TYPE nearly everywhere
c840dd7
3 months ago
by Tpt
© 2026 CodSpeed Technology
Home Terms Privacy Docs