PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
feat: support `async fn` in macros with coroutine implementation
#3540
Merged
Comparing
wyfo:coroutine
(
627841f
) with
main
(
abe518d
)
CodSpeed Performance Gauge
+12%
Improvement
2
Untouched
58
Ignored
17
Archived
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Ignored
Archived
78 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
f64_from_pyobject
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+12%
270.8 ns
241.7 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_small
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+10%
3 µs
2.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+7%
3.7 µs
3.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+6%
4 µs
3.7 µs
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
-4%
5 ms
5.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
2 µs
1.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
-3%
16.8 µs
17.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
err_new_without_gil
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.4 µs
1.3 µ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
+2%
13.4 µs
13.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.1 µs
3.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_huge_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
12.1 µs
12 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
20.8 µs
20.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
-1%
3.1 µs
3.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
11.6 µs
11.7 µs
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
-1%
685.6 µs
692.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_into_py
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3 µs
3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
23.7 µs
23.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
22.5 µs
22.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
21.6 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
clean_acquire_gil
pyo3-benches/benches/bench_gil.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.6 µs
3.6 µ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
-1%
11.4 µs
11.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
22.3 µs
22.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
dirty_acquire_gil
pyo3-benches/benches/bench_gil.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
4.4 µs
4.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
21.1 µs
20.9 µ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
+1%
16.1 µs
16 µs
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
abe518d
+12.07%
feat: support `async fn` in macros with coroutine implementation
627841f
3 years ago
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs