In this article
Compare cold and cached dashboards against frozen transcripts, then grow an active history; faster replay must retain identical usage totals and period boundaries.
The November 15 Qwen Code v0.27.4 release adds per-transcript caching for usage-dashboard replay. Unchanged transcripts can reuse summaries instead of repeatedly parsing irrelevant large tool results. The application question is whether totals remain correct as active transcripts grow, disappear or cross reporting periods, rather than whether a warm dashboard merely opens faster.
Freeze the accounting input before comparing speed
Copy a harmless synthetic transcript set and compute the old and new dashboard views against identical bytes. Compare totals, per-model shares and time buckets before measuring load latency. A faster warm read is not a success if a dropped usage record changes the result. Include large tool-output lines with no accounting information so the fixture exercises the work the optimization intends to skip without changing the expected sum.
Active growth must invalidate the right summary
Append a known usage event to one active transcript and refresh the dashboard. Assert the new amount appears once while unchanged transcripts retain their prior contribution. Then append non-usage content and inspect behavior. This checks the cache’s input identity and invalidation rather than merely its existence. A report that is fast because it never notices active work would be operationally misleading even if a frozen comparison passes.
Cold and warm loads are different workloads
Measure the first load after daemon restart separately from refreshes and period switches. The PR’s reported timings belong to its machine and history, so retain only workload guidance unless measuring your own fixture. Record transcript count, byte size and usage-event count. These dimensions explain why a history dominated by large tool results behaves differently from a compact set with the same number of model calls.
Read-only inspection remains a contract
Observe filesystem writes while opening and refreshing the dashboard in the synthetic environment. The implementation describes an in-process cache and a read-only usage view. Preserve that expectation alongside accounting equality. The release is a replay optimization, not a new billing ledger or a promise of external invoice equivalence. A reviewable result states its transcript source, cache state and matched totals without projecting local UI timing into agent execution speed.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.