doubleo7/deep_research
Austin Schaefer 4f32dd83d6 perf: lock stdout once for the whole report stream, not per chunk
print!/println! each acquire stdout's lock internally; doing that per
streamed chunk in a tight loop adds needless contention. Lock once up
front and write!/writeln! through the held handle instead — which also
means the trailing newline must go through that same handle rather than
println!, since re-locking from the same thread would deadlock.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 12:20:35 +02:00
..
src perf: lock stdout once for the whole report stream, not per chunk 2026-08-17 12:20:35 +02:00
Cargo.toml feat: stream the report to the terminal as the writer generates it 2026-08-17 12:17:26 +02:00