-
v0.51.0
Stablereleased this
2026-09-08 02:37:51 -07:00 | 111 commits to master since this releasePerformance take 5 — the implementation round
The owner's take-5 plan (
docs/performance_take5.md) implemented end to
end, each stage measured against the 0.50.0 reference on opentitan
(docs/perf/README.md, 2026-09-08). Behaviour is unchanged everywhere the
suites and the byte-identity gates can see; what changed is how much work
the same answers cost.- Code actions stop repeating work. A code-action request runs the
lint pass and reads the project configuration only when the client asks
for quick fixes or fix-all (only: []answers at once); the formatter's
fence answer is computed only when a finding carries a fix and once per
document revision; the four refactoring selectors read the document's
own parse instead of re-parsing the buffer; the ports and
organize-imports lightbulbs are answered from the plan-time checks with
the same titles and counts, the click still recomputing and verifying.
On opentitan's 42 192-line generated file a no-offer cursor move fell
from 310 ms to 24 ms, and the navigation queued behind it with it; an
offering cursor from 22 ms to 5.5 ms. - Rename reuses its analysis; the verifier is untouched. A rename
parses and analyses each selected file once and builds its after-index
from the edited files' fresh records; every check the verifier makes is
the same code, re-attacked. The hierarchical-tail rename fell from 780
to 388 ms (2.01×), an ordinary rename 141 → 92 ms, the extract command
246 → 149 ms. A--verbosesession now logs a per-stage rename trace.
Topology handshake 33 is closed: inline-module's hierarchical-use
refusal now sees every file whose tokens write the dissolved instance's
name, including abindin a file that instantiates nothing in the
chain. - The CLI's package census parses once. With
unused-importon,
check --select error,warning,styleno longer builds a one-file index
for every file: the census reads package exports off its one parse and
skips the nine files in ten that declare no package. The rule's cost on
hw/ipfell from 142 ms to 5 ms; every output is byte-identical. - Startup. The server asks for the client's settings before its first
scan (2 s bound for a client that never answers) and runs one scan at
the answered scope — the empty default-scope scan is gone; the index
store is not rewritten when nothing changed and is opened at the first
step that needs it; the corpus is read a file at a time in its own step
rather than all up front; the open buffers' folders are indexed first
and the first navigation after opening a file is answered once that
folder is published — correct in every session, at ~250–275 ms, where
it used to be 84–208 ms or over a second depending on a race. Warm
start 1.33 → ~1.05 s, warm idle RSS −15 to −20 %, the store
byte-identical across sessions.--verboselogs a per-stage scan trace. - The harness (
tools/perf/) records units, status, result counts and
edit fingerprints on every row, measures the extract/inline commands for
real, and is what every number above was taken with.
Downloads
- Code actions stop repeating work. A code-action request runs the