Batching I/O in One Blocking Tokio Task Makes Codex ~80% Faster at Listing Threads

charliermarsh · x · 2026-10-07

Charlie Marsh applied the "batch I/O in one blocking Tokio task" rule to Codex and found huge speedups across common workflows—listing threads is now 80% faster. A concrete, reusable async I/O optimization pattern.

Related event: Astral's Charlie Marsh Speeds Up Codex ~80% by Teaching It Tokio Principles(3 posts)→

Original post →

More from coding & agent

coding & agent channel →