Feature docs for the responsiveness round, and a perf record
Three new feature READMEs — change-debounce, port-detail-spans, interactive-latency — each with the mandated sections, dev work logs, QA findings and their dispositions, and the lead's review. Plus `docs/perf/README.md`, the record of what was measured, on what, on which machine, and with which command, so a later round can say whether it made something faster or only different. `topo.md` is added to the tree: the dependency topology the round was planned against, with this round's new edges — the `detail_span` and `symbols_named` handshake between the server and `vlog_semantic`, and the facts-format edge to index persistence. The perf record keeps its losses as well as its wins. A keystroke followed by nothing now publishes at 164 ms rather than one reanalysis, because it waits out the quiet period; a perf document that only records improvements is not a perf document. Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
1 parent
12d0bbad51
commit
574ab833e3
9 files changed
+2436
-11
No files matched your search
@@ -75,6 +75,15 @@ slice that can panic.
|
||||
and no bump would let a changed buffer answer "unchanged". One notification =
|
||||
one reparse = one stamp = one `publish`. Pinned by
|
||||
`one_notification_is_one_generation_bump_however_many_ranges`.
|
||||
**Amended 2026-08-28 by `docs/features/change-debounce/README.md`**: a
|
||||
`didChange` now records the composed text as dirty and the analysis runs at
|
||||
the next flush, so the promise reads **one *flush* is one `set_document`,
|
||||
one generation bump and one publish per dirty buffer** — however many
|
||||
ranges *and however many notifications* it coalesced. What the promise
|
||||
protects is unchanged: the counter never moves twice for work done once and
|
||||
never fails to move for a buffer whose text changed. The test above still
|
||||
passes as written; its helper flushes after each notification, which is the
|
||||
quiet-period timer firing.
|
||||
- **Changes what the client is told at `initialize`.**
|
||||
`text_document_sync` moves from `Kind(FULL)` to `Options { open_close: true,
|
||||
change: INCREMENTAL, save: { include_text: false } }`. The `open_close` and
|
||||
|
||||
Reference in new issue
Block a user