Release 0.52.0 — performance take 5, the review round
This commit is contained in:
1 parent
01843eb75a
commit
b12e0cc2c4
6 files changed
+70
-11
No files matched your search
@@ -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
|
[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.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
|
## 0.51.0 — 2026-09-08
|
||||||
|
|
||||||
### Performance take 5 — the implementation round
|
### Performance take 5 — the implementation round
|
||||||
|
|||||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv"
|
name = "lucisv"
|
||||||
version = "0.51.0"
|
version = "0.52.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lucisv_core",
|
"lucisv_core",
|
||||||
"rayon",
|
"rayon",
|
||||||
@@ -108,11 +108,11 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv_core"
|
name = "lucisv_core"
|
||||||
version = "0.51.0"
|
version = "0.52.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lucisv_server"
|
name = "lucisv_server"
|
||||||
version = "0.51.0"
|
version = "0.52.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.51.0"
|
version = "0.52.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_linter"
|
name = "vlog_linter"
|
||||||
version = "0.51.0"
|
version = "0.52.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.51.0"
|
version = "0.52.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vlog_refactor"
|
name = "vlog_refactor"
|
||||||
version = "0.51.0"
|
version = "0.52.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.51.0"
|
version = "0.52.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vlog_parser",
|
"vlog_parser",
|
||||||
]
|
]
|
||||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.51.0"
|
version = "0.52.0"
|
||||||
authors = ["Guoliang Chen"]
|
authors = ["Guoliang Chen"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -5,6 +5,17 @@ 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.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
|
## 0.51.0 — 2026-09-08
|
||||||
|
|
||||||
- **Faster everywhere the cursor goes.** The lightbulb no longer re-parses
|
- **Faster everywhere the cursor goes.** The lightbulb no longer re-parses
|
||||||
|
|||||||
@@ -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.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:
|
`lucisv-server` and the `lucisv` command-line tool:
|
||||||
|
|
||||||
| Package target | Machines |
|
| 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
|
## Release 0.51.0 highlights
|
||||||
|
|
||||||
Version 0.51.0 is performance take 5: code actions, rename, the CLI
|
Version 0.51.0 is performance take 5: code actions, rename, the CLI
|
||||||
|
|||||||
@@ -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.51.0",
|
"version": "0.52.0",
|
||||||
"publisher": "guoliangchen",
|
"publisher": "guoliangchen",
|
||||||
"author": "Guoliang Chen",
|
"author": "Guoliang Chen",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in new issue
Block a user