Qwen Code finds a 17.24 MiB eager import chain and keeps cutting cold-start latency

doudouOUC · ghdev · 2026-07-20

Qwen Code tracks the last cold-start optimization candidates after cutting 17.24 MiB of eager imports

An issue for QwenLM/qwen-code #7264 audits the ACP child process and finds an eager static import closure of 17.24 MiB across 2420 modules that gets parsed and evaluated before the child can answer initialize.

Measured impact of the lazy telemetry work

On a 2C4G benchmark host, 30 paired serial cold starts showed:

Remaining work

The issue lists follow-up candidates and marks some as already completed:

The write-up argues that the telemetry-on path still loads the same 2.16 MiB of code, just in a less blocking way, and that more cold-start wins are likely available from the remaining candidates.

Original post →

More from coding & agent

coding & agent channel →