Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

Simplify method receivers in macros

#5684Merged
Comparing
davidhewitt:simplify-async
(
cdab670
) with
main
(
7c8f8aa
)
CodSpeed Performance Gauge
0%
Untouched
98
Ignored
21

Benchmarks

119 total
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
2.5 µs2.4 µs
ordered_dunder_methods
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.5 µs2.5 µs
tuple_into_pyobject
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.9 µs2.9 µs
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.9 µs3.9 µs
list_nth
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
4 µs4 µs
list_nth_back
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
4.1 µs4 µs
vec_bytes_from_py_bytes_medium
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.1 µs2 µs
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
20 µs19.8 µs
extract_float_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
11.5 µs11.4 µs
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
18.8 µs18.6 µs
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.7 µs3.6 µs
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
18.2 µs18.1 µs
test_class_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
18.6 µs18.4 µs
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
19.4 µs19.3 µs
test_with_typed_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14.8 µs14.7 µs
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14.9 µs14.9 µs
decimal_via_extract
pyo3-benches/benches/bench_decimal.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
15 µs14.9 µs
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
15.5 µs15.5 µs
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
21.6 µs21.5 µs
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
21.3 µs21.2 µs
extract_int_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11.8 µs11.7 µs
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
19.2 µs19.2 µs
extract_bigint_huge_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
12.9 µs12.9 µs
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
20 µs19.9 µs
test_method_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
15.2 µs15.2 µs

Commits

Click on a commit to change the comparison range
Base
main
7c8f8aa
0%
use `PyClassGuard` type instead of custom coroutine guard
fcaa7c9
3 months ago
by davidhewitt
+0.05%
simplify logic, adjust test
40e3d8a
3 months ago
by davidhewitt
-0.05%
newsfragment
d7a22d0
3 months ago
by davidhewitt
+0.12%
fixup suggestion conflict
cdab670
3 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs