From b12e0cc2c42d716c36f4641e33a93f72bbab76d9 Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Wed, 9 Sep 2026 00:42:39 -0500 Subject: [PATCH] =?UTF-8?q?Release=200.52.0=20=E2=80=94=20performance=20ta?= =?UTF-8?q?ke=205,=20the=20review=20round?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 42 +++++++++++++++++++++++++++++++++++++ Cargo.lock | 16 +++++++------- Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 11 ++++++++++ editors/vscode/README.md | 8 ++++++- editors/vscode/package.json | 2 +- 6 files changed, 70 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f628b63..5e9fd2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,48 @@ All notable changes to lucisv are recorded here. Versions follow [semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes (see `README.md`) are the only frozen contract. +## 0.52.0 — 2026-09-09 + +### Performance 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. + ## 0.51.0 — 2026-09-08 ### Performance take 5 — the implementation round diff --git a/Cargo.lock b/Cargo.lock index 1850dfd..5713ab2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.51.0" +version = "0.52.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.51.0" +version = "0.52.0" [[package]] name = "lucisv_server" -version = "0.51.0" +version = "0.52.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.51.0" +version = "0.52.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.51.0" +version = "0.52.0" dependencies = [ "lucisv_core", "vlog_formatter", @@ -265,11 +265,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.51.0" +version = "0.52.0" [[package]] name = "vlog_refactor" -version = "0.51.0" +version = "0.52.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -278,7 +278,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.51.0" +version = "0.52.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index cef74bd..77a4dd9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.51.0" +version = "0.52.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 60ff858..cb8db17 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,17 @@ for you. The extension and its bundled language server share one version number; the full engineering notes live in the [project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md). +## 0.52.0 — 2026-09-09 + +- **Quicker where it counts:** a cursor move on a huge generated file + costs 1 ms instead of 23; go-to-definition right after opening a file + answers in about 100 ms, correctly, every time; a rename that is going + to be refused says so in a millisecond instead of scanning the + workspace; and the server stays responsive while it indexes, finishing + about twice as fast under a stream of requests. +- Cancelling a navigation request during the startup scan is honoured + immediately. + ## 0.51.0 — 2026-09-08 - **Faster everywhere the cursor goes.** The lightbulb no longer re-parses diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 534b929..1a0a3cb 100644 --- a/editors/vscode/README.md +++ b/editors/vscode/README.md @@ -30,7 +30,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view, then open a Verilog or SystemVerilog file. There is no separate server or CLI setup. -The current release is **0.51.0**. Its platform packages include both +The current release is **0.52.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -374,6 +374,12 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.52.0 highlights + +Version 0.52.0 is the take-5 review round: cheaper refusals, one lint +pass per revision, a fast first answer after opening a file, and scans +that stay responsive under load. + ## Release 0.51.0 highlights Version 0.51.0 is performance take 5: code actions, rename, the CLI diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 73b4bed..5916e07 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -2,7 +2,7 @@ "name": "lucisv", "displayName": "lucisv — Verilog/SystemVerilog", "description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.", - "version": "0.51.0", + "version": "0.52.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",