Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Add `with_context()` for logging from subprocesses

#21304
Comparing
feat/log-from-subprocesses
(
dca80d8
) with
main
(
4b67d3f
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
549.5 µs549.7 µs
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
112.5 ms112.9 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-56%
3.5 ms7.9 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
-16%
6.7 ms8 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
112.7 ms111.4 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms

Commits

Click on a commit to change the comparison range
Base
main
4b67d3f
+0.03%
Add `with_context()` for logging from user-spawned subprocesses
09e33d0
5 hours ago
by desertaxle
-0.02%
Move subprocess logging docs to Advanced, add summary to how-to guide
528bbfd
5 hours ago
by desertaxle
-0.14%
Add test_subprocess_logging.py to CI test matrix
df7846a
4 hours ago
by desertaxle
+0.19%
Fix test: create Queue from same spawn context as Process
7654213
3 hours ago
by desertaxle
-0.03%
Replace task runner with lightweight stand-in in with_context
283afb9
2 hours ago
by desertaxle
-0.06%
Revert "Replace task runner with lightweight stand-in in with_context"
dca80d8
2 hours ago
by desertaxle
© 2026 CodSpeed Technology
Home Terms Privacy Docs