Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

fix native types not implementing `is_type_of` correctly

#4981Merged
Comparing
davidhewitt:is-type-of
(
1535c42
) with
main
(
fdf62e0
)
CodSpeed Performance Gauge
+12%
Untouched
86
Ignored
19

Benchmarks

105 total
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+9%
2 µs1.8 µs
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+8%
19.3 µs17.9 µs
err_new_without_gil
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+7%
1.3 µs1.2 µs
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+5%
18.2 µs17.4 µs
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+3%
18.7 µs18.1 µs
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+3%
19.7 µs19.1 µs
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
3.2 µs3.1 µs
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+2%
19 µs18.6 µs
extract_bigint_extract_fail
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
12.1 µs11.9 µs
identify_object_type
pyo3-benches/benches/bench_any.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
14.9 µs14.7 µs
vec_into_pyobject
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.5 µs2.5 µs
extract_bigint_small
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.8 µs2.8 µs
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
20 µs19.8 µs
getattr_intern
pyo3-benches/benches/bench_intern.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3 µs3 µs
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
12.3 µs12.2 µs
ordered_dunder_methods
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.2 µs3.2 µs
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.4 µs3.4 µs
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.7 µs3.7 µs
test_none_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
12.1 µs12 µs
tuple_nth
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
4.4 µs4.3 µs
tuple_nth_back
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
4.4 µs4.4 µs
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.4 µs13.3 µs
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14 µs13.9 µs
test_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
14.6 µs14.5 µs
extract_int_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
12.2 µs12.2 µs

Commits

Click on a commit to change the comparison range
Base
main
fdf62e0
+11.99%
fix native types not implementing `is_type_of` correctly
1535c42
1 year ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs