-
v0.52.0
Stablereleased this
2026-09-08 22:42:39 -07:00 | 101 commits to master since this releasePerformance take 5 — the review round
An independent review of 0.51.0 (
docs/performance_take5_review.md)
named four remaining costs with gates; all four are implemented and
measured (docs/perf/README.md, the 2026-09-08 review-round entry).
Behaviour is unchanged everywhere the suites and byte-identity gates can
see; two pre-existing gaps the round found are filed, not hidden.- A rename refuses cheaply. A cursor with no symbol used to read,
parse and index every file in the workspace before refusing (2 s on
opentitan); an engine-owned preflight now refuses from the request
buffer alone in 0.3 ms with the same sentence and precedence. Refusals
the workspace index would have to answer stay on the slow road, because
a wrong rename refusal is terminal. - One lint pass per buffer revision. The diagnostics publish and the
quick-fix discovery share one result, keyed by value on every input
(rule set, options, width, tab width, waiver contents) and cleared by
every index change; a cursor move on a 42 000-line file costs 1 ms
instead of 23, and the navigation queued behind it likewise. - The first answer after opening a file. A workspace start now
walks, indexes and publishes the open file's own folders before it
discovers the rest of the workspace, one scan, every file once: the
first go-to-definition answers in about 80 ms cold and 115 ms warm,
correct every session, and a warm start settles under one second. - Scans under load. A scan publishes at most once per 512 files
instead of once per burst of requests (a publish costs the size of the
index): at the same offered load the median request wait falls from
112 ms to 2 ms and the scan finishes about twice as fast. An empty
navigation answer computed while the index is still growing is no
longer an answer — it is asked again at the next publish or at the
scan's end — and a cancel for such a request is honoured where it
lands. - Rename reuses the index's own records. For the files a rename
selects but never analyses, the engine now takes the index cache's
record instead of parsing, and only when the file's bytes hash to what
that record was written for. The hierarchical-tail rename falls from
380 to 314 ms, the duplicate-module refusal from 2 s to 0.7 s; every
edit and every warning byte-identical. - The CLI is unchanged in this release.
Downloads
- A rename refuses cheaply. A cursor with no symbol used to read,