Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Allow infrastructure bound flows to be dispatched to existing workers

#18472
Comparing
using-existing-workers-for-infra-bound-flow
(
c209b0e
) with
main
(
3a6aef7
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
2
New
0
Dropped
0
Ignored
6

Benchmarks

Passed

bench_import_prefect_flow
benches/bench_import.py::bench_import_prefect_flow
CodSpeed Performance Gauge
0%
1.3 s
1.3 s
bench_task_decorator
benches/bench_tasks.py::bench_task_decorator
CodSpeed Performance Gauge
-1%
456.9 µs
461.7 µs

Ignored

bench_flow_call[options0]Ignored
benches/bench_flows.py::bench_flow_call[options0]
CodSpeed Performance Gauge
-2%
163 ms
166.5 ms
bench_flow_call[options1]Ignored
benches/bench_flows.py::bench_flow_call[options1]
CodSpeed Performance Gauge
0%
105.6 ms
106 ms
bench_flow_decoratorIgnored
benches/bench_flows.py::bench_flow_decorator
CodSpeed Performance Gauge
+1%
4.7 ms
4.7 ms
bench_import_prefectIgnored
benches/bench_import.py::bench_import_prefect
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
bench_task_callIgnored
benches/bench_tasks.py::bench_task_call
CodSpeed Performance Gauge
+2%
161.8 ms
158.1 ms
bench_task_submitIgnored
benches/bench_tasks.py::bench_task_submit
CodSpeed Performance Gauge
+61%
5.3 ms
3.3 ms

Commits

Click on a commit to change the comparison range
Base
main
3a6aef7
0%
Get it working and consolidate a little code
9046784
7 days ago
by desertaxle
0%
Add tests for `.dispatch`
2aca1a7
6 days ago
by desertaxle
0%
Add missing annotation import
571b966
6 days ago
by desertaxle
0%
Remove unnecessary `getattr`
c209b0e
1 day ago
by desertaxle
© 2025 CodSpeed Technology
Home Terms Privacy Docs