Release 0.51.0 — performance take 5
This commit is contained in:
1 parent
b2a5f0a171
commit
bc59336d91
6 files changed
+79
-11
No files matched your search
@@ -4,6 +4,57 @@ All notable changes to lucisv are recorded here. Versions follow
|
|||||||
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
|
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
|
||||||
(see `README.md`) are the only frozen contract.
|
(see `README.md`) are the only frozen contract.
|
||||||
|
|
||||||
|
## 0.51.0 — 2026-09-08
|
||||||
|
|
||||||
|
### Performance 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 `--verbose` session 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 a `bind` in a file that instantiates nothing in the
|
||||||
|
chain.
|
||||||
|
- **The CLI's package census parses once.** With `unused-import` on,
|
||||||
|
`check --select error,warning,style` no 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/ip` fell 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. `--verbose` logs 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.
|
||||||
|
|
||||||
## 0.50.0 — 2026-09-07
|
## 0.50.0 — 2026-09-07
|
||||||
|
|
||||||
### The format cache key; performance take 4
|
### The format cache key; performance take 4
|
||||||
|
|||||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv"
|
name = "lucisv"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lucisv_core",
|
"lucisv_core",
|
||||||
"rayon",
|
"rayon",
|
||||||
@@ -108,11 +108,11 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv_core"
|
name = "lucisv_core"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv_server"
|
name = "lucisv_server"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lsp-server",
|
"lsp-server",
|
||||||
"lsp-types",
|
"lsp-types",
|
||||||
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_formatter"
|
name = "vlog_formatter"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_linter"
|
name = "vlog_linter"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lucisv_core",
|
"lucisv_core",
|
||||||
"vlog_formatter",
|
"vlog_formatter",
|
||||||
@@ -265,11 +265,11 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_parser"
|
name = "vlog_parser"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_refactor"
|
name = "vlog_refactor"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_formatter",
|
"vlog_formatter",
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
@@ -278,7 +278,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_semantic"
|
name = "vlog_semantic"
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
]
|
]
|
||||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.50.0"
|
version = "0.51.0"
|
||||||
authors = ["Guoliang Chen"]
|
authors = ["Guoliang Chen"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -5,6 +5,18 @@ for you. The extension and its bundled language server share one version
|
|||||||
number; the full engineering notes live in the
|
number; the full engineering notes live in the
|
||||||
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
|
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
|
||||||
|
|
||||||
|
## 0.51.0 — 2026-09-08
|
||||||
|
|
||||||
|
- **Faster everywhere the cursor goes.** The lightbulb no longer re-parses
|
||||||
|
the buffer on every cursor move (a no-offer line in a 42 000-line
|
||||||
|
generated file: 310 → 24 ms), rename is about twice as fast with the
|
||||||
|
same verified edits, and the server starts with one scan at your
|
||||||
|
configured scope instead of two — warm start ~1.05 s, ~20 % less
|
||||||
|
memory, and go-to-definition right after opening a file answers
|
||||||
|
correctly every time instead of racing the startup.
|
||||||
|
- `lucisv.verbose` now also logs a per-stage scan trace and a rename
|
||||||
|
trace.
|
||||||
|
|
||||||
## 0.50.0 — 2026-09-07
|
## 0.50.0 — 2026-09-07
|
||||||
|
|
||||||
- The CLI's format cache now keys on `uvm-utils-indent`, so toggling
|
- The CLI's format cache now keys on `uvm-utils-indent`, so toggling
|
||||||
|
|||||||
@@ -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
|
then open a Verilog or SystemVerilog file. There is no separate server or CLI
|
||||||
setup.
|
setup.
|
||||||
|
|
||||||
The current release is **0.50.0**. Its platform packages include both
|
The current release is **0.51.0**. Its platform packages include both
|
||||||
`lucisv-server` and the `lucisv` command-line tool:
|
`lucisv-server` and the `lucisv` command-line tool:
|
||||||
|
|
||||||
| Package target | Machines |
|
| Package target | Machines |
|
||||||
@@ -374,6 +374,11 @@ Every nesting color is a proper VS Code theme color:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Release 0.51.0 highlights
|
||||||
|
|
||||||
|
Version 0.51.0 is performance take 5: code actions, rename, the CLI
|
||||||
|
census and the startup all do less work for the same answers.
|
||||||
|
|
||||||
## Release 0.50.0 highlights
|
## Release 0.50.0 highlights
|
||||||
|
|
||||||
Version 0.50.0 fixes the CLI's format cache ignoring `uvm-utils-indent`
|
Version 0.50.0 fixes the CLI's format cache ignoring `uvm-utils-indent`
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "lucisv",
|
"name": "lucisv",
|
||||||
"displayName": "lucisv — Verilog/SystemVerilog",
|
"displayName": "lucisv — Verilog/SystemVerilog",
|
||||||
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
|
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
|
||||||
"version": "0.50.0",
|
"version": "0.51.0",
|
||||||
"publisher": "guoliangchen",
|
"publisher": "guoliangchen",
|
||||||
"author": "Guoliang Chen",
|
"author": "Guoliang Chen",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in new issue
Block a user