Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

perf(cli): defer fastapi/uvicorn imports in cloud module

#20440
Comparing
defer-cloud-imports
(
6492f2e
) with
main
(
fd33142
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
552.6 µs551.1 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
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
-34%
6.9 ms10.4 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-3%
4.8 ms5 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+7%
97 ms90.7 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
106.9 ms106.3 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
106.3 ms106.1 ms

Commits

Click on a commit to change the comparison range
Base
main
fd33142
+0.18%
perf(cli): defer fastapi/uvicorn imports in cloud module
23e81d3
10 hours ago
by zzstoatzz
-0.05%
chore: add bench.toml for CLI benchmarking
6492f2e
9 hours ago
by zzstoatzz
© 2026 CodSpeed Technology
Home Terms Privacy Docs