Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

perf: replace correlated EXISTS with JOIN fast-path in count_flow_runs

#21707
Comparing
VittoriaLanzo:count-flow-runs-join-fastpath
(
8cdddb6
) with
main
(
efb35bf
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
550.2 µs549.2 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.5 s1.5 s
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+2%
113.4 ms111.7 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-40%
6.8 ms11.3 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.2 s1.2 s
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-48%
2.8 ms5.4 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
112.8 ms112.5 ms

Commits

Click on a commit to change the comparison range
Base
main
efb35bf
-0.08%
perf: replace correlated EXISTS with JOIN fast-path in count_flow_runs
bc9234b
2 days ago
by VittoriaLanzo
-0.15%
fix: ruff format, benchmark engine reset, FK delete order
58d38ab
1 day ago
by VittoriaLanzo
+0.3%
Merge branch 'main' into count-flow-runs-join-fastpath
8cdddb6
1 day ago
by VittoriaLanzo
© 2026 CodSpeed Technology
Home Terms Privacy Docs