Qwen Code Optimizes Lazy-Loading, Cutting Cold Start by ~150ms
doudouOUC · ghdev · 2026-07-25
A performance-focused PR for QwenLM/qwen-code introduces lazy-loading for core dependencies, significantly improving application cold start times.
The PR moves packages like iconv-lite, @xterm/headless, and simple-git from eager static imports to on-demand first-use loading. Benchmark data shows this change reduces the ACP static closure size by roughly 1MB. On a 2-vCPU reference host, the P50 latency for the cold start to the first session dropped from 1877.7ms to 1733.3ms, with a noticeable decrease in peak memory usage as well.
More from coding & agent
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Tokyo Agent Forge hackathon shipped production-ready AI agents in one day — DavidBennett__ · 2026-07-27
- Long-running agents will need immutable event logs, this thread argues — sebpaquet · 2026-07-27
- Agentic Data Science in Practice: Agents Write Code but Answer Wrong Questions — hugobowne · 2026-07-27
- A VS Code extension adds Markdown-style highlighting to Alchemy string templates — samgoodwin89 · 2026-07-27
- Claude’s Stripe MCP connector is being called unusable after repeated disconnects — evielync · 2026-07-27