PrefectHQ
prefect
BlogDocsChangelog

Migrate Task.serve() from @sync_compatible to @async_dispatch

#20374
Comparing
migrate-task-serve-to-async-dispatch
(
fb8a15d
) with
main
(
a160014
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
552.6 µs550.2 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
107.5 ms105.9 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
0%
90.1 ms90.3 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+9%
5.5 ms5.1 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
107.4 ms106.1 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-1%
6.9 ms7 ms

Commits

Click on a commit to change the comparison range
Base
main
a160014
+0.15%
Migrate Task.serve() from @sync_compatible to @async_dispatch
fb8a15d
2 hours ago
by zzstoatzz
© 2026 CodSpeed Technology
Home Terms Privacy Docs