Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4a0668b24 | ||
|
|
41945912a3 | ||
|
|
faf890d9f0 | ||
|
|
3ceba21bb2 |
No files matched your search
@@ -4,6 +4,27 @@ 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.53.0 — 2026-09-09
|
||||
|
||||
### The 0.52.0 review — one correctness fix
|
||||
|
||||
- **A symlink-aliased directory is indexed once at startup.** 0.52.0's
|
||||
startup scan walks the open file's folder before the rest of the
|
||||
workspace, and the two walks kept separate visited sets: a directory
|
||||
reachable by two spellings (`a_alias -> z_real`) was indexed twice, so
|
||||
go-to-definition offered two targets and a valid rename was refused as
|
||||
ambiguous until the next rescan (found by the independent review of
|
||||
0.52.0). The two walks now share one directory identity; when an alias
|
||||
sorts before the open folder the scan takes the single canonical walk;
|
||||
an alias only the remaining walk can see requests one ordinary rescan
|
||||
so the spellings converge; and a same-named symlink to an open buffer
|
||||
is never a second copy of it. Startup, rescan and restart agree on
|
||||
index paths, definitions, rename and diagnostics across nine alias
|
||||
shapes, and a genuine duplicate declaration is still refused.
|
||||
- The load probe in `tools/perf/` primes a warm store before timing and
|
||||
stamps scan completion from the scan's own end event.
|
||||
- No performance number moved; the CLI is unchanged.
|
||||
|
||||
## 0.52.0 — 2026-09-09
|
||||
|
||||
### Performance take 5 — the review round
|
||||
|
||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"rayon",
|
||||
@@ -108,11 +108,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_core"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_server"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
dependencies = [
|
||||
"lsp-server",
|
||||
"lsp-types",
|
||||
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_formatter"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vlog_linter"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"vlog_formatter",
|
||||
@@ -265,11 +265,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_parser"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_refactor"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
dependencies = [
|
||||
"vlog_formatter",
|
||||
"vlog_parser",
|
||||
@@ -278,7 +278,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_semantic"
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.52.0"
|
||||
version = "0.53.0"
|
||||
authors = ["Guoliang Chen"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
@@ -6596,4 +6596,53 @@ sentence; the selection set stays the correctness reference (P2d).
|
||||
|
||||
- [x] `docs/perf/README.md` entry; topo for every contract amended; the
|
||||
review's status line; release 0.52.0 with assets verified — entry,
|
||||
topo and status lines done 2026-09-09; release below
|
||||
topo and status lines done 2026-09-09; **0.52.0** released
|
||||
(b12e0cc, v0.52.0): 8 assets, the darwin-arm64 vsix at 0.52.0 with
|
||||
both binaries, `hierarchySections.js`, `extract.js`, no `*_test.js`.
|
||||
|
||||
## 62. The 0.52.0 review (Codex, 2026-09-09) — F1/F2/F3 and the next lanes
|
||||
|
||||
`docs/performance_052_review.md` (findings F1–F3, next actions 3–5) and
|
||||
`docs/052_implementation_plan.md` (the other agent's plan; its Phase 1
|
||||
was implemented in the tree before the lead saw it) are the spec; the
|
||||
tracker's "Follow-up findings" and N1–N3 rows are the ledger; evidence in
|
||||
`docs/perf/review-052-20260909/`. Same protocol as §60/§61.
|
||||
|
||||
### 62.1 F1 — directory aliases in the split startup scan (correctness)
|
||||
|
||||
The neighbourhood walk and the rest walk had separate visited sets, so a
|
||||
directory reachable by two spellings (`a_alias -> z_real`) was indexed
|
||||
twice at startup: two definition targets, a false "declared in more than
|
||||
one file" rename refusal, healed only by a rescan. Fix (the other agent +
|
||||
the lead's finishing lane): one `DirectoryTracker` shared across both
|
||||
walks; a pre-check that falls back to the single canonical walk when an
|
||||
alias sorts before the open folder or an ancestor; the `HEAD_WALK_MAX`
|
||||
fallback discards the head instead of unioning it; an alias found only
|
||||
by the rest walk requests an ordinary rescan so path spellings converge;
|
||||
the open-buffer alias check stats only same-named files.
|
||||
- [x] tracker shared, pre-check, fallback, conflict → rescan; `stats` 0
|
||||
on opentitan again; discovery and the 100-buffer cell unchanged
|
||||
- [x] fixtures: alias before / after / multiple / ancestor / sibling
|
||||
(outside the chain) / cycle / ignore rules / unsaved buffer /
|
||||
genuine duplicate declarations (still refused) — startup, rescan
|
||||
and restart agree on index paths, definitions and prepareRename
|
||||
- [x] QA: the matrix re-attacked, stat counts, numbers re-taken
|
||||
|
||||
### 62.2 F2 + F3 — the load probe (harness)
|
||||
|
||||
- [x] F2: a warm `scanload` cell primes an empty store untimed; per-trial
|
||||
cache hits/misses in the row; a warm trial with 0 hits is an error
|
||||
- [x] F3: scan completion stamped from the scan's own end event, not the
|
||||
request window; responses partitioned by it; arrival stamps kept
|
||||
- [x] QA: a brand-new store, a window longer than the scan
|
||||
|
||||
### 62.3 N1–N3 — deferred to loop 3 unless the owner asks
|
||||
|
||||
N1 the dirty-buffer parse (114 ms first-after-edit), N2 the retained-
|
||||
analysis parse work and the 31 ms facts decode, N3 the whole-index merge
|
||||
per publication. Filed with the review's baselines; not started.
|
||||
|
||||
### 62.4 Closing
|
||||
|
||||
- [ ] `docs/perf/README.md` note; topo (the walk tracker); release 0.53.0
|
||||
with assets verified
|
||||
+125
-25
@@ -2,7 +2,7 @@
|
||||
//! `.gitignore` subset documented in
|
||||
//! `docs/features/parallel-files/README.md`.
|
||||
|
||||
use std::collections::HashSet;
|
||||
use std::collections::HashMap;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
/// File extensions lucisv formats when walking a directory.
|
||||
@@ -77,18 +77,24 @@ pub fn collect_files_with(
|
||||
gitignore: bool,
|
||||
found: &mut dyn FnMut(PathBuf, Option<u64>),
|
||||
warn: &mut dyn FnMut(Warning),
|
||||
) -> Result<(), String> {
|
||||
let mut tracker = DirectoryTracker::new();
|
||||
collect_files_tracked(input, exclude, gitignore, &mut tracker, found, warn)
|
||||
}
|
||||
|
||||
/// [`collect_files_with`] using an existing [`DirectoryTracker`].
|
||||
pub fn collect_files_tracked(
|
||||
input: &str,
|
||||
exclude: &[String],
|
||||
gitignore: bool,
|
||||
tracker: &mut DirectoryTracker,
|
||||
found: &mut dyn FnMut(PathBuf, Option<u64>),
|
||||
warn: &mut dyn FnMut(Warning),
|
||||
) -> Result<(), String> {
|
||||
let path = Path::new(input);
|
||||
if path.is_dir() {
|
||||
let mut walk = Walk {
|
||||
exclude,
|
||||
gitignore,
|
||||
ignores: Vec::new(),
|
||||
rel: Vec::new(),
|
||||
visited: HashSet::new(),
|
||||
found,
|
||||
warn,
|
||||
};
|
||||
let mut walk =
|
||||
Walk { exclude, gitignore, ignores: Vec::new(), rel: Vec::new(), tracker, found, warn };
|
||||
walk.dir(path);
|
||||
} else if path.is_file() {
|
||||
found(path.to_path_buf(), None);
|
||||
@@ -125,20 +131,27 @@ pub fn collect_files_below(
|
||||
gitignore: bool,
|
||||
found: &mut dyn FnMut(PathBuf, Option<u64>),
|
||||
warn: &mut dyn FnMut(Warning),
|
||||
) -> Result<(), String> {
|
||||
let mut tracker = DirectoryTracker::new();
|
||||
collect_files_below_tracked(root, input, exclude, gitignore, &mut tracker, found, warn)
|
||||
}
|
||||
|
||||
/// [`collect_files_below`] using an existing [`DirectoryTracker`].
|
||||
pub fn collect_files_below_tracked(
|
||||
root: &Path,
|
||||
input: &Path,
|
||||
exclude: &[String],
|
||||
gitignore: bool,
|
||||
tracker: &mut DirectoryTracker,
|
||||
found: &mut dyn FnMut(PathBuf, Option<u64>),
|
||||
warn: &mut dyn FnMut(Warning),
|
||||
) -> Result<(), String> {
|
||||
let Ok(below) = input.strip_prefix(root) else { return Ok(()) };
|
||||
if !input.is_dir() {
|
||||
return Err(format!("{}: no such file or directory", input.display()));
|
||||
}
|
||||
let mut walk = Walk {
|
||||
exclude,
|
||||
gitignore,
|
||||
ignores: Vec::new(),
|
||||
rel: Vec::new(),
|
||||
visited: HashSet::new(),
|
||||
found,
|
||||
warn,
|
||||
};
|
||||
let mut walk =
|
||||
Walk { exclude, gitignore, ignores: Vec::new(), rel: Vec::new(), tracker, found, warn };
|
||||
// The root's own `.gitignore` sits at depth 0, exactly where a walk of the
|
||||
// root would have put it.
|
||||
walk.push_ignore(root);
|
||||
@@ -170,24 +183,78 @@ pub fn collect_files_below(
|
||||
/// elsewhere it is the canonical path, which resolves symlinks the same way
|
||||
/// at the cost of a real path lookup.
|
||||
#[cfg(unix)]
|
||||
type DirId = (u64, u64);
|
||||
pub type DirId = (u64, u64);
|
||||
#[cfg(not(unix))]
|
||||
type DirId = PathBuf;
|
||||
pub type DirId = PathBuf;
|
||||
|
||||
/// The identity of the directory at `path`, or `None` when it cannot be
|
||||
/// read — a dangling symlink, or a directory that vanished mid-walk.
|
||||
#[cfg(unix)]
|
||||
fn dir_id(path: &Path) -> Option<DirId> {
|
||||
pub fn dir_id(path: &Path) -> Option<DirId> {
|
||||
use std::os::unix::fs::MetadataExt;
|
||||
let meta = std::fs::metadata(path).ok()?;
|
||||
Some((meta.dev(), meta.ino()))
|
||||
}
|
||||
|
||||
#[cfg(not(unix))]
|
||||
fn dir_id(path: &Path) -> Option<DirId> {
|
||||
pub fn dir_id(path: &Path) -> Option<DirId> {
|
||||
std::fs::canonicalize(path).ok()
|
||||
}
|
||||
|
||||
/// What happened when attempting to enter a directory with [`DirectoryTracker`].
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum DirStatus {
|
||||
/// Entered for the first time.
|
||||
EnteredFirstTime,
|
||||
/// Already visited under the same or an earlier path.
|
||||
AlreadyVisited,
|
||||
/// Previously entered under `recorded`, but `dir < recorded` indicating
|
||||
/// out-of-order traversal relative to a canonical root walk.
|
||||
PrecedenceConflict { recorded: PathBuf },
|
||||
}
|
||||
|
||||
/// Tracks visited directories across one or more walks to ensure cycle termination
|
||||
/// and detect order divergence.
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub struct DirectoryTracker {
|
||||
visited: HashMap<DirId, PathBuf>,
|
||||
has_conflict: bool,
|
||||
}
|
||||
|
||||
impl DirectoryTracker {
|
||||
/// Creates an empty directory tracker.
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
}
|
||||
|
||||
/// Records `dir` as entered and returns its [`DirStatus`].
|
||||
pub fn enter(&mut self, dir: &Path) -> DirStatus {
|
||||
let Some(id) = dir_id(dir) else {
|
||||
return DirStatus::AlreadyVisited;
|
||||
};
|
||||
match self.visited.entry(id) {
|
||||
std::collections::hash_map::Entry::Vacant(v) => {
|
||||
v.insert(dir.to_path_buf());
|
||||
DirStatus::EnteredFirstTime
|
||||
}
|
||||
std::collections::hash_map::Entry::Occupied(o) => {
|
||||
let recorded = o.get();
|
||||
if dir < recorded.as_path() {
|
||||
self.has_conflict = true;
|
||||
DirStatus::PrecedenceConflict { recorded: recorded.clone() }
|
||||
} else {
|
||||
DirStatus::AlreadyVisited
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Whether any precedence conflict was observed across walks.
|
||||
pub fn has_conflict(&self) -> bool {
|
||||
self.has_conflict
|
||||
}
|
||||
}
|
||||
|
||||
/// True when `path` names one of the source files lucisv formats.
|
||||
fn is_source(path: &Path) -> bool {
|
||||
path.extension().and_then(|e| e.to_str()).is_some_and(|ext| EXTENSIONS.contains(&ext))
|
||||
@@ -203,7 +270,7 @@ struct Walk<'a> {
|
||||
gitignore: bool,
|
||||
ignores: Vec<Ignore>,
|
||||
rel: Vec<String>,
|
||||
visited: HashSet<DirId>,
|
||||
tracker: &'a mut DirectoryTracker,
|
||||
/// Where a source file goes when the walk finds one, with the length the
|
||||
/// walk's own `metadata` call already read.
|
||||
found: &'a mut dyn FnMut(PathBuf, Option<u64>),
|
||||
@@ -291,7 +358,7 @@ impl Walk<'_> {
|
||||
///
|
||||
/// A directory whose identity cannot be read is not entered.
|
||||
fn enter(&mut self, dir: &Path) -> bool {
|
||||
dir_id(dir).is_some_and(|id| self.visited.insert(id))
|
||||
matches!(self.tracker.enter(dir), DirStatus::EnteredFirstTime)
|
||||
}
|
||||
|
||||
/// Reads `dir`'s `.gitignore`, if there is one, onto the rule stack.
|
||||
@@ -963,4 +1030,37 @@ mod tests {
|
||||
assert!(ignored("x?.sv", "x?.sv"));
|
||||
assert!(!ignored("x?.sv", "xa.sv"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn tracker_detects_precedence_conflict_when_alias_sorts_before() {
|
||||
let tree = TempTree::new("trackconflict");
|
||||
tree.source("z_real/child.sv");
|
||||
tree.link("a_alias", "z_real");
|
||||
|
||||
let mut tracker = DirectoryTracker::new();
|
||||
assert_eq!(tracker.enter(&tree.path.join("z_real")), DirStatus::EnteredFirstTime);
|
||||
assert!(!tracker.has_conflict());
|
||||
|
||||
// Entering a_alias afterwards detects that a_alias sorts before z_real
|
||||
let status = tracker.enter(&tree.path.join("a_alias"));
|
||||
assert!(matches!(status, DirStatus::PrecedenceConflict { .. }));
|
||||
assert!(tracker.has_conflict());
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn tracker_allows_alias_sorting_after_without_conflict() {
|
||||
let tree = TempTree::new("trackorder");
|
||||
tree.source("a_real/child.sv");
|
||||
tree.link("z_alias", "a_real");
|
||||
|
||||
let mut tracker = DirectoryTracker::new();
|
||||
assert_eq!(tracker.enter(&tree.path.join("a_real")), DirStatus::EnteredFirstTime);
|
||||
assert!(!tracker.has_conflict());
|
||||
|
||||
// Entering z_alias afterwards: already visited, no precedence conflict
|
||||
assert_eq!(tracker.enter(&tree.path.join("z_alias")), DirStatus::AlreadyVisited);
|
||||
assert!(!tracker.has_conflict());
|
||||
}
|
||||
}
|
||||
@@ -198,6 +198,14 @@ pub struct ScanTrace {
|
||||
/// Taking every open buffer's text and its finished analysis, and letting
|
||||
/// it override the disk copy of its own path.
|
||||
pub buffers_ms: f64,
|
||||
/// Directories the remaining walk met under a spelling the root walk
|
||||
/// would have preferred — a directory alias outside the open folder's own
|
||||
/// chain ([`crate::state::Scan::wants_rescan`]). 0 in every ordinary
|
||||
/// session; 1 says this scan's paths are the head's spelling.
|
||||
pub conflict: usize,
|
||||
/// Whole rescans this scan asked for on its way out. One per `conflict`,
|
||||
/// and nothing else sets it.
|
||||
pub rescan_requested: usize,
|
||||
|
||||
/// Sorting into index order and putting the user's own neighbourhood at
|
||||
/// the front ([`crate::scan_order`]).
|
||||
@@ -444,7 +452,8 @@ impl ScanTrace {
|
||||
"scan {} counts ({}): read={} read_kib={} walk_dirs={} stats={} skipped={} \
|
||||
hits={} misses={} buffers={} \
|
||||
records={} repeats={} decoded_kib={} written_kib={} opens={} compactions={} \
|
||||
publishes={} published={} first_publish={:.2} overlays={}",
|
||||
publishes={} published={} first_publish={:.2} overlays={} \
|
||||
conflict={} rescan_requested={}",
|
||||
self.number,
|
||||
self.kind,
|
||||
self.read,
|
||||
@@ -465,6 +474,8 @@ impl ScanTrace {
|
||||
self.published,
|
||||
self.first_publish_ms,
|
||||
self.overlays,
|
||||
self.conflict,
|
||||
self.rescan_requested,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -300,6 +300,15 @@ impl Server {
|
||||
}
|
||||
let total = scan.total();
|
||||
let (skipped, cached) = (scan.skipped(), scan.cached());
|
||||
// A split discovery whose two halves reached one directory by two
|
||||
// spellings: nothing was indexed twice, and every answer this scan
|
||||
// gives is the right one, but the paths are the head's and a plain
|
||||
// walk of the same tree spells them the other way
|
||||
// ([`Scan::wants_rescan`]). One ordinary rescan *is* that plain walk,
|
||||
// so it converges them — asked for with the same flag a save or a
|
||||
// settings change sets, and therefore run when this scan ends, with
|
||||
// every request held for the whole of it.
|
||||
self.rescan_wanted |= scan.wants_rescan();
|
||||
let warnings = self.workspace.finish_scan(scan);
|
||||
self.end_indexing(bar, skipped, cached);
|
||||
self.timed(started, |took| {
|
||||
|
||||
@@ -99,6 +99,15 @@ impl Tree {
|
||||
}
|
||||
std::fs::write(&path, text).expect("write");
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
fn link(&self, rel: &str, target: &str) {
|
||||
let path = self.path.join(rel);
|
||||
if let Some(parent) = path.parent() {
|
||||
std::fs::create_dir_all(parent).expect("parent");
|
||||
}
|
||||
std::os::unix::fs::symlink(target, &path).expect("symlink");
|
||||
}
|
||||
}
|
||||
|
||||
impl Drop for Tree {
|
||||
|
||||
@@ -57,6 +57,16 @@ fn the_whole_workspace() -> Value {
|
||||
serde_json::json!({ "index": { "scope": "workspace", "logFiles": true } })
|
||||
}
|
||||
|
||||
/// [`the_whole_workspace`] with the folder scope's raise turned off, so the
|
||||
/// folder a split leads with is the open buffer's own directory — the
|
||||
/// settings `docs/performance_052_review.md` F1 reproduces with, and what
|
||||
/// every alias fixture below needs to reach the split at all.
|
||||
fn the_whole_workspace_flat() -> Value {
|
||||
serde_json::json!({
|
||||
"index": { "scope": "workspace", "scopeDepth": 0, "logFiles": true }
|
||||
})
|
||||
}
|
||||
|
||||
/// A `textDocument/didOpen` over the wire, as the client sends it.
|
||||
fn did_open(path: &Path, text: &str) -> Message {
|
||||
Message::Notification(Notification::new(
|
||||
@@ -1109,3 +1119,370 @@ fn a_rescan_does_not_lead_with_a_folder_because_nothing_may_be_answered_inside_i
|
||||
"and the exclusion took one file out"
|
||||
);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Directory aliases across a split discovery (F1)
|
||||
// ----------------------------------------------------------------------
|
||||
//
|
||||
// A symlinked directory gives every file under it a second path, and a walk
|
||||
// reports each file under the **first spelling that reaches it**
|
||||
// (`docs/features/walk-cycles/README.md`). The startup scan walks the user's
|
||||
// own folder before it walks the workspace, so the two halves must share that
|
||||
// rule or one module lands in the index twice and cannot be renamed — the
|
||||
// regression `docs/performance_052_review.md` F1 found and every fixture here
|
||||
// pins.
|
||||
//
|
||||
// Each one makes the same three asks of the same tree — after the startup
|
||||
// scan, after a whole rescan, and of a fresh session — and they must agree.
|
||||
|
||||
/// The testbench every fixture opens: it names `child`, which is what the
|
||||
/// definition and the rename below are asked about.
|
||||
#[cfg(unix)]
|
||||
const TB: &str = "module tb;\n child u();\nendmodule\n";
|
||||
|
||||
/// A `child` module and the testbench that instantiates it, in `dir`.
|
||||
#[cfg(unix)]
|
||||
fn alias_pair(tree: &Tree, dir: &str) {
|
||||
tree.write(&format!("{dir}/child.sv"), "module child;\nendmodule\n");
|
||||
tree.write(&format!("{dir}/tb.sv"), TB);
|
||||
}
|
||||
|
||||
/// Where `child` is named in [`TB`] — the cursor every claim below is made at.
|
||||
#[cfg(unix)]
|
||||
fn at_child(uri: &Uri) -> Value {
|
||||
serde_json::json!({
|
||||
"textDocument": { "uri": uri },
|
||||
"position": { "line": 1, "character": 3 },
|
||||
})
|
||||
}
|
||||
|
||||
/// What one session says about a fixture: which files the index holds, where
|
||||
/// the definition of `child` goes, whether that name may be renamed, and what
|
||||
/// the open buffer's diagnostics are.
|
||||
///
|
||||
/// The four together are the review's acceptance: a duplicate shows up as a
|
||||
/// second file, as a second target, and as a refusal to rename — and every
|
||||
/// answer the index feeds moves with it, which is what the diagnostics are
|
||||
/// here to catch.
|
||||
#[cfg(unix)]
|
||||
#[derive(Debug, PartialEq)]
|
||||
struct Says {
|
||||
files: Vec<String>,
|
||||
defs: Vec<Value>,
|
||||
renamable: bool,
|
||||
diagnostics: Vec<Value>,
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
fn says(session: &mut Session, uri: &Uri) -> Says {
|
||||
let answer = session.result(GotoDefinition::METHOD, at_child(uri));
|
||||
let defs: Vec<Value> = serde_json::from_value(answer).expect("definition targets");
|
||||
let prepared = session.request(PrepareRenameRequest::METHOD, at_child(uri));
|
||||
let files =
|
||||
session.server.workspace.index().files().iter().map(|p| p.display().to_string()).collect();
|
||||
// The `resultId` is a generation counter and moves with every rebuild, so
|
||||
// what is compared is what the user sees: each diagnostic's sentence and
|
||||
// where it points.
|
||||
let report = document_pull(session, uri, None);
|
||||
let items = report["items"].as_array().cloned().expect("a full diagnostic report");
|
||||
let diagnostics = items
|
||||
.into_iter()
|
||||
.map(|item| serde_json::json!({ "message": item["message"], "range": item["range"] }))
|
||||
.collect();
|
||||
Says { files, defs, renamable: prepared.response_result.is_ok(), diagnostics }
|
||||
}
|
||||
|
||||
/// Index `tree` with `opened` open, then ask a whole rescan and a fresh
|
||||
/// session the same four questions. Reports what all three said.
|
||||
///
|
||||
/// The rescan trigger is the review's own: a watched-file notification naming
|
||||
/// more than one in-scope file is the whole rebuild rather than the one-file
|
||||
/// incremental path (`server/notification.rs`). No source byte changes, so a
|
||||
/// disagreement is the scan disagreeing with itself.
|
||||
#[cfg(unix)]
|
||||
fn startup_rescan_and_restart_agree(tree: &Tree, opened: &Path, text: &str) -> Says {
|
||||
let uri = path_to_uri(opened).expect("uri");
|
||||
let fresh = || {
|
||||
let session = Session::staged(
|
||||
vec![tree.path.clone()],
|
||||
pulling(),
|
||||
true,
|
||||
CONFIGURATION_WAIT,
|
||||
vec![configuration_answer(the_whole_workspace_flat()), did_open(opened, text)],
|
||||
);
|
||||
session.drain();
|
||||
session
|
||||
};
|
||||
let mut session = fresh();
|
||||
let startup = says(&mut session, &uri);
|
||||
let changed: Vec<PathBuf> = startup.files.iter().map(PathBuf::from).collect();
|
||||
assert!(changed.len() > 1, "the whole-rebuild trigger names more than one file");
|
||||
session.watched(&changed);
|
||||
session.drain();
|
||||
let rescan = says(&mut session, &uri);
|
||||
let restart = says(&mut fresh(), &uri);
|
||||
assert_eq!(startup, rescan, "the startup scan and a whole rescan must agree");
|
||||
assert_eq!(startup, restart, "the startup scan and a fresh session must agree");
|
||||
startup
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn an_alias_sorting_before_its_target_is_indexed_once_under_the_root_walks_spelling() {
|
||||
// The review's own reproduction. A walk of the root reaches `a_alias`
|
||||
// first, so `a_alias/child.sv` is the canonical spelling and the head —
|
||||
// which would lead with `z_real` — must not be led with at all.
|
||||
let tree = Tree::new("aliasbefore");
|
||||
alias_pair(&tree, "z_real");
|
||||
tree.link("a_alias", "z_real");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &tree.path.join("z_real/tb.sv"), TB);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "a module declared once may be renamed");
|
||||
assert!(
|
||||
said.files.iter().any(|file| file.ends_with("a_alias/child.sv")),
|
||||
"the root walk's own spelling: {:#?}",
|
||||
said.files
|
||||
);
|
||||
assert!(said.diagnostics.is_empty(), "and nothing is wrong with it: {:#?}", said.diagnostics);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn an_alias_sorting_after_its_target_leaves_the_head_leading() {
|
||||
// Nothing precedes `a_real`, so this one keeps the split — and the
|
||||
// remaining walk must still recognise `z_alias` as the folder it has.
|
||||
let tree = Tree::new("aliasafter");
|
||||
alias_pair(&tree, "a_real");
|
||||
tree.link("z_alias", "a_real");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &tree.path.join("a_real/tb.sv"), TB);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "a module declared once may be renamed");
|
||||
assert!(
|
||||
said.files.iter().any(|file| file.ends_with("a_real/child.sv")),
|
||||
"the target's own spelling: {:#?}",
|
||||
said.files
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn several_aliases_of_one_directory_contribute_one_copy_between_them() {
|
||||
let tree = Tree::new("multialias");
|
||||
alias_pair(&tree, "real");
|
||||
tree.link("a1_alias", "real");
|
||||
tree.link("a2_alias", "real");
|
||||
tree.link("z_alias", "real");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &tree.path.join("real/tb.sv"), TB);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "three aliases are still one declaration");
|
||||
assert_eq!(said.files.len(), 2, "one child, one buffer: {:#?}", said.files);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn an_alias_of_an_ancestor_of_the_open_folder_falls_back_to_the_one_walk() {
|
||||
// The head would lead with `z_real/sub`, but the root walk reaches the
|
||||
// whole of `z_real` through `a_link` — so the folder's *ancestors* are
|
||||
// what the check has to look at, not the folder alone.
|
||||
let tree = Tree::new("aliasancestor");
|
||||
alias_pair(&tree, "z_real/sub");
|
||||
tree.link("a_link", "z_real");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &tree.path.join("z_real/sub/tb.sv"), TB);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "a module declared once may be renamed");
|
||||
assert!(
|
||||
said.files.iter().any(|file| file.ends_with("a_link/sub/child.sv")),
|
||||
"the root walk's own spelling: {:#?}",
|
||||
said.files
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn an_ancestor_cycle_inside_the_neighbourhood_ends_and_names_each_file_once() {
|
||||
// `sub/up -> ..` is a link out of the neighbourhood and back to the top,
|
||||
// so the head walk finds the root's own file under `sub/up/top.sv` while
|
||||
// a walk of the root spells it `top.sv`. One spelling reaches the index,
|
||||
// and the rescan the conflict asks for is what settles which.
|
||||
let tree = Tree::new("ancestorcycle");
|
||||
alias_pair(&tree, "sub");
|
||||
tree.write("top.sv", "module top;\nendmodule\n");
|
||||
tree.link("sub/up", "..");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &tree.path.join("sub/tb.sv"), TB);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "the cycle did not duplicate `child`");
|
||||
assert_eq!(said.files.len(), 3, "child, top and the buffer: {:#?}", said.files);
|
||||
assert!(
|
||||
said.files.iter().any(|file| file.ends_with("/top.sv") && !file.contains("/up/")),
|
||||
"the root's file under the root's own spelling: {:#?}",
|
||||
said.files
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn an_ignored_alias_is_excluded_by_both_halves_of_the_scan() {
|
||||
let tree = Tree::new("ignorealias");
|
||||
tree.write(".gitignore", "a_alias/\n");
|
||||
alias_pair(&tree, "z_real");
|
||||
tree.link("a_alias", "z_real");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &tree.path.join("z_real/tb.sv"), TB);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "a module declared once may be renamed");
|
||||
assert!(
|
||||
said.files.iter().all(|file| !file.contains("a_alias")),
|
||||
"the ignored alias is in nobody's scope: {:#?}",
|
||||
said.files
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn an_open_unsaved_buffer_is_not_indexed_again_under_an_alias() {
|
||||
// The buffer is `z_real/tb.sv` and the walk's own spelling of it is
|
||||
// `a_alias/tb.sv`: two paths, one file, and an index holding both would
|
||||
// hold `tb` twice while showing the user only one of them.
|
||||
let tree = Tree::new("unsavedalias");
|
||||
alias_pair(&tree, "z_real");
|
||||
tree.link("a_alias", "z_real");
|
||||
let unsaved = "module tb;\n child u();\n localparam UNSAVED = 1;\nendmodule\n";
|
||||
let opened = tree.path.join("z_real/tb.sv");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &opened, unsaved);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "`child` is declared once");
|
||||
assert_eq!(said.files.len(), 2, "one child, one buffer: {:#?}", said.files);
|
||||
|
||||
// And the buffer's own name, which is the one the alias would have
|
||||
// duplicated: renamable, and the unsaved text is what was indexed.
|
||||
let uri = path_to_uri(&opened).expect("uri");
|
||||
let mut session = Session::staged(
|
||||
vec![tree.path.clone()],
|
||||
pulling(),
|
||||
true,
|
||||
CONFIGURATION_WAIT,
|
||||
vec![configuration_answer(the_whole_workspace_flat()), did_open(&opened, unsaved)],
|
||||
);
|
||||
let _ = session.drain();
|
||||
let at_tb = serde_json::json!({
|
||||
"textDocument": { "uri": &uri },
|
||||
"position": { "line": 0, "character": 8 },
|
||||
});
|
||||
let prepared = session.request(PrepareRenameRequest::METHOD, at_tb);
|
||||
assert!(prepared.response_result.is_ok(), "one `tb`: {:?}", prepared.response_result);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn a_genuine_duplicate_declaration_is_still_ambiguous_at_startup_and_after_a_rescan() {
|
||||
// The other side of the fix, and the reason deduplicating by *name* was
|
||||
// never an option: two physical files really do declare `dup`, and a
|
||||
// rename that picked one of them would be a wrong edit.
|
||||
let tree = Tree::new("legitdup");
|
||||
tree.write("dir1/dup.sv", "module dup;\nendmodule\n");
|
||||
tree.write("dir2/dup.sv", "module dup;\nendmodule\n");
|
||||
let opened = tree.path.join("dir1/dup.sv");
|
||||
let text = std::fs::read_to_string(&opened).expect("read");
|
||||
let uri = path_to_uri(&opened).expect("uri");
|
||||
let at_dup = serde_json::json!({
|
||||
"textDocument": { "uri": &uri },
|
||||
"position": { "line": 0, "character": 8 },
|
||||
});
|
||||
|
||||
let mut session = Session::staged(
|
||||
vec![tree.path.clone()],
|
||||
pulling(),
|
||||
true,
|
||||
CONFIGURATION_WAIT,
|
||||
vec![configuration_answer(the_whole_workspace()), did_open(&opened, &text)],
|
||||
);
|
||||
session.drain();
|
||||
let refused = session.request(PrepareRenameRequest::METHOD, at_dup.clone());
|
||||
let error = refused.response_result.expect_err("two declarations are ambiguous");
|
||||
assert!(error.message.contains("declared in more than one indexed file"), "{}", error.message);
|
||||
|
||||
session.watched(&[opened.clone(), tree.path.join("dir2/dup.sv")]);
|
||||
session.drain();
|
||||
let again = session.request(PrepareRenameRequest::METHOD, at_dup);
|
||||
let rescanned = again.response_result.expect_err("a rescan refuses it the same way");
|
||||
assert_eq!(rescanned.message, error.message, "the same sentence, word for word");
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn an_alias_beside_the_open_folder_indexes_once_and_asks_for_one_rescan() {
|
||||
// The case no pre-check can see: `other/link` is nowhere on the open
|
||||
// folder's own chain, so the head leads with `z_real` and only the
|
||||
// remaining walk finds out that a walk of the root would have spelled
|
||||
// those files `other/link/…`. Nothing is indexed twice — and the scan
|
||||
// asks for the canonical walk once, which is where the spelling
|
||||
// converges.
|
||||
let tree = Tree::new("siblingalias");
|
||||
alias_pair(&tree, "z_real");
|
||||
tree.link("other/link", "../z_real");
|
||||
let opened = tree.path.join("z_real/tb.sv");
|
||||
let uri = path_to_uri(&opened).expect("uri");
|
||||
|
||||
let mut session = Session::staged(
|
||||
vec![tree.path.clone()],
|
||||
pulling(),
|
||||
true,
|
||||
CONFIGURATION_WAIT,
|
||||
vec![configuration_answer(the_whole_workspace_flat()), did_open(&opened, TB)],
|
||||
);
|
||||
let messages = session.drain();
|
||||
let traces = trace_lines(&messages);
|
||||
let counts: Vec<&String> = traces.iter().filter(|line| line.contains(" counts (")).collect();
|
||||
assert_eq!(counts.len(), 2, "the startup scan and the one rescan it asked for: {traces:#?}");
|
||||
assert_eq!(field(counts[0], "conflict"), "1", "{}", counts[0]);
|
||||
assert_eq!(field(counts[0], "rescan_requested"), "1", "{}", counts[0]);
|
||||
assert_eq!(field(counts[1], "conflict"), "0", "the rescan is one whole walk: {}", counts[1]);
|
||||
assert_eq!(
|
||||
field(counts[1], "rescan_requested"),
|
||||
"0",
|
||||
"and it cannot ask for another: {}",
|
||||
counts[1]
|
||||
);
|
||||
|
||||
// What the startup indexed, from the per-file log: the head's spelling,
|
||||
// one copy of `child`, and no `other/link` beside it.
|
||||
let indexed: Vec<String> =
|
||||
log_lines(&messages).into_iter().filter(|line| line.contains("child.sv")).collect();
|
||||
assert_eq!(indexed.len(), 2, "one `child` per scan, never two: {indexed:#?}");
|
||||
assert!(indexed[0].contains("z_real/child.sv"), "the startup's spelling: {}", indexed[0]);
|
||||
assert!(indexed[1].contains("other/link/child.sv"), "the rescan's: {}", indexed[1]);
|
||||
|
||||
// And what the rescan left: the spelling a plain walk of this tree gives,
|
||||
// which is what every later scan and every restart will produce.
|
||||
let said = says(&mut session, &uri);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "`child` is declared once");
|
||||
assert!(
|
||||
said.files.iter().any(|file| file.ends_with("other/link/child.sv")),
|
||||
"the canonical spelling won: {:#?}",
|
||||
said.files
|
||||
);
|
||||
let plain = startup_rescan_and_restart_agree(&tree, &opened, TB);
|
||||
assert_eq!(said, plain, "and it is stable under a rescan and a restart");
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn a_same_named_file_symlink_outside_the_head_is_not_a_second_copy_of_the_buffer() {
|
||||
// QA's (f) on §62.1: the head walk asked `Aliased` about a same-named
|
||||
// file, the remaining walk did not, so a file symlink to the open buffer
|
||||
// living outside its folder was indexed a second time and `tb` was
|
||||
// falsely declared twice. Now both walks ask.
|
||||
let tree = Tree::new("filealias");
|
||||
alias_pair(&tree, "z_real");
|
||||
tree.link("alias_dir/tb.sv", "../z_real/tb.sv");
|
||||
let said = startup_rescan_and_restart_agree(&tree, &tree.path.join("z_real/tb.sv"), TB);
|
||||
assert_eq!(
|
||||
said.files.iter().filter(|file| file.ends_with("tb.sv")).count(),
|
||||
1,
|
||||
"one `tb.sv`, the buffer's: {:#?}",
|
||||
said.files
|
||||
);
|
||||
assert_eq!(said.defs.len(), 1, "one definition target: {:#?}", said.defs);
|
||||
assert!(said.renamable, "`tb` is declared once, whatever the disk spells");
|
||||
assert!(said.diagnostics.is_empty(), "{:#?}", said.diagnostics);
|
||||
}
|
||||
@@ -21,13 +21,28 @@
|
||||
//! session with a buffer open walks that buffer's own folders first, so the
|
||||
//! scan can index and publish them before it discovers the other 3 850 files
|
||||
//! ([`Workspace::first_scope`]). One scan, one work list, every file once.
|
||||
//!
|
||||
//! **"Every file once" is a claim about directory identity, not about paths.**
|
||||
//! A symlinked directory gives every file under it a second path, and a walk
|
||||
//! answers that by entering each directory identity once and reporting its
|
||||
//! files under the first spelling that reached it
|
||||
//! (`docs/features/walk-cycles/README.md`). Two walks with two visited sets do
|
||||
//! not have that rule *between* them, which is how the split came to index a
|
||||
//! module twice (`docs/performance_052_review.md` F1). So the two halves share
|
||||
//! one [`DirectoryTracker`]; the head is not led with at all when a walk of the
|
||||
//! root would reach the user's own folder by an earlier name
|
||||
//! ([`Workspace::has_preceding_alias`]); and where only the remaining walk can
|
||||
//! find that out, it says so and the scan asks for one canonical walk
|
||||
//! ([`Scan::wants_rescan`](super::Scan::wants_rescan)).
|
||||
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::fs;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
use lucisv_core::config::Discovery;
|
||||
use lucisv_core::walk::{collect_files_below, collect_files_with, EXTENSIONS};
|
||||
use lucisv_core::walk::{
|
||||
collect_files_below_tracked, collect_files_tracked, dir_id, DirectoryTracker, EXTENSIONS,
|
||||
};
|
||||
|
||||
use crate::scan_trace::ScanTrace;
|
||||
|
||||
@@ -93,6 +108,53 @@ pub(super) fn oversize(found: &Found, cap: u64, stats: &mut usize) -> Option<u64
|
||||
(size > cap).then_some(size)
|
||||
}
|
||||
|
||||
/// The open buffers' files by **identity**, so a walked path that is a second
|
||||
/// spelling of one of them can be recognised and left out.
|
||||
///
|
||||
/// A symlinked directory gives every file under it a second path. The walk
|
||||
/// reports each file under the first spelling that reaches it, which may not be
|
||||
/// the one the buffer was opened by — and an index holding `a_alias/tb.sv` from
|
||||
/// disk beside the open `z_real/tb.sv` holds one module twice and refuses to
|
||||
/// rename it (`docs/features/walk-cycles/README.md`).
|
||||
///
|
||||
/// **The name is the gate, and it is what keeps this free.** A directory alias
|
||||
/// cannot change a file's *name*, so a walked file whose name no open buffer
|
||||
/// shares cannot be one of them and is never stat'd: an ordinary workspace pays
|
||||
/// nothing at all, and one with same-named files pays one `metadata` per
|
||||
/// same-named candidate. A **file**-level symlink under a different name is out
|
||||
/// of scope — two names for one inode that no directory relates, which every
|
||||
/// other part of this server already treats as two files.
|
||||
struct Aliased {
|
||||
/// The names those buffers' files go by — the cheap half of the test.
|
||||
names: HashSet<std::ffi::OsString>,
|
||||
/// Their `(dev, ino)` identities, read once per open buffer rather than
|
||||
/// once per walked file.
|
||||
ids: HashSet<lucisv_core::walk::DirId>,
|
||||
}
|
||||
|
||||
impl Aliased {
|
||||
/// The identities of `paths`, with the names to gate on.
|
||||
fn of(paths: &HashSet<&Path>) -> Aliased {
|
||||
let names = paths.iter().filter_map(|p| p.file_name()).map(|n| n.to_os_string()).collect();
|
||||
let ids = paths.iter().filter_map(|p| dir_id(p)).collect();
|
||||
Aliased { names, ids }
|
||||
}
|
||||
|
||||
/// Whether `path` names a file an open buffer already speaks for, by a
|
||||
/// different spelling. `stats` counts the `metadata` calls it made.
|
||||
fn speaks_for(&self, path: &Path, stats: &mut usize) -> bool {
|
||||
if self.ids.is_empty() {
|
||||
return false;
|
||||
}
|
||||
let Some(name) = path.file_name() else { return false };
|
||||
if !self.names.contains(name) {
|
||||
return false;
|
||||
}
|
||||
*stats += 1;
|
||||
dir_id(path).is_some_and(|id| self.ids.contains(&id))
|
||||
}
|
||||
}
|
||||
|
||||
impl Workspace {
|
||||
/// Resolve the scope: which files are in it, with open buffers overriding
|
||||
/// disk, and those buffers' own text.
|
||||
@@ -144,6 +206,9 @@ impl Workspace {
|
||||
// skipped exactly as it did before the buffer put its own text back.
|
||||
let spoken_for: HashSet<&Path> =
|
||||
self.docs.values().filter_map(|doc| doc.path.as_deref()).collect();
|
||||
// …and every *other* spelling of those same files, which a directory
|
||||
// alias makes and a path comparison cannot see ([`Aliased`]).
|
||||
let aliased = Aliased::of(&spoken_for);
|
||||
let capping = trace.now();
|
||||
let mut stats = 0usize;
|
||||
let mut files: Vec<PathBuf> = Vec::new();
|
||||
@@ -155,6 +220,9 @@ impl Workspace {
|
||||
if spoken_for.contains(found.path.as_path()) {
|
||||
continue;
|
||||
}
|
||||
if aliased.speaks_for(&found.path, &mut stats) {
|
||||
continue;
|
||||
}
|
||||
files.push(found.path);
|
||||
}
|
||||
ScanTrace::add(&mut trace.cap_ms, capping);
|
||||
@@ -301,6 +369,19 @@ impl Workspace {
|
||||
dirs: &[PathBuf],
|
||||
warn: &mut dyn FnMut(String),
|
||||
trace: &mut ScanTrace,
|
||||
) -> Vec<Found> {
|
||||
let mut tracker = DirectoryTracker::new();
|
||||
self.walked_files_tracked(dirs, &mut tracker, warn, trace)
|
||||
}
|
||||
|
||||
/// [`Workspace::walked_files`] over an existing [`DirectoryTracker`], so
|
||||
/// two walks of one scan enter each directory identity once between them.
|
||||
pub(super) fn walked_files_tracked(
|
||||
&self,
|
||||
dirs: &[PathBuf],
|
||||
tracker: &mut DirectoryTracker,
|
||||
warn: &mut dyn FnMut(String),
|
||||
trace: &mut ScanTrace,
|
||||
) -> Vec<Found> {
|
||||
let mut discovery = Discovery::new(true);
|
||||
let mut out: Vec<Found> = Vec::new();
|
||||
@@ -326,10 +407,11 @@ impl Workspace {
|
||||
// is skipped and said — the warning rides out on the scope's own
|
||||
// warnings, which `server/notification.rs` logs once per scan.
|
||||
let walking = trace.now();
|
||||
let _ = collect_files_with(
|
||||
let _ = collect_files_tracked(
|
||||
input,
|
||||
&exclude,
|
||||
true,
|
||||
tracker,
|
||||
&mut |path, len| out.push(Found { path, len }),
|
||||
&mut |w| warn(w.to_string()),
|
||||
);
|
||||
@@ -441,25 +523,59 @@ impl Workspace {
|
||||
if trace.number > 1 || !self.splits_discovery() {
|
||||
return (self.collect_sources(watch, HeldAnalyses::Wanted, trace), None);
|
||||
}
|
||||
// A directory alias that a root walk would reach *before* the folder
|
||||
// the head would lead with: leading with it would spell those files a
|
||||
// way no other scan of this workspace ever does
|
||||
// ([`Workspace::has_preceding_alias`]). The whole scope, walked once,
|
||||
// is the answer — a millisecond on a fixture and ~155 ms on
|
||||
// opentitan, and only for a session whose own folder is aliased.
|
||||
for dir in self.raised_dirs() {
|
||||
if let Some(root) = self.deepest_root(&dir) {
|
||||
if self.has_preceding_alias(&root, &dir) {
|
||||
return (self.collect_sources(watch, HeldAnalyses::Wanted, trace), None);
|
||||
}
|
||||
}
|
||||
}
|
||||
let mut warnings: Vec<String> = Vec::new();
|
||||
let head = self.neighbourhood_files(&mut |w| warnings.push(w), trace);
|
||||
let mut tracker = DirectoryTracker::new();
|
||||
let head = self.neighbourhood_files(&mut tracker, &mut |w| warnings.push(w), trace);
|
||||
if head.len() > HEAD_WALK_MAX {
|
||||
// Too big to lead with unproven. The head is **discarded** and the
|
||||
// whole scope walked once, ordered the way every scan before this
|
||||
// one was: keeping it and walking the rest beside it would union
|
||||
// two walks that never agreed on a directory's spelling, which is
|
||||
// the very thing the tracker exists to prevent.
|
||||
return (self.collect_sources(watch, HeldAnalyses::Wanted, trace), None);
|
||||
}
|
||||
// Every path the neighbourhood walk named, before the cap has had a
|
||||
// say: what the remaining walk must not decide about a second time.
|
||||
let mut seen: HashSet<PathBuf> = head.iter().map(|found| found.path.clone()).collect();
|
||||
seen.extend(self.docs.values().filter_map(|doc| doc.path.clone()));
|
||||
if head.len() > HEAD_WALK_MAX {
|
||||
// Too big to lead with unproven. Finish the walk now and hand back
|
||||
// the whole scope, ordered the way every scan before this one was.
|
||||
let (mut files, rest_warnings, _) = self.walked_rest(&seen, trace);
|
||||
warnings.extend(rest_warnings);
|
||||
files.extend(head);
|
||||
sort_found(&mut files);
|
||||
let scope = Scope { files, incdirs: Vec::new(), warnings };
|
||||
return (self.overlay_buffers(scope, watch, HeldAnalyses::Wanted, trace), None);
|
||||
}
|
||||
let scope = Scope { files: head, incdirs: Vec::new(), warnings };
|
||||
let sources = self.overlay_buffers(scope, watch, HeldAnalyses::Wanted, trace);
|
||||
(sources, Some(PendingDiscovery { roots: self.roots.clone(), seen }))
|
||||
(sources, Some(PendingDiscovery { roots: self.roots.clone(), seen, tracker }))
|
||||
}
|
||||
|
||||
/// Whether some directory between `root` and `dir` holds a **second
|
||||
/// spelling** of `dir` or of one of its ancestors that a walk of `root`
|
||||
/// would reach *first*.
|
||||
///
|
||||
/// The one case the split cannot lead with. A walk of the root reports
|
||||
/// each directory under the first path that reaches it, in name order, so
|
||||
/// with `a_alias -> z_real` the whole of `z_real` is spelled `a_alias/…`;
|
||||
/// a head walk starting at `z_real` would spell it `z_real/…` and the two
|
||||
/// halves of one scan would disagree with each other and with every later
|
||||
/// rescan. Asked before the head is walked, so the answer is a *fallback*
|
||||
/// to the single canonical walk and never a repair afterwards.
|
||||
///
|
||||
/// **It reads directories and stats symlinks only.** The chain from a
|
||||
/// buffer's folder to the root is a handful of directories (four on
|
||||
/// opentitan, ~150 entries between them); `read_dir` already carries each
|
||||
/// entry's kind, so an ordinary tree costs no `metadata` at all.
|
||||
fn has_preceding_alias(&self, root: &Path, dir: &Path) -> bool {
|
||||
let targets = identities_to(root, dir);
|
||||
!targets.is_empty()
|
||||
&& ancestors_to(root, dir).into_iter().any(|up| precedes_a_target(up, &targets))
|
||||
}
|
||||
|
||||
/// The user's own neighbourhood, walked: every source file under the
|
||||
@@ -474,6 +590,7 @@ impl Workspace {
|
||||
/// halves of one scan would disagree about which files exist.
|
||||
fn neighbourhood_files(
|
||||
&self,
|
||||
tracker: &mut DirectoryTracker,
|
||||
warn: &mut dyn FnMut(String),
|
||||
trace: &mut ScanTrace,
|
||||
) -> Vec<Found> {
|
||||
@@ -489,11 +606,12 @@ impl Workspace {
|
||||
exclude.extend(self.client.exclude.iter().cloned());
|
||||
ScanTrace::add(&mut trace.config_ms, configuring);
|
||||
let walking = trace.now();
|
||||
let _ = collect_files_below(
|
||||
let _ = collect_files_below_tracked(
|
||||
&root,
|
||||
&dir,
|
||||
&exclude,
|
||||
true,
|
||||
tracker,
|
||||
&mut |path, len| out.push(Found { path, len }),
|
||||
&mut |w| warn(w.to_string()),
|
||||
);
|
||||
@@ -517,36 +635,45 @@ impl Workspace {
|
||||
.cloned()
|
||||
}
|
||||
|
||||
/// The roots walked, less what `seen` already names — the walk half of
|
||||
/// [`Workspace::rest_of_scope`], with no cap and no reporting.
|
||||
fn walked_rest(
|
||||
&self,
|
||||
seen: &HashSet<PathBuf>,
|
||||
trace: &mut ScanTrace,
|
||||
) -> (Vec<Found>, Vec<String>, usize) {
|
||||
let mut warnings: Vec<String> = Vec::new();
|
||||
let walked = self.walked_files(&self.roots, &mut |w| warnings.push(w), trace);
|
||||
let kept: Vec<Found> =
|
||||
walked.into_iter().filter(|found| !seen.contains(&found.path)).collect();
|
||||
let count = kept.len();
|
||||
(kept, warnings, count)
|
||||
}
|
||||
|
||||
/// The rest of the workspace: everything the roots hold that `seen` does
|
||||
/// not already name, capped and reported exactly as the neighbourhood was.
|
||||
///
|
||||
/// Returns the files to index, what the walk wants said, and how many the
|
||||
/// cap kept out. Open buffers are **not** folded in again — they were
|
||||
/// folded into the head, and a buffer's path is in `seen`.
|
||||
/// folded into the head, and a buffer's path is in `pending.seen`.
|
||||
///
|
||||
/// **It walks with the head's own directory identities.** The tracker is
|
||||
/// the one the neighbourhood filled, so a directory the head already
|
||||
/// entered is not entered again under an alias and no file is discovered
|
||||
/// twice. Where this walk reaches such a directory under a spelling the
|
||||
/// root walk would have *preferred*, the tracker says so
|
||||
/// ([`DirectoryTracker::has_conflict`]) and the caller asks for one
|
||||
/// ordinary rescan, which is that root walk.
|
||||
pub(super) fn rest_of_scope(
|
||||
&self,
|
||||
roots: &[PathBuf],
|
||||
seen: &HashSet<PathBuf>,
|
||||
pending: &mut PendingDiscovery,
|
||||
watch: &mut dyn FnMut(IndexEvent),
|
||||
trace: &mut ScanTrace,
|
||||
) -> (Vec<PathBuf>, Vec<String>, usize) {
|
||||
let (roots, seen) = (&pending.roots, &pending.seen);
|
||||
let mut warnings: Vec<String> = Vec::new();
|
||||
let walked = self.walked_files(roots, &mut |w| warnings.push(w), trace);
|
||||
let walked = self.walked_files_tracked(
|
||||
roots,
|
||||
&mut pending.tracker,
|
||||
&mut |w| warnings.push(w),
|
||||
trace,
|
||||
);
|
||||
// The same gate the neighbourhood applied: a file an open buffer
|
||||
// already speaks for, reached here by **another** spelling (a
|
||||
// same-named file symlink outside the head), must not be indexed a
|
||||
// second time. The buffer's own spelling is not an alias — a buffer
|
||||
// opened mid-scan is discovered here for the first time and must land
|
||||
// in the work list — so the gate is asked only about other paths.
|
||||
// Found by QA on §62.1, twice: the head walk had the gate and this walk
|
||||
// did not; then the gate matched a mid-scan buffer against itself.
|
||||
let spoken_for: HashSet<&Path> =
|
||||
self.docs.values().filter_map(|doc| doc.path.as_deref()).collect();
|
||||
let aliased = Aliased::of(&spoken_for);
|
||||
let cap = self.client.max_file_size;
|
||||
let capping = trace.now();
|
||||
let mut stats = 0usize;
|
||||
@@ -556,7 +683,10 @@ impl Workspace {
|
||||
// Already decided about by the neighbourhood: indexed, capped out,
|
||||
// or spoken for by an open buffer. Deciding again would step a
|
||||
// file twice or report one skip as two.
|
||||
if seen.contains(&found.path) {
|
||||
let another_spelling = !spoken_for.contains(found.path.as_path());
|
||||
if seen.contains(&found.path)
|
||||
|| (another_spelling && aliased.speaks_for(&found.path, &mut stats))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if let Some(size) = oversize(&found, cap, &mut stats) {
|
||||
@@ -572,6 +702,56 @@ impl Workspace {
|
||||
}
|
||||
}
|
||||
|
||||
/// The identity of `dir` and of every directory between it and `root` — what
|
||||
/// a second spelling would have to name to matter ([`Workspace::has_preceding_alias`]).
|
||||
///
|
||||
/// `root` itself is not among them: a walk of the root enters it before it
|
||||
/// reads anything, so nothing it holds can precede it.
|
||||
fn identities_to(root: &Path, dir: &Path) -> Vec<(lucisv_core::walk::DirId, PathBuf)> {
|
||||
let mut out = Vec::new();
|
||||
let mut at = dir;
|
||||
while at != root {
|
||||
if let Some(id) = dir_id(at) {
|
||||
out.push((id, at.to_path_buf()));
|
||||
}
|
||||
let Some(parent) = at.parent() else { break };
|
||||
at = parent;
|
||||
}
|
||||
out
|
||||
}
|
||||
|
||||
/// The directories a walk of `root` reads on its way down to `dir`: its
|
||||
/// parent, that one's parent, and so on up to and including `root`.
|
||||
fn ancestors_to<'a>(root: &'a Path, dir: &'a Path) -> Vec<&'a Path> {
|
||||
let mut out = Vec::new();
|
||||
let mut at = dir.parent();
|
||||
while let Some(parent) = at {
|
||||
out.push(parent);
|
||||
if parent == root {
|
||||
break;
|
||||
}
|
||||
at = parent.parent();
|
||||
}
|
||||
out
|
||||
}
|
||||
|
||||
/// Whether `dir` holds a symlink to one of `targets` under a name that sorts
|
||||
/// before the target's own path — the entry a root walk would follow first.
|
||||
fn precedes_a_target(dir: &Path, targets: &[(lucisv_core::walk::DirId, PathBuf)]) -> bool {
|
||||
let Ok(entries) = fs::read_dir(dir) else { return false };
|
||||
entries.flatten().any(|entry| {
|
||||
// Only a symlink can be a second spelling of a directory, and the kind
|
||||
// is the one `read_dir` already read — so the stat below happens once
|
||||
// per link in the chain and never once per entry.
|
||||
if !entry.file_type().is_ok_and(|kind| kind.is_symlink()) {
|
||||
return false;
|
||||
}
|
||||
let path = entry.path();
|
||||
let Some(id) = dir_id(&path) else { return false };
|
||||
targets.iter().any(|(target, spelling)| id == *target && path < *spelling)
|
||||
})
|
||||
}
|
||||
|
||||
/// Path order, one entry per path — what the walk's callers have always done
|
||||
/// with the paths of several overlapping directory walks.
|
||||
///
|
||||
|
||||
@@ -898,7 +898,7 @@ impl Workspace {
|
||||
/// waits (`docs/features/indexing-ux/README.md`). So this discovers, says
|
||||
/// "there is more", and lets the next step be an ordinary one.
|
||||
fn discover_the_rest(&mut self, scan: &mut Scan, watch: &mut dyn FnMut(IndexEvent)) -> bool {
|
||||
let Some(pending) = scan.take_pending() else { return false };
|
||||
let Some(mut pending) = scan.take_pending() else { return false };
|
||||
let discovering = scan.trace.now();
|
||||
let mut skipped = 0usize;
|
||||
let (files, warnings, walked_skips) = {
|
||||
@@ -908,11 +908,11 @@ impl Workspace {
|
||||
}
|
||||
watch(event);
|
||||
};
|
||||
self.rest_of_scope(&pending.roots, &pending.seen, &mut counting, &mut scan.trace)
|
||||
self.rest_of_scope(&mut pending, &mut counting, &mut scan.trace)
|
||||
};
|
||||
debug_assert_eq!(skipped, walked_skips, "the cap reports every skip it counts");
|
||||
ScanTrace::add(&mut scan.trace.discovery_ms, discovering);
|
||||
scan.land_discovery(files, warnings, walked_skips);
|
||||
scan.land_discovery(files, warnings, walked_skips, pending.tracker.has_conflict());
|
||||
scan.trace.measure_work(
|
||||
scan.work.len(),
|
||||
held_bytes(&scan.buffered),
|
||||
|
||||
@@ -168,6 +168,17 @@ pub(super) struct PendingDiscovery {
|
||||
/// one it names here has already been decided about, and deciding twice
|
||||
/// would step a file twice or report one skip as two.
|
||||
pub(super) seen: HashSet<PathBuf>,
|
||||
/// Every directory identity the neighbourhood walk entered, and the path
|
||||
/// it entered each one by.
|
||||
///
|
||||
/// **The two walks share it, and that is what makes them one walk.** An
|
||||
/// ordinary walk visits each directory identity once and reports its files
|
||||
/// under the first spelling that reached it
|
||||
/// (`docs/features/walk-cycles/README.md`); two walks with two sets would
|
||||
/// report a symlinked directory's files twice, under two spellings a path
|
||||
/// set cannot tell apart, and the index would hold every module in it
|
||||
/// twice. Sharing the tracker restores that contract across the split.
|
||||
pub(super) tracker: lucisv_core::walk::DirectoryTracker,
|
||||
}
|
||||
|
||||
/// How many records may be staged before another mid-scan publish is worth the
|
||||
@@ -277,9 +288,40 @@ impl Scan {
|
||||
self.pending.take()
|
||||
}
|
||||
|
||||
/// Whether this scan's answers are right but **spelled** differently from
|
||||
/// what a plain walk of the same tree would spell them, so one ordinary
|
||||
/// rescan is owed.
|
||||
///
|
||||
/// The case: a directory alias outside the open folder's ancestor chain —
|
||||
/// `other/link -> z_real`, with `other` sorting first. The head leads with
|
||||
/// `z_real`; the remaining walk meets `other/link`, recognises the
|
||||
/// directory the head already entered and skips it, so nothing is
|
||||
/// discovered twice and every answer this scan gives is one target and one
|
||||
/// file. But a walk of the root on its own — the next rescan, or a session
|
||||
/// that opens nothing — spells those same files `other/link/…`, and a
|
||||
/// startup that disagreed with every later scan about a path is the defect
|
||||
/// this whole tracker exists to close (`docs/performance_052_review.md`
|
||||
/// F1). So the scan asks for the canonical walk once it has landed, and
|
||||
/// the spelling converges there.
|
||||
///
|
||||
/// **Exactly one rescan can ever come of it.** Only a session's first scan
|
||||
/// splits its discovery ([`Workspace::first_scope`]), so the scan this
|
||||
/// asks for resolves its whole scope in one walk, has no
|
||||
/// [`PendingDiscovery`], and cannot ask again.
|
||||
///
|
||||
/// The answer is the trace's own counter, which is written whether or not
|
||||
/// anybody asked for a trace — like `publishes`, it is a fact about the
|
||||
/// scan rather than a stopwatch reading, so it lives where the scan's
|
||||
/// facts live and the `--verbose` count line says it out loud.
|
||||
pub fn wants_rescan(&self) -> bool {
|
||||
self.trace.rescan_requested > 0
|
||||
}
|
||||
|
||||
/// Fold the rest of the scope into this scan: its files onto the end of
|
||||
/// the work list, its paths into the set the include graph learns from,
|
||||
/// its warnings and its skips onto the scan's own.
|
||||
/// its warnings and its skips onto the scan's own — and whether the walk
|
||||
/// that found them disagreed with the head about a directory's spelling
|
||||
/// ([`Scan::wants_rescan`]).
|
||||
///
|
||||
/// Appended rather than re-ordered: the neighbourhood at the front has
|
||||
/// already been stepped, and `vlog_semantic::IndexBuilder` sorts by path
|
||||
@@ -290,7 +332,10 @@ impl Scan {
|
||||
files: Vec<PathBuf>,
|
||||
warnings: Vec<String>,
|
||||
skipped: usize,
|
||||
conflict: bool,
|
||||
) {
|
||||
self.trace.conflict += usize::from(conflict);
|
||||
self.trace.rescan_requested += usize::from(conflict);
|
||||
self.paths.extend(files.iter().cloned());
|
||||
self.paths.sort();
|
||||
self.paths.dedup();
|
||||
|
||||
@@ -0,0 +1,375 @@
|
||||
# Implementation Plan: 0.52.0 Performance Review Follow-Up
|
||||
|
||||
## Executive Summary
|
||||
|
||||
An independent review of release `0.52.0` (commit [`3ceba21`](performance_052_review.md)) confirmed major performance improvements over `0.51.0` (e.g., unchanged menu filtering reduced from 24.3 ms to 0.32 ms, queued definition unblocked from 24.4 ms to 0.29 ms, no-symbol preflight reduced from 2.2 s to 0.22 ms, tail rename cut by 17.1%, and server-reported loaded scan time cut by ~58%).
|
||||
|
||||
However, the review uncovered one correctness defect (**F1**) and two benchmark measurement defects (**F2**, **F3**), alongside five architectural guidance points and three unmeasured candidate performance areas (**N1**, **N2**, **N3**):
|
||||
1. **F1 (P2 Correctness):** Split startup discovery duplicates modules behind directory aliases (symlinks), breaking startup/rescan equivalence and blocking valid renames until a full rescan.
|
||||
2. **F2 (P2 Harness):** Standalone `scanload` on a fresh storage directory includes an unprimed cold trial under a warm label (0 hits / 3,974 misses).
|
||||
3. **F3 (P2 Harness):** `scanload` completion and mid-scan classifications conflate client request window chatter with true scan completion.
|
||||
4. **Architectural & Performance Next Actions (Items 3–5 & N1–N3):**
|
||||
- **Item 3 / N1:** Retain the lint snapshot; target the remaining 114 ms first-after-edit cost via dirty-buffer lexer/parser/analysis work reduction.
|
||||
- **Item 4 / N2:** Retain engine-owned preflight and content-tied `KnownFacts` reuse; target the 163 ms scope construction (31 ms store decode) and the 1,251-file / 2.88 s common-port rename (`clk_i`).
|
||||
- **Item 5 / N3:** Retain startup ordering and publication cadence (subject to F1); target publication merge cost (`WorkspaceIndex::absorb`) before considering tighter publication intervals.
|
||||
|
||||
This plan details the technical design, contracts, verification matrix, and sequencing to address these findings without regressing existing performance or breaking repository invariants.
|
||||
|
||||
---
|
||||
|
||||
## User Review Required
|
||||
|
||||
> [!IMPORTANT]
|
||||
> **Zero Source Code Changes in This Planning Phase:** As requested, no source code, test, or harness files have been modified. Execution requires explicit approval of this implementation plan.
|
||||
|
||||
> [!WARNING]
|
||||
> **F1 Fix Strategy (Directory Identity & Path-Selection Contract):** Split startup discovery was introduced to provide immediate responsiveness (78 ms cold / 114 ms warm first answer) by leading with open buffer folders. When a directory has symlink aliases sorting before its real path (e.g. `a_alias -> z_real`), split discovery cannot unilaterally pick `z_real` without diverging from the canonical root walk which selects `a_alias`. The approved strategy is:
|
||||
> 1. Share directory identity (`DirId`) between the neighbourhood walk and root walk.
|
||||
> 2. If an alias sorting before the target is detected (or equivalent path selection cannot be proven ahead of the root walk), execute a bounded fallback to the full single root walk (which runs in <1 ms on test fixtures and ~158 ms on OpenTitan), ensuring 100% path and declaration equivalence across startup, rescan, and restart.
|
||||
|
||||
---
|
||||
|
||||
## Technical Analysis of Findings & Next Actions
|
||||
|
||||
### 1. F1: Split Startup Discovery Duplicates Modules Behind Directory Aliases
|
||||
- **Location:** `crates/lucisv_server/src/state/discover.rs:429-560` (`first_scope`, `neighbourhood_files`, `walked_rest`, `rest_of_scope`), and `crates/lucisv_core/src/walk.rs:121-164` (`collect_files_below`).
|
||||
- **Mechanism:**
|
||||
1. Regular single root walk maintains `Walk.visited: HashSet<DirId>` (`DirId` is `(u64, u64)` dev/ino on Unix, canonical `PathBuf` elsewhere). It enters each directory identity once and yields files under the first path spelling encountered.
|
||||
2. In `first_scope`, `neighbourhood_files` calls `collect_files_below`, which instantiates its own `Walk` with a fresh `visited` set. If `z_real/tb.sv` is open, it walks `z_real`, finding `z_real/child.sv`.
|
||||
3. `first_scope` records `seen: HashSet<PathBuf>` containing `z_real/child.sv`.
|
||||
4. Later, `rest_of_scope` runs `collect_files_with` from workspace root with another fresh `visited` set. The root walk visits `a_alias` first (alphabetically before `z_real`). It discovers `a_alias/child.sv`.
|
||||
5. Filtering in `rest_of_scope` only checks `seen.contains(&found.path)`. Because `a_alias/child.sv != z_real/child.sv`, `a_alias/child.sv` is kept!
|
||||
6. The index now contains both `z_real/child.sv` and `a_alias/child.sv`. Definition returns two targets; `prepareRename` refuses because `child` is declared in multiple indexed files.
|
||||
7. On whole rescan, a single root walk runs (`first_scope` is bypassed for `trace.number > 1`), discovering only `a_alias/child.sv`. Thus startup and rescan disagree.
|
||||
8. Furthermore, `HEAD_WALK_MAX` fallback unconditionally calls `files.extend(head)`, which unions the disjoint walks and reproduces the duplicate bug even when falling back.
|
||||
|
||||
### 2. F2: Standalone Warm Scanload Unprimed First Trial
|
||||
- **Location:** `tools/perf/phases_r4.py:237-260` (`load_cell`), and `tools/perf/lspclient.py:105-110` (`Session.__enter__`).
|
||||
- **Mechanism:**
|
||||
1. When running `scanload` standalone with `--storage <dir>`, `load_cell` sets `cold=(cache == "cold")`.
|
||||
2. For `cache == "warm"`, `cold=False`. `Session.__enter__` calls `os.makedirs(self.storage, exist_ok=True)`.
|
||||
3. If `<dir>` is newly created, it contains no index cache.
|
||||
4. Trial 1 runs cold (0 hits / 3,974 misses, 1,684 ms parse time) and populates the cache.
|
||||
5. Trial 2 runs warm (3,974 hits / 0 misses, 0 ms parse time).
|
||||
6. The harness groups Trial 1 and Trial 2 under the single warm label.
|
||||
|
||||
### 3. F3: Conflation of Scan Completion with Client Request Window
|
||||
- **Location:** `tools/perf/phases_r4.py:128-139` (`settled_at`), consumed by `summary` (lines 178–205).
|
||||
- **Mechanism:**
|
||||
1. `settled_at` calls `s.wait_quiet(QUIET)` after the fixed request window (3,500 ms).
|
||||
2. In `tools/perf/lspclient.py:334-355`, `wait_quiet` checks `len(self.notifications)`.
|
||||
3. A `--verbose` server emits `window/logMessage` lines for requests and timings. Furthermore, `wait_quiet` measures `last - started`, which due to clock reads is always `> 0.0`.
|
||||
4. Consequently, `last = entered + more / 1000.0 if more > 0.0 else quiet_at` always selects `entered + more`, anchoring the settle timestamp at ~3,406 ms regardless of whether the scan ended at 1,770 ms.
|
||||
5. In `summary`, responses are filtered with `a["at"] <= run["settle"]`. All 105 responses fall inside 3,400 ms, classifying 100% of responses as "mid-scan" and 0 as "after-settle".
|
||||
|
||||
### 4. Implementation Assessment Items 3, 4, 5 and Candidate Experiments N1, N2, N3
|
||||
- **Item 3 & N1 (First Action After Edit):**
|
||||
- Lint snapshot in `crates/lucisv_server/src/lint_snapshot.rs` caches clean results (0.23 ms repeat).
|
||||
- First-after-edit costs 113.6 ms because `crates/lucisv_server/src/state/mod.rs:715` invokes `Document::new`, which unconditionally runs `tokenize`, `parse_tolerant`, `collect_defines`, `analyze`, `resolve_external`, and `LineIndex::new` over the full 42,000-line buffer.
|
||||
- Work reduction must target tokenization/parsing/analysis allocations on edited buffers without breaking AST fidelity.
|
||||
- **Item 4 & N2 (Scope Construction, Facts Decode & Common-Port Rename):**
|
||||
- Tail rename scope stage: 163 ms total, with 31 ms in `known.facts_for` (store deserialization) and ~100 ms parsing the 134 kept files.
|
||||
- Common port rename (`clk_i`): 1,251 files mention `clk_i`, requiring 1,251 full parses and semantic analyses (2.88 s wall time, 1.8 GiB peak RSS).
|
||||
- Optimization target: Streamlined deserialization of `KnownFacts` and lighter-weight analysis retention for files whose AST is only needed for identifier occurrence verification.
|
||||
- **Item 5 & N3 (Quiet Scan & Publication Cost):**
|
||||
- A startup scan under load publishes staged records via `crates/lucisv_server/src/state/mod.rs:1183` (`publish_scan`).
|
||||
- Each publication calls `WorkspaceIndex::absorb`, which calls `self.merge(None)`—a full whole-index merge of all symbols and definitions across the entire workspace.
|
||||
- While `PUBLISH_EVERY = 512` reduced publication frequency, each publication still incurs the ~70 ms whole-index merge. Reducing publication cost requires targeted incremental symbol merging in `vlog_semantic`.
|
||||
|
||||
---
|
||||
|
||||
## Detailed Implementation Plan
|
||||
|
||||
### Phase 1: Correctness Fixes & Harness Repairs (F1, F2, F3)
|
||||
|
||||
```
|
||||
[Phase 1 Sequencing]
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Step 1.1: Fix F1 (lucisv_core::walk & server discover state)│
|
||||
└──────────────────────────────┬──────────────────────────────┘
|
||||
│
|
||||
┌──────────────────────────────▼──────────────────────────────┐
|
||||
│ Step 1.2: Fix F2 (Harness warm priming & cache hit counters)│
|
||||
└──────────────────────────────┬──────────────────────────────┘
|
||||
│
|
||||
┌──────────────────────────────▼──────────────────────────────┐
|
||||
│ Step 1.3: Fix F3 (True scan-completion & response partition)│
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
#### Step 1.1: Fix F1 — Directory Identity and Path Selection Across Split Discovery
|
||||
|
||||
##### 1. Handshake & Architecture Amendments (`docs/topo.md`)
|
||||
- **Amend `lucisv_core::walk` API:**
|
||||
Add a directory identity tracking type and update `collect_files_below` / `collect_files_with`:
|
||||
```rust
|
||||
// In crates/lucisv_core/src/walk.rs
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct WalkIdentity {
|
||||
pub dir_id: DirId,
|
||||
pub canonical_path: PathBuf,
|
||||
}
|
||||
|
||||
/// Shared directory identity tracker across walks.
|
||||
#[derive(Default, Debug)]
|
||||
pub struct DirectoryTracker {
|
||||
visited: HashMap<DirId, PathBuf>,
|
||||
}
|
||||
|
||||
impl DirectoryTracker {
|
||||
pub fn new() -> Self;
|
||||
pub fn is_visited(&self, dir: &Path) -> bool;
|
||||
pub fn record_or_check(&mut self, dir: &Path) -> Option<&PathBuf>;
|
||||
}
|
||||
|
||||
pub fn collect_files_below_tracked(
|
||||
root: &Path,
|
||||
input: &Path,
|
||||
exclude: &[String],
|
||||
gitignore: bool,
|
||||
tracker: &mut DirectoryTracker,
|
||||
found: &mut dyn FnMut(PathBuf, Option<u64>),
|
||||
warn: &mut dyn FnMut(Warning),
|
||||
) -> Result<(), String>;
|
||||
|
||||
pub fn collect_files_with_tracker(
|
||||
input: &str,
|
||||
exclude: &[String],
|
||||
gitignore: bool,
|
||||
tracker: &mut DirectoryTracker,
|
||||
found: &mut dyn FnMut(PathBuf, Option<u64>),
|
||||
warn: &mut dyn FnMut(Warning),
|
||||
) -> Result<(), String>;
|
||||
```
|
||||
|
||||
##### 2. Server Discovery Repair (`crates/lucisv_server/src/state/discover.rs`)
|
||||
- **Modify `neighbourhood_files` and `PendingDiscovery`:**
|
||||
- `neighbourhood_files` passes a `&mut DirectoryTracker` into `collect_files_below_tracked`.
|
||||
- Store the populated `DirectoryTracker` in `PendingDiscovery`.
|
||||
- **Pre-check Path Selection Equivalence:**
|
||||
- When inspecting the workspace roots, check if any directory entry in the root is a symlink pointing to an ancestor/sibling of the neighbourhood directory that sorts before the neighbourhood path.
|
||||
- If an alias sorting *before* the target exists (such as `a_alias -> z_real`), split discovery cannot unilaterally index `z_real` without violating the root walk's canonical path choice.
|
||||
- In this case, **trigger the bounded fallback**: discard the partial neighbourhood and execute a single root walk (`self.collect_sources(...)`), returning `(sources, None)`.
|
||||
- **Repair `HEAD_WALK_MAX` Fallback:**
|
||||
- In `first_scope` (lines 450–459), when `head.len() > HEAD_WALK_MAX`:
|
||||
**Do NOT union `head` and `walked_rest`!**
|
||||
Instead, discard `head` and execute `self.collect_sources(watch, HeldAnalyses::Wanted, trace)`, returning `(sources, None)`.
|
||||
- **Modify `rest_of_scope`:**
|
||||
- Use the `DirectoryTracker` from `PendingDiscovery` during the root walk so any directory identity already visited in the neighbourhood walk is recognized and not re-entered under an alternate alias.
|
||||
- Filter `walked` files using both `seen_paths` and `seen_dir_identities`.
|
||||
|
||||
##### 3. Regression Test Fixture (`crates/lucisv_server/src/server/tests/startup.rs`)
|
||||
- Add automated integration tests replicating the review's reproduction:
|
||||
- **Fixture A (Alias sorting before target):** `workspace/a_alias -> z_real`, `workspace/z_real/{child.sv, tb.sv}`.
|
||||
- **Fixture B (Alias sorting after target):** `workspace/z_alias -> a_real`, `workspace/a_real/{child.sv, tb.sv}`.
|
||||
- **Fixture C (Multiple aliases):** `a_alias -> target`, `m_alias -> target`, `target/{child.sv}`.
|
||||
- **Fixture D (Ancestor cycle):** `workspace/sub/up -> ..`.
|
||||
- **Fixture E (Ignore rules):** `.gitignore` excluding files inside aliased directories.
|
||||
- **Fixture F (Open unsaved buffer):** Unsaved buffer open at `z_real/tb.sv` with modified text.
|
||||
- **Fixture G (True duplicates):** Genuine duplicate module declaration in two distinct physical files. Verify ambiguity refusal is preserved!
|
||||
- **Assertions:**
|
||||
1. Index file paths after startup `==` index file paths after a whole rescan `==` index file paths after restart.
|
||||
2. Definition on `child` returns exactly 1 location.
|
||||
3. `textDocument/prepareRename` on `child` is accepted.
|
||||
4. True duplicate module refusal is still refused with identical diagnostic message.
|
||||
|
||||
---
|
||||
|
||||
#### Step 1.2: Fix F2 — Standalone Warm Harness Priming & Cache Counters
|
||||
|
||||
##### 1. Untimed Priming in Harness (`tools/perf/phases_r4.py`)
|
||||
- In `load_cell(cache, buffers, rate, params, where="")`:
|
||||
```python
|
||||
def prime_storage(storage_name, extra):
|
||||
"""Perform an untimed session to prime the index cache before warm trials."""
|
||||
with session("workspace", cold=False, verbose=True, storage_name=storage_name) as s:
|
||||
s.initialize()
|
||||
open_buffers(s, extra)
|
||||
s.wait_quiet(1.5)
|
||||
s.take_notifications()
|
||||
|
||||
# Inside load_cell:
|
||||
if cache == "warm":
|
||||
# If cache store does not exist or has no valid store file:
|
||||
store_path = os.path.join(ARGS.storage, "r4-load")
|
||||
if not os.path.exists(store_path) or not os.listdir(store_path):
|
||||
prime_storage("r4-load", extra)
|
||||
```
|
||||
|
||||
##### 2. Cache Counters Recording & Assertion
|
||||
- Inspect `counts = scans[0].get("counts", {})` parsed from `traces(s)`:
|
||||
- Extract `hits = counts.get("hits", 0)` and `misses = counts.get("misses", 0)`.
|
||||
- In `summary(runs)`: Include `cache_hits: [run["hits"] for run in runs]` and `cache_misses: [run["misses"] for run in runs]`.
|
||||
- In `cell_status(got)`: If `cache == "warm"`, assert `all(h > 0 for h in got["cache_hits"])`. If any warm trial records 0 hits or unexpected misses, set `status = "error"` with diagnostic message.
|
||||
|
||||
##### 3. Verification Test
|
||||
- Execute `tools/perf/bench.py scanload` with a brand-new, non-existent `--storage` directory.
|
||||
- Verify:
|
||||
- Untimed prime runs cleanly.
|
||||
- Trial 1 and Trial 2 both report ~3,974 hits and 0 misses.
|
||||
|
||||
---
|
||||
|
||||
#### Step 1.3: Fix F3 — Decoupling Scan Completion from Client Request Window
|
||||
|
||||
##### 1. Scan-Specific Completion Timestamp (`tools/perf/phases_r4.py`)
|
||||
- **Capture True Scan Completion:**
|
||||
- The server outputs `timing: scan <n> stages (...) total=<ms>` upon scan completion, and sends `$/progress` token with `kind: "end"`.
|
||||
- In `tools/perf/lspclient.py`, record `_scan_completed_at`: the `perf_counter` timestamp when the reader thread parses the scan's final progress notification or `timing: scan` line.
|
||||
- In `phases_r4.py`:
|
||||
Replace the flawed `settled_at` logic with:
|
||||
```python
|
||||
def scan_completed_ms(s, origin):
|
||||
"""Milliseconds from `origin` to the scan's actual completion."""
|
||||
if s.scan_completed_at is not None:
|
||||
return (s.scan_completed_at - origin) * 1000.0
|
||||
# Fallback to server-reported scan total if notification timestamp unavailable:
|
||||
sc = traces(s)
|
||||
if sc and "stages" in sc[0]:
|
||||
return sc[0]["stages"].get("total", 0.0)
|
||||
return None
|
||||
```
|
||||
|
||||
##### 2. Response Partitioning in `summary`
|
||||
- Use `scan_completed_ms` to partition responses:
|
||||
```python
|
||||
inside = [a["ms"] for run in runs for a in run["answers"]
|
||||
if a["at"] <= run["scan_completed_ms"]]
|
||||
after = [a["ms"] for run in runs for a in run["answers"]
|
||||
if a["at"] > run["scan_completed_ms"]]
|
||||
```
|
||||
- Expose both in row output:
|
||||
- `mid_scan_answers = len(inside)`
|
||||
- `after_settle_answers = len(after)`
|
||||
- `mid_scan_median_ms` and `after_settle_median_ms`
|
||||
- Retain raw `a["at"]` (arrival offsets) in `results.jsonl`.
|
||||
|
||||
##### 3. Verification Test
|
||||
- Run a warm session where server scan duration is ~1,770 ms inside a 3,500 ms window.
|
||||
- Verify:
|
||||
- `settled_ms` reflects ~1,770 ms (NOT 3,406 ms).
|
||||
- Out of 35 requests, requests arriving before 1,770 ms (~17 requests) are categorized as `mid_scan_answers`, and requests arriving after 1,770 ms (~18 requests) are categorized as `after_settle_answers`.
|
||||
- Extend window to 5,000 ms: verify scan completion remains unchanged (~1,770 ms) and `after_settle_answers` increases proportionally.
|
||||
|
||||
---
|
||||
|
||||
### Phase 2: Performance Follow-Ups (Addressing Assessment Items 3–5 & N1–N3)
|
||||
|
||||
Once Phase 1 is verified and merged, the three performance investigation lanes will proceed conditionally:
|
||||
|
||||
```
|
||||
[Phase 2 Lanes]
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Lane N1: Lexer/Parser & Dirty-Buffer Analysis Work (Item 3) │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Lane N2: Retained-Analysis Parse Work & Scope Decode (Item 4│
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Lane N3: Quiet Scan Decode/Merge & Publication Cost (Item 5)│
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
#### Step 2.1: Lane N1 — Lexer/Parser & Dirty-Buffer Analysis (Addressing Item 3 & N1)
|
||||
- **Baseline:** First-after-edit on `pinmux_reg_top.sv` is 113.6 ms (repeat median 0.23 ms via lint snapshot).
|
||||
- **Target:** Reduce first-after-edit time by ≥15% (stretch: <95 ms) while maintaining exact AST/diagnostic output.
|
||||
- **Approach:**
|
||||
1. Profile `Document::new`:
|
||||
- Tokenize: Measure time and allocations.
|
||||
- Parse tolerant: Inspect grammar node allocations.
|
||||
- Semantic analysis & external resolution.
|
||||
2. Optimize single-document re-tokenization / parsing:
|
||||
- Profile whether token vector reallocation in `tokenize` can reuse a pooled buffer.
|
||||
- Avoid cloning the token stream when passing from `tokenize` into `parse_tolerant` (e.g. transfer ownership or borrow).
|
||||
3. Verification:
|
||||
- Snapshot tests in `vlog_formatter` and `vlog_parser`.
|
||||
- `offeredit` benchmark phase comparing candidate vs 0.52.0 baseline.
|
||||
|
||||
#### Step 2.2: Lane N2 — Retained-Analysis Parse Work & Scope Decode (Addressing Item 4 & N2)
|
||||
- **Baseline:** Tail rename: 324.6 ms (163 ms scope stage, including 31 ms store decode). Common-port rename (`clk_i`): 2,883.7 ms, 1,251 parses, 1.78 GiB peak RSS.
|
||||
- **Target:** Reduce scope build store decode time (<20 ms) and reduce common-port parse overhead without increasing peak RSS.
|
||||
- **Approach:**
|
||||
1. **KnownFacts Store Deserialization:**
|
||||
- In `crates/lucisv_server/src/index_cache.rs`, benchmark `facts_for`.
|
||||
- Evaluate zero-copy / compact binary decoding for `FileFacts` to cut the 31 ms decode bottleneck.
|
||||
2. **Retained Analyses Work:**
|
||||
- In `crates/vlog_refactor/src/scope.rs`, investigate files in `Class::Kept`:
|
||||
- Instead of building full redundant ASTs for files where only identifier occurrence validation is needed, evaluate whether occurrence checking can run against a lighter token stream while strictly preserving warning and refusal semantics.
|
||||
3. **Verification & Guardrails:**
|
||||
- Verify byte-identical edits and warning sentences across all 8 rename shapes (`renamewarn`).
|
||||
- Monitor peak RSS under `tools/guard.sh -m 8` to guarantee peak memory does not exceed the 1.8 GiB envelope.
|
||||
|
||||
#### Step 2.3: Lane N3 — Quiet Scan & Incremental Publication Merge (Addressing Item 5 & N3)
|
||||
- **Baseline:** Warm quiet scan 1,064.7 ms, cold quiet scan 2,886.6 ms, warm loaded scan 1,771 ms.
|
||||
- **Target:** Reduce warm quiet scan below 1,000 ms and reduce publication merge overhead.
|
||||
- **Approach:**
|
||||
1. **Targeted `WorkspaceIndex::absorb`:**
|
||||
- Currently, `WorkspaceIndex::absorb` calls `self.merge(None)`, rebuilding symbol tables across all 3,976 files.
|
||||
- Implement incremental symbol table merging in `crates/vlog_semantic/src/workspace/update.rs`, only updating symbol tables for files added/modified in the batch.
|
||||
2. **Candidate Construction:**
|
||||
- Benchmark candidate table construction during publication; avoid full re-indexing of unchanged completion words.
|
||||
3. **Verification:**
|
||||
- Fingerprint equivalence: `WorkspaceIndex::fingerprint` must be identical between incremental absorb and full rebuild.
|
||||
- `scanload` and `scan` benchmark phases under corrected F2/F3 harness.
|
||||
|
||||
---
|
||||
|
||||
## File Modification Map
|
||||
|
||||
| Component / Layer | Action | Target File | Description |
|
||||
|---|---|---|---|
|
||||
| `lucisv_core` (Walk) | `[MODIFY]` | `crates/lucisv_core/src/walk.rs` | Add `DirectoryTracker` and expose directory identity (`DirId`) tracking across walks |
|
||||
| `lucisv_server` (State) | `[MODIFY]` | `crates/lucisv_server/src/state/discover.rs` | Use `DirectoryTracker`, fix `first_scope`, repair `HEAD_WALK_MAX` fallback, ensure alias equivalence |
|
||||
| `lucisv_server` (State) | `[MODIFY]` | `crates/lucisv_server/src/state/scan.rs` | Update `PendingDiscovery` to hold `DirectoryTracker` |
|
||||
| `lucisv_server` (Tests) | `[MODIFY]` | `crates/lucisv_server/src/server/tests/startup.rs` | Add F1 symlink regression matrix (alias before/after, cycle, ignores, unsaved buffer) |
|
||||
| Documentation | `[MODIFY]` | `docs/topo.md` | Record amended `lucisv_server ──▶ lucisv_core` walk handshake |
|
||||
| Perf Tools (Harness) | `[MODIFY]` | `tools/perf/phases_r4.py` | Fix F2 (untimed warm priming & cache counters) and F3 (scan completion timestamping & response partition) |
|
||||
| Perf Tools (Client) | `[MODIFY]` | `tools/perf/lspclient.py` | Record reader-thread scan completion instant `_scan_completed_at` |
|
||||
| Performance Tracking | `[MODIFY]` | `docs/perf/take5-tracking.md` | Update experiment logs and status for F1, F2, F3 |
|
||||
|
||||
---
|
||||
|
||||
## Verification & QA Plan
|
||||
|
||||
### Automated Correctness & Quality Gates
|
||||
Every step will be verified using the repository's runaway guard:
|
||||
```bash
|
||||
# Code formatting
|
||||
cargo fmt --all -- --check
|
||||
|
||||
# Strict Clippy validation
|
||||
tools/guard.sh -m 8 -t 1800 -- cargo clippy --workspace --all-targets --locked -- -D warnings
|
||||
|
||||
# Full workspace test suite (must meet or exceed 4,374 passed, 0 failed, 45 ignored)
|
||||
tools/guard.sh -m 8 -t 1800 -- cargo test --workspace --locked
|
||||
```
|
||||
|
||||
### Specialized Correctness Assertions for F1
|
||||
Run the dedicated startup test suite:
|
||||
```bash
|
||||
tools/guard.sh -m 8 -t 1800 -- cargo test -p lucisv_server --test server_tests startup
|
||||
```
|
||||
Assert that:
|
||||
1. `alias_sorting_before_target`: `a_alias -> z_real`. Index paths, definition targets, and `prepareRename` match between startup, whole rescan, and restart.
|
||||
2. `alias_sorting_after_target`: `z_alias -> a_real`. Same equivalence check.
|
||||
3. `multiple_aliases`: Multiple symlinks to single target directory do not produce duplicate entries.
|
||||
4. `ancestor_cycle`: Cyclic symlinks terminate safely without duplicate entries.
|
||||
5. `genuine_duplicate_declarations`: Genuine collisions in distinct files remain ambiguous and correctly refused.
|
||||
|
||||
### Benchmark & Harness Verification for F2 and F3
|
||||
1. **F2 Warm Priming Verification:**
|
||||
```bash
|
||||
tools/guard.sh -m 8 -t 1800 -- python3 tools/perf/bench.py scanload --storage /tmp/test-fresh-store --tries 2
|
||||
```
|
||||
Assert that:
|
||||
- Untimed prime runs automatically.
|
||||
- Both Trial 1 and Trial 2 report ~3,974 cache hits and 0 misses.
|
||||
2. **F3 Scan Completion Verification:**
|
||||
```bash
|
||||
tools/guard.sh -m 8 -t 1800 -- python3 tools/perf/bench.py scanload --tries 3
|
||||
```
|
||||
Assert that:
|
||||
- `settled_ms` reflects server scan duration (~1,770 ms), not 3,400 ms.
|
||||
- Responses are partitioned correctly into `mid_scan_answers` and `after_settle_answers`.
|
||||
- Extending fixed window from 3,500 ms to 5,000 ms keeps `settled_ms` constant while increasing `after_settle_answers`.
|
||||
@@ -102,6 +102,54 @@ below-walk, by `a_walk_that_starts_below_a_root_still_obeys_that_roots_gitignore
|
||||
and `a_negation_below_the_root_still_wins_over_the_root_rule`, both of which
|
||||
assert equality with the whole-root walk restricted to that subtree.
|
||||
|
||||
#### Amended 2026-09-09 (F1) — a third entry, and the identity the split owes
|
||||
|
||||
The two entries above promised the same *filters* across the split and said
|
||||
nothing about **directory identity**, which is the other half of what a walk
|
||||
of the root decides: it enters each identity once and reports its files under
|
||||
the first spelling that reaches it (`docs/features/walk-cycles/README.md`).
|
||||
Two walks with two visited sets do not have that between them, so a symlinked
|
||||
directory reached by both was indexed twice — the review's finding F1
|
||||
(`docs/performance_052_review.md`). The identity is now a value the caller
|
||||
owns and hands to both walks:
|
||||
|
||||
```rust
|
||||
/// Every directory identity a walk has entered, and the path it entered
|
||||
/// each one by. Shared between two walks, they behave as one.
|
||||
pub struct DirectoryTracker { /* … */ }
|
||||
|
||||
impl DirectoryTracker {
|
||||
pub fn new() -> Self;
|
||||
/// Record `dir`, and say whether it is new, already seen, or already
|
||||
/// seen under a path this one sorts *before* — which is the root walk's
|
||||
/// own choice, and so a disagreement about spelling.
|
||||
pub fn enter(&mut self, dir: &Path) -> DirStatus;
|
||||
/// Whether any `enter` reported `PrecedenceConflict`.
|
||||
pub fn has_conflict(&self) -> bool;
|
||||
}
|
||||
|
||||
pub enum DirStatus { EnteredFirstTime, AlreadyVisited, PrecedenceConflict { recorded: PathBuf } }
|
||||
|
||||
pub type DirId = /* (dev, ino) on unix, the canonical path elsewhere */;
|
||||
pub fn dir_id(path: &Path) -> Option<DirId>;
|
||||
|
||||
pub fn collect_files_tracked(input, exclude, gitignore, tracker, found, warn) -> Result<(), String>;
|
||||
pub fn collect_files_below_tracked(root, input, exclude, gitignore, tracker, found, warn)
|
||||
-> Result<(), String>;
|
||||
```
|
||||
|
||||
Still additive: `collect_files_with` and `collect_files_below` keep their
|
||||
signatures and are two-line wrappers that make a tracker of their own, so a
|
||||
single walk behaves exactly as it always did — `enter` is the same
|
||||
insert-if-absent test, with a second answer for the caller that asked for one.
|
||||
|
||||
**What this promises the server:** one tracker across the neighbourhood walk
|
||||
and the remaining walk means one directory identity entered once between them,
|
||||
so no file is discovered under two spellings and the union of the two walks is
|
||||
the set a single root walk yields. Where the remaining walk *does* reach an
|
||||
identity by a path the root walk would have preferred, `has_conflict` says so
|
||||
and the server rescans (below); nothing is duplicated either way.
|
||||
|
||||
### `lucisv_server` internals
|
||||
|
||||
- **`crate::state::discover`** is a new child module of `crate::state`: `Found`,
|
||||
@@ -143,6 +191,19 @@ assert equality with the whole-root walk restricted to that subtree.
|
||||
|
||||
### Requests for the lead (`docs/topo.md` is not edited by this lane)
|
||||
|
||||
0. **2026-09-09, F1.** The `lucisv_server ──▶ lucisv_core` walk row already
|
||||
carries the tracker (another agent amended it before this lane started; the
|
||||
row is not this lane's file and was left alone). Two sentences are still
|
||||
owed there, and the lead owns them: **(a)** what the tracker promises is
|
||||
that the two walks of one scan enter each directory identity once *between*
|
||||
them, so a `lucisv_core` change that gave `enter` a different answer for a
|
||||
second spelling would silently un-fix F1; **(b)** the tracker's
|
||||
`has_conflict` is a **server-visible** outcome now — `state/mod.rs` reads it,
|
||||
`Scan::wants_rescan` reports it and `server/index.rs` turns it into one
|
||||
ordinary rescan — so it is a handshake and not an internal detail. Nothing
|
||||
outside `lucisv_server` calls the tracked entries; the CLI still calls
|
||||
`collect_files`.
|
||||
|
||||
1. `lucisv_server ──▶ lucisv_core` (walk): **`collect_files_with` and
|
||||
`collect_files_below`**, both additive, `collect_files` unchanged and now a
|
||||
wrapper. The server's cap reads the walk's own `metadata`; its
|
||||
@@ -596,6 +657,133 @@ guarded `cargo test --workspace` green.
|
||||
`state/mod.rs` **1 069 → 978**: it did not grow, and the new logic went into a
|
||||
new module as the brief required.
|
||||
|
||||
### 2026-09-09 — dev (Opus), F1 finished
|
||||
|
||||
**F1 is closed.** The split discovery keeps the walk's directory identity
|
||||
across both halves, the one case it cannot lead with falls back to the single
|
||||
canonical walk before the head is walked, and the one case nothing can see
|
||||
ahead of time converges on an ordinary rescan. Nothing about the ordering or
|
||||
the first-answer numbers moved.
|
||||
|
||||
**What the fix is, in four parts.**
|
||||
|
||||
1. **One tracker, two walks.** `DirectoryTracker` (above, Handshakes) is made
|
||||
in `first_scope`, filled by `neighbourhood_files`, carried on
|
||||
`PendingDiscovery`, and handed to the remaining walk by `rest_of_scope`. A
|
||||
directory identity is entered once between them, so the two halves cannot
|
||||
report one directory's files under two spellings and the path-only `seen`
|
||||
set no longer has to recognise something a path cannot.
|
||||
2. **A pre-check, and a fallback that discards.** `has_preceding_alias` asks,
|
||||
*before* the head is walked, whether any directory between the open
|
||||
buffer's folder and its root holds a symlink to that folder or one of its
|
||||
ancestors under a name a root walk reaches first (`a_alias -> z_real`).
|
||||
If it does, the head would spell those files a way no other scan ever
|
||||
does, so the scan resolves its whole scope in one walk instead. The
|
||||
`HEAD_WALK_MAX` fallback now **discards** the head and does the same: it
|
||||
used to union the head with an independently-discovered rest, which was
|
||||
the bug wearing a second hat.
|
||||
3. **A conflict is acted on.** An alias outside that ancestor chain —
|
||||
`other/link -> z_real`, `other` sorting first — is invisible to any
|
||||
pre-check: the head leads with `z_real` and only the remaining walk finds
|
||||
out. The tracker refuses to enter the directory a second time (so nothing
|
||||
is duplicated and every answer the startup gives is right), reports
|
||||
`has_conflict`, and `scan_once` sets `rescan_wanted` on the way out. That
|
||||
is the flag a save or a settings change sets, so the canonical walk runs
|
||||
when this scan ends, under `must_wait`, and the spelling converges there.
|
||||
Exactly one rescan can come of it: only a session's *first* scan splits.
|
||||
The `--verbose` count line says `conflict=1 rescan_requested=1`.
|
||||
4. **An open buffer's aliases.** A buffer opened as `z_real/tb.sv` whose walk
|
||||
spelling is `a_alias/tb.sv` used to put both in the index — one module
|
||||
twice, and a `tb` that could not be renamed. `overlay_buffers` now drops a
|
||||
walked file whose `(dev, ino)` is an open buffer's, in **one** place
|
||||
rather than two.
|
||||
|
||||
**And it costs nothing.** The alias test is gated on the file's *name*: a
|
||||
directory alias cannot rename a file, so a walked file whose name no open
|
||||
buffer shares is never stat'd. Measured on opentitan (`counts` line,
|
||||
`stats=`): **0** on every workspace cell with 0 or 1 open buffers, cold and
|
||||
warm — the 3 976-`metadata` regression the first draft of this fix had is
|
||||
gone — and **58** in the 2-buffer cell whose head holds 58 files named
|
||||
`tb.sv`/`aes.sv`, which is the bound the gate promises and about 0.06 ms. A
|
||||
file-level symlink under a *different* name is out of scope and stays two
|
||||
files, as it is everywhere else in this server.
|
||||
|
||||
**The pre-check's own cost, measured.** It reads the four directories between
|
||||
`hw/ip/aes/dv` and the root and stats only the entries `read_dir` already
|
||||
called symlinks, so an ordinary tree costs no `metadata` at all. On opentitan
|
||||
it is the unattributed remainder of `discovery` (`discovery` minus
|
||||
`config+walk+filelist+sort+cap+buffers`): **0.10 → 0.27 ms**, i.e. ~0.17 ms,
|
||||
once per session.
|
||||
|
||||
**Paired against 0.52.0** (both release servers built here; opentitan
|
||||
`0098135`, three known modified files unchanged; guard 8 GiB/1 800 s
|
||||
throughout; load 4.1–6.8):
|
||||
|
||||
| Cell | 0.52.0 | F1 | |
|
||||
|---|---:|---:|---|
|
||||
| Workspace scan, cold | 2 878.9 | 2 886.0 | +0.2 % |
|
||||
| Workspace scan, warm | 1 044.2 | 1 039.6 | −0.4 % |
|
||||
| First useful definition, cold | 82.0 | 81.9 | −0.1 % |
|
||||
| First useful definition, warm | 115.6 | 117.5 | +1.6 % |
|
||||
| `discovery`, workspace warm, 1 buffer | 179.2 | 162.2 | −9 % |
|
||||
| `stats`, same cell | 0 | **0** | |
|
||||
| Settle, 1 / 10 / 100 open buffers | 1 100 / 1 098 / 1 251 | 1 134 / 1 074 / 1 218 | |
|
||||
| Warm idle RSS, KiB | 427 856 | 426 048 | |
|
||||
|
||||
Every row is within noise of 0.52.0 and of the round's own targets (~80/115 ms
|
||||
first answer, ~1.0 s warm settle, ~155 ms discovery, ~1 170 ms at 100
|
||||
buffers). Rows in `~/.cache/lucisv-perf/f1/results.jsonl`.
|
||||
|
||||
**Tests.** The seven fixtures the first draft added are refactored behind one
|
||||
helper — `startup_rescan_and_restart_agree`, which indexes the tree, asks the
|
||||
same four questions (index paths, definition targets, prepareRename, and the
|
||||
open buffer's pulled diagnostics by sentence and range) of the startup scan,
|
||||
of a whole rescan a watched-file burst triggers, and of a fresh session, and
|
||||
asserts the three agree — so each fixture is its shape and its
|
||||
own claims and nothing else. Nine of them, all `#[cfg(unix)]`: alias sorting
|
||||
before its target, alias sorting after, several aliases of one directory, an
|
||||
alias of an *ancestor* of the open folder, an ancestor cycle
|
||||
(`sub/up -> ..`) with a file at the root the head would otherwise spell
|
||||
`sub/up/top.sv`, an ignored alias, an open unsaved buffer, a genuine
|
||||
duplicate declaration (still refused, same sentence, at startup and after the
|
||||
rescan), and the sibling alias — which asserts the trace's
|
||||
`conflict=1 rescan_requested=1`, that exactly two scans ran and the second
|
||||
asked for nothing, that the per-file log names one `child.sv` per scan under
|
||||
the head's spelling then the root walk's, and that the index after the rescan
|
||||
is what a rescan and a restart also give. Every fixture needs
|
||||
`index.scopeDepth: 0` to reach the split at all — the default raise of 2 puts
|
||||
the folder *at* the root, where the split is refused: that is the review's own
|
||||
reproduction setting, and `the_whole_workspace_flat()` is it.
|
||||
|
||||
**Gates.** `cargo fmt` clean; guarded `cargo clippy --workspace --all-targets
|
||||
--locked -- -D warnings` clean, no new `#[allow]`; guarded
|
||||
`cargo test --workspace --locked` **4 385 passed, 0 failed, 45 ignored**
|
||||
(4 374 at 0.52.0, + 2 `DirectoryTracker` unit tests in `lucisv_core`, + 9
|
||||
alias fixtures in place of the first draft's 7).
|
||||
|
||||
**File sizes** (non-blank, non-comment, before `mod tests`):
|
||||
`state/discover.rs` **406** (329 at 0.52.0), `state/scan.rs` 135,
|
||||
`scan_trace.rs` 326, `server/index.rs` 226, `lucisv_core/src/walk.rs` 332 —
|
||||
all under 600. `state/mod.rs` **980 → 980**: it did not grow. The conflict
|
||||
rides out on `Scan::land_discovery`, which the one caller already called, and
|
||||
lives on the scan's own trace counter beside `publishes` rather than as a
|
||||
second copy of the same fact.
|
||||
|
||||
**Deviation from the plan.** Step 1.1 names `DirectoryTracker::is_visited` /
|
||||
`record_or_check` and a `WalkIdentity` struct; the shipped shape is `enter` →
|
||||
`DirStatus` and `has_conflict`, because the caller needs to tell "already
|
||||
seen" from "already seen under a path this one would have beaten", and a
|
||||
borrow of the recorded path is not something a walk can hold while walking.
|
||||
The plan's fallback is unchanged; the conflict follow-through (part 3 above)
|
||||
is beyond the plan, and is what makes startup and rescan agree in the case no
|
||||
pre-check can see.
|
||||
|
||||
**Assumption recorded.** A buffer opened *mid-scan*, after the scope was
|
||||
resolved, is not put through the alias test — its disk copy is already in the
|
||||
work list under whatever spelling the walk gave it. That is 0.52.0's
|
||||
behaviour and 0.51.0's, it is a `Scan::reorder`/`open_next` question rather
|
||||
than a discovery one, and no fixture here changes it.
|
||||
|
||||
## QA log
|
||||
|
||||
### 2026-09-08 — QA (Sonnet), §61.3
|
||||
@@ -793,6 +981,561 @@ store open). Recommend also applying the `HEAD_WALK_MAX` test I built (this
|
||||
QA log, above) as a topo-neutral addition to `state/mod.rs`'s existing test
|
||||
module when the lane next touches that file.
|
||||
|
||||
### 2026-09-09 — independent 0.52.0 review: directory-alias regression
|
||||
|
||||
**Finding F1 (P2), open.** The split discovery does not preserve the ordinary
|
||||
walk's directory-identity deduplication across its independent head/root
|
||||
walks. A scratch workspace with `a_alias -> z_real`, a `child` module and a
|
||||
testbench in `z_real`, workspace scope and depth 0, produces two definition
|
||||
targets at startup in 0.52.0 versus one in 0.51.0. `prepareRename` then falsely
|
||||
refuses an ambiguous `child`. A whole rescan with unchanged source restores
|
||||
one target and accepts prepareRename. Initial lookup comparison: 3/3 sessions
|
||||
per version; full startup/rescan lifecycle: another 3/3 per version.
|
||||
|
||||
The issue is the path-only `seen` set in `state/discover.rs::first_scope`
|
||||
combined with independent `Walk.visited` sets, not ignore-rule inheritance.
|
||||
The `HEAD_WALK_MAX` fallback also unions the independently discovered head.
|
||||
No implementation was changed. [Full review, reproduction and repair gates](../../performance_052_review.md#f1--p2--split-startup-discovery-duplicates-modules-behind-directory-aliases),
|
||||
[raw evidence](../../perf/review-052-20260909/README.md).
|
||||
|
||||
### 2026-09-09 — QA (Sonnet), TODO §62.1: REWORK — the rest-of-scope walk is not gated
|
||||
|
||||
**Verdict: REWORK.** F1's own fix is real and reproduces cleanly for every
|
||||
shape the dev's nine fixtures name, but the open-buffer alias gate
|
||||
(`Aliased`/`overlay_buffers`, Handshakes part 4) is wired into only *one*
|
||||
of the two places a split scan's files come from, and a crafted attack
|
||||
beyond the nine fixtures gets a false ambiguous-rename refusal through the
|
||||
gap. Findings below; nothing else broke.
|
||||
|
||||
**Gates, guarded, main tree.** `cargo fmt --all -- --check` clean.
|
||||
`cargo clippy --all-targets --locked -- -D warnings` clean, no new
|
||||
`#[allow]`. `cargo test --workspace --locked`: **4 385 passed, 0 failed, 45
|
||||
ignored** — exactly the dev's claimed 4 374 (0.52.0) + 2 tracker unit tests
|
||||
+ 9 alias fixtures; I did not re-run the suite against a fresh 3ceba21
|
||||
clone myself, but the independent review (`docs/performance_052_review.md`,
|
||||
"Independent validation") already recorded 4 374/0/45 at that commit, so
|
||||
the arithmetic is corroborated rather than assumed. Production line counts
|
||||
(non-blank/non-comment, before `mod tests`): `discover.rs` **405** (claimed
|
||||
406), `walk.rs` **332** (claimed 332, exact), `state/mod.rs` **980 → 980**
|
||||
(exact, net zero as claimed), `scan.rs` **134** (claimed 135) — all within
|
||||
one line of the dev's count and all comfortably under the 600 mark; no
|
||||
finding.
|
||||
|
||||
**The review's own reproduction, on both binaries.** Built candidate
|
||||
(`cargo build --release -p lucisv_server`, main tree) and 0.52.0 (fresh
|
||||
`git archive v0.52.0` into my scratchpad, built there — not the review's
|
||||
leftover `/tmp` binary). Ran an adapted `symlink_lifecycle.py` (the
|
||||
review's own fixture, `a_alias -> z_real`, workspace/depth-0, `z_real/
|
||||
tb.sv` open) against both, 3 trials each:
|
||||
|
||||
| | 0.52.0 | candidate |
|
||||
|---|---|---|
|
||||
| Definition after startup | 2 targets (`a_alias` + `z_real`), 3/3 | 1 target (`a_alias`), 3/3 |
|
||||
| prepareRename after startup | refused, "declared in more than one indexed file", 3/3 | accepted, 3/3 |
|
||||
| After the watched-file rescan | 1 target, accepted, 3/3 | 1 target, accepted, 3/3 |
|
||||
|
||||
Matches the review's table exactly — the finding was real, and the
|
||||
candidate fixes the reproduction as claimed.
|
||||
|
||||
**The matrix (a)–(i), attacked in a fresh clone (`git archive HEAD` +
|
||||
`git apply` of the working-tree diff) under my scratchpad, never the dev's
|
||||
tree.** Nine new fixtures appended to a scratch copy of `server/tests/
|
||||
startup.rs` (not shipped; QA-only):
|
||||
|
||||
- (a) alias to a directory **outside** the workspace root: today's
|
||||
behaviour is to follow it (the external `child.sv` is indexed and
|
||||
becomes the definition target) — pinned stable across startup/rescan/
|
||||
restart, not asserted as correct either way, since the spec is silent on
|
||||
it.
|
||||
- (b) alias to the workspace root itself from inside (`sub/root_link ->
|
||||
..`): one copy of every file, same shape as the shipped ancestor-cycle
|
||||
fixture — ok.
|
||||
- (c) two buffers, one in an aliased folder, one not: both resolve/rename
|
||||
correctly — ok.
|
||||
- (d) alias created **after** startup, converged by a watched-file rescan:
|
||||
one copy, one target, renamable — ok.
|
||||
- (e) a broken symlink beside the open folder: no crash, contributes no
|
||||
file — ok. (My first attempt at this fixture named its own tree
|
||||
`qadangling`, so a bare substring check on `"dangling"` matched the tree's
|
||||
own temp-dir name and produced a false failure; renamed the fixture and
|
||||
confirmed — a QA harness bug, not a product one, fixed in my own scratch
|
||||
copy only.)
|
||||
- (f) **FAILS.** A *file*-level symlink sharing an open buffer's basename,
|
||||
placed outside the buffer's own head-walked folder
|
||||
(`alias_dir/tb.sv -> ../z_real/tb.sv`, buffer open at `z_real/tb.sv`,
|
||||
workspace/depth-0 so the scan splits): the index ends up with **two**
|
||||
`tb.sv` entries (`alias_dir/tb.sv` and `z_real/tb.sv`) and
|
||||
`textDocument/prepareRename` on `tb` is refused: `"lucisv: \`tb\` is
|
||||
declared in more than one indexed file"`. This is a false positive of
|
||||
exactly the shape F1 exists to close, and it sits inside F1's own stated
|
||||
scope — the README's Handshakes text says the open-buffer alias check
|
||||
"drops a walked file whose `(dev, ino)` is an open buffer's, in **one
|
||||
place** rather than two" and stats only same-named files. Root cause: the
|
||||
`Aliased` gate lives only in `Workspace::overlay_buffers`
|
||||
(`crates/lucisv_server/src/state/discover.rs:194`), and `overlay_buffers`
|
||||
is called from exactly two places — `collect_sources` (the non-split,
|
||||
whole-workspace path) and `first_scope`'s **head**-only branch (line
|
||||
~555). `Workspace::rest_of_scope`
|
||||
(`crates/lucisv_server/src/state/discover.rs`, the function added by this
|
||||
round for the split's second walk) filters its output only against the
|
||||
cap and the head's own `seen` path set — never against `Aliased` — so a
|
||||
same-named file-level alias discovered by the *remaining* walk (i.e.
|
||||
anywhere outside the buffer's own immediate folder, which on a real
|
||||
workspace is nearly everything) is not deduplicated at all.
|
||||
`Scan::land_discovery`/`PendingDiscovery` carry no such check either. The
|
||||
dev's own measured "58" (`stats`, the 2-buffer opentitan cell) is
|
||||
consistent with this: I reproduced `stats=58` on that exact cell
|
||||
(`scanprofile`, "workspace warm, 1 open buffer" — 2 buffers total once
|
||||
the harness's always-open default is counted) and it is generated
|
||||
entirely inside the head-only `overlay_buffers` call, so it is not
|
||||
evidence the gate covers the rest of the workspace — it demonstrates the
|
||||
opposite once the code path is traced. Impact: not merely a spurious
|
||||
refusal — since the "walked" copy is read fresh from disk while the
|
||||
buffer's overlay text can differ (unsaved edits), a workspace with such
|
||||
an alias can silently carry two *different* bodies for what the editor
|
||||
believes is one open file, which is a masked-duplication risk squarely
|
||||
inside CLAUDE.md's "never corrupt code" invariant's neighbourhood, not
|
||||
just a UX refusal.
|
||||
- (g) file-level symlink under a **different** name: stays two files,
|
||||
consistent across startup/rescan/restart — matches the documented
|
||||
out-of-scope behaviour — ok.
|
||||
- (h) genuine duplicates behind an alias of a *different* real directory
|
||||
(`a/child.sv`, `b/child.sv`, `link_a -> a`): still refused, ambiguous,
|
||||
identically before and after a rescan — the tracker does not collapse
|
||||
two genuinely different directory identities just because one of them is
|
||||
reached through an alias — ok.
|
||||
- (i) the sibling-alias rescan's follow-through: confirmed by code reading
|
||||
(`server/index.rs::scan_once`, `self.rescan_wanted |= scan.wants_rescan()`
|
||||
runs *after* the scan-stepping loop, so `must_wait()` — which reads
|
||||
`rescan_wanted` — is already true for anything arriving between this
|
||||
scan's end and the rescan's end) and by a wire test that drains the
|
||||
startup scan and its self-triggered rescan fully, then asserts
|
||||
`!rescan_wanted && !must_wait()` and that the settled answer is the
|
||||
*rescanned* (canonical) spelling, never the head's — ok. I did not build
|
||||
a harness that injects a request mid-rescan (the staged test harness has
|
||||
no hook to pause between the two scans), so this is the outcome
|
||||
`must_wait` protects, confirmed, rather than an interleaved-request
|
||||
reproduction.
|
||||
|
||||
**Stats and the gate sabotage.** `scanprofile` on opentitan, candidate,
|
||||
`--tries 1`: `stats=0` at 0 extra buffers (workspace cold/warm, default
|
||||
scope, depth0) and at 10/100 extra buffers; `stats=58` at "1 open buffer"
|
||||
(2 buffers total, matching the dev's reported cell and number exactly);
|
||||
`discovery` 150–197 ms depending on cell, within the dev's ~162 ms claim.
|
||||
Sabotage: commented out the name-check in `Aliased::speaks_for`
|
||||
(`state/discover.rs:149-152`) in my scratch clone, rebuilt release, reran
|
||||
the same cells: `stats` jumped to **123** (0/10-extra-buffer default-scope
|
||||
cells), **3974/3970** (1/10-buffer workspace cells) — confirming the name
|
||||
gate is exactly what keeps the head-scope cost near zero when it is
|
||||
wired in. (This sabotage does not contradict finding (f) above — it shows
|
||||
the gate works *where it is called*, which is the head only.)
|
||||
|
||||
**The conflict follow-through and its sabotage.** Confirmed by reading
|
||||
`server/index.rs::scan_once` (line ~311): `self.rescan_wanted |=
|
||||
scan.wants_rescan()` sits after the scan-stepping `loop { … }`, so the
|
||||
held first answer is not delayed by it. Sabotage: commented out that one
|
||||
line in my scratch clone, rebuilt, reran the shipped
|
||||
`an_alias_beside_the_open_folder_indexes_once_and_asks_for_one_rescan`
|
||||
fixture: it fails as expected — `left: 1, right: 2` ("the startup scan and
|
||||
the one rescan it asked for"), i.e. no follow-up rescan ever runs even
|
||||
though `conflict=1 rescan_requested=1` is recorded on the trace. Restored
|
||||
both sabotaged files immediately after each experiment; diffed clean
|
||||
against the working tree afterwards.
|
||||
|
||||
**Controls (§61/P4), candidate vs a freshly-built 0.52.0, both from
|
||||
scratch clones, `scanwait`, 3 tries each on opentitan:** first useful
|
||||
definition cold 80.4 / 81.2 ms median (candidate/0.52.0, essentially
|
||||
equal); warm 115.9 / 115.3 ms; the answering session's own scan cold
|
||||
2732.7 / 2697.6 ms (+1.3%); warm 1036.8 / 996.7 ms (+4.0%). All within the
|
||||
±10% band; no regression.
|
||||
|
||||
**Traceability.** Checked 12 numbers from the dev's table and prose
|
||||
against `~/.cache/lucisv-perf/f1/results.jsonl`: workspace scan cold/warm
|
||||
2878.9/2886.0 and 1044.2/1039.6, first useful answer cold/warm samples
|
||||
around 81.9–82.3 and 115.6–117.6, `discovery` 179.2/162.2 (`stages.
|
||||
discovery`/`stages.walk`), the 1/10/100-buffer settle triple 1100/1098/1251
|
||||
(0.52.0) and 1134/1074/1218 (f1), and warm idle RSS 427856/426048 — every
|
||||
one is present verbatim in that file, against the row its label says.
|
||||
|
||||
**Topo.** The two sentences the dev's Handshakes section said were owed to
|
||||
the lead (the tracker's cross-walk promise, and `has_conflict` being
|
||||
server-visible) are **already in `docs/topo.md`**'s `lucisv_server ──▶
|
||||
lucisv_core` row as of this diff — nothing outstanding there. What *is*
|
||||
now owed, given finding (f): a sentence (or a Handshakes amendment) saying
|
||||
the open-buffer alias gate's actual scope is the split's head only, not
|
||||
the whole scan, until `rest_of_scope`/`land_discovery` are given the same
|
||||
check — otherwise the topo row's promise ("no file is discovered under two
|
||||
spellings") overstates what the shipped code does for file-level aliases
|
||||
outside the head.
|
||||
|
||||
**opentitan**: `git -C .../opentitan status --porcelain` checked before,
|
||||
during and after every phase — always exactly the three pre-existing
|
||||
modified files. **Guard**: every cargo/test/build/bench invocation (main
|
||||
tree and both scratch clones) ran through `tools/guard.sh -m 8 -t …`; no
|
||||
kills. No lingering background processes or poll loops left running at
|
||||
session end. Fixed directly (no code changes needed): none — finding (f)
|
||||
is a design gap, not a small unambiguous fix, and is left for the dev.
|
||||
|
||||
**TODO §62.1's QA line is left unchecked.** Recommend: extend the
|
||||
`Aliased` check (or an equivalent identity filter) to `rest_of_scope`'s
|
||||
output before it lands in the scan, add fixture (f) above to the shipped
|
||||
suite, and re-run this QA pass.
|
||||
|
||||
### 2026-09-09 — QA (Sonnet), TODO §62.1 re-verification: REWORK — a newly-opened buffer's own file can vanish from the index
|
||||
|
||||
**Verdict: REWORK.** The lead's fix for finding (f) is itself correct — the
|
||||
sibling-alias/file-symlink matrix is green, sabotage confirms the gate is
|
||||
load-bearing, and the specific reproduction QA's last pass filed is closed.
|
||||
But the fix as shipped introduces a **new, more severe** regression: the
|
||||
same `Aliased` check that now runs in `Workspace::rest_of_scope` can drop a
|
||||
just-opened buffer's own real file from the scan entirely — not duplicate
|
||||
it, not misspell it, **omit it** — so that module is silently absent from
|
||||
the index for the rest of that scan. This is closer to CLAUDE.md's "never
|
||||
corrupt code" neighbourhood than finding (f) was: (f) produced a spurious
|
||||
*second* copy; this produces *zero* copies.
|
||||
|
||||
**How it was found.** Guarded `cargo test --workspace --locked` in a fresh
|
||||
clone (`git archive HEAD` at `3ceba21` + `git apply` of the working-tree
|
||||
diff, under my scratchpad, never the dev's tree) is **not green**:
|
||||
|
||||
```
|
||||
failures:
|
||||
state::tests::a_file_opened_mid_scan_lengthens_the_neighbourhood_it_jumps_into
|
||||
test result: FAILED. 1663 passed; 1 failed; 36 ignored; 0 measured
|
||||
```
|
||||
|
||||
This is a **pre-existing, dev-authored** fixture (`state/mod.rs:4062`,
|
||||
untouched by this diff — it has nothing to do with aliases) that opens a
|
||||
second buffer mid-scan and checks the neighbourhood segment length. I
|
||||
confirmed it is not flaky: 5/5 deterministic failures in the diffed clone,
|
||||
5/5 deterministic passes in an undiffed clone built from the same `3ceba21`
|
||||
snapshot with no diff applied. It is a genuine regression of this round's
|
||||
change, not noise.
|
||||
|
||||
**Root cause, isolated by instrumentation** (temporary `eprintln!`s in my
|
||||
scratch clone only, reverted immediately after — diffed clean against the
|
||||
shipped patch both times, confirmed byte-identical). The failing fixture
|
||||
opens `ip/aes/dv/tb/tb.sv`, steps one file, then opens
|
||||
`ip/uart/rtl/uart.sv` and calls `Workspace::open_next`
|
||||
(`state/mod.rs:1544`), which unconditionally calls `discover_the_rest`
|
||||
(`state/mod.rs:900`) before reordering — this part is unchanged by the
|
||||
current diff and is correct. `discover_the_rest` calls the new
|
||||
`rest_of_scope(&mut pending, …)` (`state/discover.rs:652`). Printing
|
||||
`scan.remaining()` right after `open_next` returns: **`uart.sv` is not in
|
||||
the work list at all** — 10 files instead of the 11 the tree holds beyond
|
||||
the one already stepped. A second probe confirmed the consequence directly:
|
||||
after `finish_scan`, `ws.index().units("uart_pkg").len()` is **0** — the
|
||||
buffer's own module was never indexed by this scan.
|
||||
|
||||
The mechanism: `rest_of_scope`'s new gate (`state/discover.rs:682`,
|
||||
`if seen.contains(&found.path) || aliased.speaks_for(&found.path, &mut
|
||||
stats)`) builds `aliased` from **every currently-open buffer's path**
|
||||
(`spoken_for`, line ~672) at the moment the remaining walk runs — which is
|
||||
*after* `uart.sv` was opened. When the walk discovers `uart.sv` for the
|
||||
first time, `Aliased::speaks_for` matches it by name ("uart.sv") and then
|
||||
by identity (`dir_id` — trivially equal, since it's checking the file
|
||||
against *itself*) and reports it "spoken for", so it is dropped from
|
||||
`files` and never reaches `scan.work`. `rest_of_scope` has **no equivalent**
|
||||
of `overlay_buffers`'s own re-add step (`state/discover.rs:246`,
|
||||
`files.retain(|p| p != &path); … files.push(path)`), which is what makes
|
||||
the identical-looking check safe in `overlay_buffers` (line 216) but unsafe
|
||||
here: `overlay_buffers` drops a spoken-for path and then unconditionally
|
||||
puts every open buffer's path back at the end; `rest_of_scope` only ever
|
||||
drops. Before this round's fix, `rest_of_scope` had no `Aliased` check at
|
||||
all, so `uart.sv` passed through untouched, landed in `scan.work`, and was
|
||||
read fresh off disk when stepped (correct, if by luck rather than by the
|
||||
buffer's own text) — matching 0.52.0. This round's extension of the gate to
|
||||
`rest_of_scope` is what turned that "correct by luck" path into a silent
|
||||
drop, precisely because `Aliased::speaks_for` cannot distinguish "a second
|
||||
spelling of a file already accounted for" (the case it exists to catch)
|
||||
from "the first and only discovery of a buffer that was opened after the
|
||||
head walk ran" (a case its own docstring assumes cannot happen —
|
||||
`rest_of_scope`'s comment says "a buffer's path is in `pending.seen`", true
|
||||
only when nothing opened between `first_scope` and `discover_the_rest`,
|
||||
which is exactly what `Workspace::open_next` exists to falsify).
|
||||
|
||||
**Not an isolated fixture problem.** None of the round's own 9+2 alias
|
||||
fixtures (nor my (j)/(k) below) exercise a `didOpen` arriving *during* a
|
||||
still-pending split discovery, so none of them could have caught this. The
|
||||
two existing mid-scan-`didOpen` fixtures
|
||||
(`a_did_open_that_beats_the_answer_is_folded_into_the_one_scan_and_indexed_
|
||||
first`, `a_did_open_answered_mid_scan_pulls_its_folder_in_front_of_the_
|
||||
request_behind_it`) check that a request is answered and that reordering
|
||||
happens; neither asserts the newly-opened file's own module actually lands
|
||||
in the finished index, which is why the workspace suite's *only* red light
|
||||
is the one unrelated fixture that happens to count work-list length.
|
||||
|
||||
**Left for the dev, not redesigned by QA.** Two directions, either owed a
|
||||
decision: (a) minimal — in `rest_of_scope`, an exact path match against
|
||||
`spoken_for` (the buffer's own real path, first discovery) must not be
|
||||
treated as "already handled" the way a *different*-path same-identity match
|
||||
is; it needs to still land in `scan.work` (`overlay_buffers` already draws
|
||||
this distinction at line 216 before ever consulting `Aliased`, `rest_of_
|
||||
scope` does not). (b) more complete — a buffer opened after the head walk
|
||||
has no entry in `scan.buffered`, so even a naive fix that re-includes such a
|
||||
path indexes it by re-reading disk rather than the buffer's own text
|
||||
(harmless in this fixture, which has no unsaved edit, but a live regression
|
||||
of `docs/features/index-scope/README.md`'s "the buffer's text overrides
|
||||
disk" rule the moment there is one) — `discover_the_rest`/`land_discovery`
|
||||
have no path today to feed a newly-discovered buffer's text into
|
||||
`scan.buffered`.
|
||||
|
||||
**Sabotage of the fix under review — still holds.** Removed the
|
||||
`aliased.speaks_for(&found.path, &mut stats)` half of `state/
|
||||
discover.rs:682` (leaving only `seen.contains`), rebuilt, reran the shipped
|
||||
fixture `a_same_named_file_symlink_outside_the_head_is_not_a_second_copy_
|
||||
of_the_buffer`: **fails** as required — `left` (startup) shows three files
|
||||
including `alias_dir/tb.sv`, `right` (rescan) shows two — the startup/
|
||||
rescan disagreement finding (f) named exactly. Restored; diffed byte-
|
||||
identical against the shipped patch afterwards.
|
||||
|
||||
**The matrix (a)–(k), fresh clone, same method as last time.** All of (a)
|
||||
through (i) reconfirmed passing (33 `startup::` tests green as a block,
|
||||
`--test-threads=4`). Two new fixtures added to a scratch copy of `server/
|
||||
tests/startup.rs` (QA-only, not shipped):
|
||||
- **(j)** a same-named file symlink *inside* the head folder
|
||||
(`z_real/sub/tb.sv -> ../tb.sv`, buffer open at `z_real/tb.sv`) —
|
||||
exercises the **head's own** gate (`overlay_buffers`, `state/
|
||||
discover.rs:223`) rather than `rest_of_scope`'s: passes, one `tb.sv`, one
|
||||
target, renamable.
|
||||
- **(k)** a same-named but genuinely *different* file outside the head
|
||||
(`other/tb.sv`, declaring `othertb`, a different inode) — passes: two
|
||||
distinct `tb.sv` paths indexed, `other/tb.sv` present, one `child`
|
||||
target. Confirms `speaks_for`'s identity check (not just the name check)
|
||||
is what keeps a real second file from being dropped — the finding above
|
||||
is specifically about a *self*-match (buffer vs. its own first-time
|
||||
discovery), not a false positive on an unrelated same-named file.
|
||||
|
||||
Both new fixtures pass; the alias-specific behaviour this round targets is
|
||||
correct. The regression is orthogonal to the alias matrix and sits in the
|
||||
interaction with mid-scan `didOpen`.
|
||||
|
||||
**Stats — measured, and the "still 0" expectation does not hold.**
|
||||
`scanprofile` on opentitan, candidate build (`cargo build --release
|
||||
--locked -p lucisv_server`), `--tries 1`, guarded:
|
||||
|
||||
| cell (harness label) | total open buffers | `stats` | `walk_dirs` | `discovery` ms |
|
||||
|---|---:|---:|---:|---:|
|
||||
| workspace, cold | 1 (`tb.sv` only) | **58** | 2 | 208.5 |
|
||||
| workspace, warm | 1 | **58** | 2 | 169.1 |
|
||||
| workspace warm, "1 open buffer" | 2 | **58** | 3 | 200.4 |
|
||||
| workspace warm, "10 open buffers" | 11 | **58** | 3 | 199.0 |
|
||||
| workspace warm, "100 open buffers" | 101 | **58** | 3 | 197.7 |
|
||||
| default / depth0, cold+warm | 1 | 0 | 0–1 | ≤2.6 |
|
||||
|
||||
**With only `tb.sv` open, `stats` is 58, not 0.** The dev's original F1
|
||||
work-log number (0 at "0 or 1 open buffers") was measured *before* finding
|
||||
(f)'s patch, when `Aliased` ran only inside the head's ~124-file
|
||||
neighbourhood and `tb.sv` had no other same-named file there to match. Now
|
||||
that `rest_of_scope` runs the same check across the **~3 850-file rest of
|
||||
the workspace**, opentitan's convention of naming testbenches `tb.sv`
|
||||
pervasively across many IP verification trees means 58 genuinely different
|
||||
`tb.sv` files are found tree-wide, each costing one name-match + one
|
||||
`dir_id` stat (correctly not filtered, since none is actually this buffer's
|
||||
identity — consistent with fixture (k) above). This is the *correct*,
|
||||
intended cost of extending the gate to the whole workspace, and at ~0.06 ms
|
||||
total (the dev's own per-stat estimate) it is not a performance concern —
|
||||
but it is **not** "still 0" as I'd been asked to confirm, and the number
|
||||
being flat at 58 across 1/2/11/101 total buffers (rather than growing with
|
||||
buffer count) is because the extra opened files are additional RTL modules
|
||||
whose names ("aes.sv", "aes_alert_sender.sv", …) do not happen to collide
|
||||
with anything elsewhere in the tree — an artifact of which files
|
||||
`rtl_files()` happens to pick, not a bound the code enforces. Reporting the
|
||||
actual measurement rather than confirming the assumption.
|
||||
|
||||
**Controls, candidate vs. the round's own targets (§61/F1), same opentitan
|
||||
tree, guarded, `--tries 3`:** first useful definition cold 79.3/79.6/81.1 ms
|
||||
(median 79.6, vs. the F1 table's 81.9 — within noise); warm 115.4/116.2/
|
||||
116.4 ms (median 116.2, vs. 117.5 — within noise); warm settled 1001.3 ms
|
||||
(vs. ~1 039–1 134 across the F1 table's buffer cells — at or below, no
|
||||
regression); cold settled 2 764.8 ms (vs. 2 886.0 — below). All within the
|
||||
±10% band asked for. **The regression above does not show up in these
|
||||
numbers** because none of these phases opens a second buffer mid-scan
|
||||
during a still-pending discovery — it is a correctness gap, not a
|
||||
performance one, and the perf harness does not exercise the code path that
|
||||
has it.
|
||||
|
||||
**Gates.** `cargo fmt --all -- --check`: clean. Guarded `cargo clippy
|
||||
--workspace --all-targets --locked -- -D warnings`: clean, no new
|
||||
`#[allow]`. Guarded `cargo test --workspace --locked`: **1 failed** (above);
|
||||
every other crate green (`lucisv` 36+113, `lucisv_core` 111,
|
||||
`vlog_formatter`+tests 315, `vlog_linter`+tests 667, `vlog_parser`+tests
|
||||
508, `vlog_refactor`+tests 550, `vlog_semantic`+tests 328 — all 0 failed);
|
||||
`lucisv_server`: **1 663 passed, 1 failed, 36 ignored** of 1 700. Production
|
||||
line count, `state/discover.rs` (no local test module): **409** non-blank/
|
||||
non-comment (raw 787 lines — the finding-(f) patch added the `Aliased`
|
||||
struct and its use in `rest_of_scope`; still comfortably under 600).
|
||||
|
||||
**opentitan.** `git -C .../opentitan status --porcelain` checked before and
|
||||
after every phase: always exactly the three known pre-existing modified
|
||||
files (`hw/ip/aes/dv/tb/tb.sv`, both `ast.sv`s), never anything else.
|
||||
**Guard:** every cargo/build/test/perf invocation, main clone and the
|
||||
undiffed control clone, ran through `tools/guard.sh -m 8 -t …`; zero kills.
|
||||
No lingering background processes at session end beyond the user's own
|
||||
pre-existing VS Code `lucisv-server --stdio` (0.51.0, not something this
|
||||
session started). All experiments — the workspace-test isolation, the two
|
||||
instrumented probes (reverted, diffed clean), the sabotage, fixtures (j)/
|
||||
(k), the release build and perf phases — ran in `/private/tmp/…/scratchpad/
|
||||
qa-62b/repo` (the diffed clone) or `/private/tmp/…/scratchpad/qa-62b-base/
|
||||
repo` (an undiffed control), never the main tree.
|
||||
|
||||
**Not repeated, per the task's own instruction: the previous QA's
|
||||
reproduction-on-both-binaries check and the conflict-follow-through
|
||||
sabotage** — the diff does not touch `has_preceding_alias`, `precedes_a_
|
||||
target`, or `Scan::wants_rescan`'s call site, and both were already
|
||||
verified in the prior pass.
|
||||
|
||||
**TODO §62.1's QA line stays unchecked.** Recommend: fix the self-match gap
|
||||
in `rest_of_scope` (two candidate directions above, a decision for the
|
||||
dev), add a fixture that opens a second buffer mid-split-discovery and
|
||||
asserts the new module is indexed (not just that a request is answered or
|
||||
that reordering happened), and re-run this QA pass including the matrix
|
||||
above (already green and reusable) plus the new fixture.
|
||||
|
||||
### 2026-09-09 — QA (Sonnet), TODO §62.1 third pass: PASS
|
||||
|
||||
**Verdict: PASS.** The lead's fix for the self-match gap is exactly the
|
||||
minimal direction (a) the previous pass left open: `rest_of_scope`
|
||||
(`crates/lucisv_server/src/state/discover.rs:686-690`) now computes
|
||||
`another_spelling = !spoken_for.contains(found.path.as_path())` and asks
|
||||
`aliased.speaks_for` only when `another_spelling` is true — the gate is never
|
||||
asked about a path that is an open buffer's *own* spelling, so a buffer
|
||||
opened mid-scan for the first time still lands in `scan.work`, while a
|
||||
second, different path reaching the same identity is still dropped. Read
|
||||
against the two prior findings ((f) and the self-match regression): both
|
||||
scenarios are now handled by one condition, not two competing ones.
|
||||
|
||||
**Gates, guarded, fresh clone** (`git archive 3ceba21` + `git apply` of the
|
||||
working-tree diff, under my scratchpad, never the main tree — the lead was
|
||||
running the full gate chain there concurrently, so no timing was taken).
|
||||
`cargo fmt --all -- --check`: clean. `cargo clippy --all-targets --locked --
|
||||
-D warnings`: clean, no new `#[allow]` in the diff (checked by grep, not
|
||||
just by eye). `cargo test -p lucisv_server --bin lucisv-server --locked`:
|
||||
**1 664 passed, 0 failed, 36 ignored** — the whole server binary green,
|
||||
including `state::tests::a_file_opened_mid_scan_lengthens_the_neighbourhood_
|
||||
it_jumps_into` (the second pass's regression, now `ok`) and all 39
|
||||
startup-adjacent tests (31 of them in `server::tests::startup::` itself, all
|
||||
`ok`), matching the task's expected 1 664/0/36 exactly.
|
||||
|
||||
**Sabotage 1 (the fix under review).** Reverted `rest_of_scope`'s gate to
|
||||
the second pass's own bug — `if seen.contains(&found.path) ||
|
||||
aliased.speaks_for(&found.path, &mut stats)`, dropping the `another_spelling
|
||||
&&` guard — rebuilt, reran: `a_file_opened_mid_scan_lengthens_the_
|
||||
neighbourhood_it_jumps_into` **fails** (`left: true, right: false` at
|
||||
segment index 4) and a new fixture of mine (below) fails the same way
|
||||
(`uart_pkg` unit count `0` instead of `1`). Restored; diffed byte-identical
|
||||
against the shipped patch afterwards.
|
||||
|
||||
**Sabotage 2 (the gate itself, reconfirming the second pass's own
|
||||
sabotage).** Removed the whole `aliased.speaks_for(...)` disjunct from
|
||||
`rest_of_scope`, leaving only `seen.contains`, rebuilt, reran the shipped
|
||||
`a_same_named_file_symlink_outside_the_head_is_not_a_second_copy_of_the_
|
||||
buffer`: **fails** exactly as before — startup indexes three files
|
||||
(`alias_dir/tb.sv` sneaks back in), rescan indexes two, `"the startup scan
|
||||
and a whole rescan must agree"` fails. Restored; byte-identical.
|
||||
|
||||
**Two new attacks, both added to `state/mod.rs`'s test module in the clone
|
||||
(QA-only, not shipped — a `Tree::link` helper had to be added there too,
|
||||
also QA-only):**
|
||||
- `a_buffer_opened_mid_scan_with_its_own_alias_elsewhere_is_indexed_once_
|
||||
not_dropped`: `neighbourhood_tree` plus `other/uart.sv -> ../ip/uart/rtl/
|
||||
uart.sv` (same basename as the buffer's own file, reachable only by the
|
||||
remaining walk once `uart.sv` becomes a buffer). After the scan:
|
||||
`units("uart_pkg").len() == 1`, exactly one `uart.sv` in the index (the
|
||||
buffer's own spelling `ip/uart/rtl/uart.sv`), and `other/uart.sv` is the
|
||||
one dropped. This is the case Sabotage 1 breaks (see above) — the own
|
||||
path and the genuine alias are told apart correctly by the fix.
|
||||
- `a_buffer_opened_mid_scan_whose_path_was_already_seen_is_unchanged`: opens
|
||||
a second buffer at `ip/aes/rtl/aes.sv`, already inside the head's own
|
||||
neighbourhood and therefore already in `pending.seen` by the time it
|
||||
becomes a buffer. `seen.contains` short-circuits before `Aliased` is ever
|
||||
consulted; `units("aes_pkg")` and `units("tb_pkg")` both stay at 1, one
|
||||
`aes.sv` in the index — unaffected by this round's gate, as expected.
|
||||
|
||||
Both pass against the shipped fix; both were run under Sabotage 1 too (the
|
||||
first fails as noted above; the second is unaffected by Sabotage 1, since
|
||||
`seen.contains` alone already protects it — consistent with the mechanism).
|
||||
|
||||
**The matrix (a)-(k), fresh clone, same method as the prior two passes.**
|
||||
All of (a)-(i) reconfirmed via the shipped suite (`an_alias_sorting_before/
|
||||
after_its_target`, `several_aliases_of_one_directory`, `an_alias_of_an_
|
||||
ancestor`, `an_ancestor_cycle` — covers (b) — `an_ignored_alias`, `an_open_
|
||||
unsaved_buffer`, `a_genuine_duplicate_declaration`, `an_alias_beside_the_
|
||||
open_folder` — covers (i) — and `a_same_named_file_symlink_outside_the_
|
||||
head` — (f), attacked above). Six more QA-only fixtures appended to a
|
||||
scratch copy of `server/tests/startup.rs` to cover what nothing shipped
|
||||
names directly:
|
||||
- (a) `qa_an_alias_to_a_directory_outside_the_workspace_root_is_followed_
|
||||
and_pinned` — followed, one target, renamable; pinned, not asserted
|
||||
correct.
|
||||
- (e) `qa_a_broken_symlink_beside_the_open_folder_does_not_crash_and_
|
||||
contributes_nothing` — no panic, contributes no file.
|
||||
- (g) `qa_a_file_level_symlink_under_a_different_name_stays_two_files` — a
|
||||
different name is out of the gate's scope by design; stays two paths.
|
||||
- (h) `qa_genuine_duplicates_behind_an_alias_of_a_different_directory_stay_
|
||||
ambiguous` — `link_a -> a` beside a genuinely different `b`; still
|
||||
refused ambiguous.
|
||||
- (j) `qa_a_same_named_file_symlink_inside_the_head_folder_is_the_heads_
|
||||
own_gate` — exercises `overlay_buffers`'s gate; one `tb.sv`, renamable.
|
||||
- (k) `qa_a_same_named_but_genuinely_different_file_outside_the_head_is_
|
||||
kept` — a different inode under the same basename; kept as two files, one
|
||||
`child` target — confirms identity, not just name, is what the gate
|
||||
relies on.
|
||||
|
||||
All eleven matrix letters pass. `cargo test -p lucisv_server --bin
|
||||
lucisv-server --locked -- qa_` (my prefix, which also matched 62 pre-existing
|
||||
`qa_`-named tests elsewhere in the tree): **68 passed, 0 failed, 11
|
||||
ignored** — nothing else disturbed.
|
||||
|
||||
**opentitan, real tree, counts only (no timing taken per the task's
|
||||
instruction).** Built the candidate release binary in the clone. `scanprofile
|
||||
--tries 1`: `workspace warm, "1 open buffer"` cell — `stats=58, walk_dirs=3,
|
||||
buffers=2, conflict=0, rescan_requested=0`; `workspace, cold`/`warm` (0
|
||||
extra buffers) — `stats=58, walk_dirs=2`; `10`/`100`-buffer cells — `stats=58`
|
||||
again; `default scope` and `depth0` cells — `stats=0`. Matches the second
|
||||
pass's disclosed number exactly (58, not 0, because the gate now runs
|
||||
tree-wide over same-named files across opentitan's pervasive `tb.sv`
|
||||
naming) — not re-litigated as a regression, per the task's framing.
|
||||
|
||||
**The mid-scan `didOpen` on the real tree.** A standalone script (`lspclient.
|
||||
Session`, `workspace: {scope: "workspace", scopeDepth: 0}`, cold store) opened
|
||||
`hw/ip/aes/dv/tb/tb.sv`, then — 50 ms later — `hw/ip/uart/rtl/uart.sv`,
|
||||
waited for quiet, and asked `textDocument/documentSymbol` on `uart.sv`:
|
||||
`['uart']` — the module resolves. The server's own `--verbose` log shows
|
||||
exactly one `indexing: .../hw/ip/uart/rtl/uart.sv` line, not two. Re-run
|
||||
against a build with Sabotage 1 applied: **identical result, no
|
||||
difference observed** — the 50 ms window did not land inside the vulnerable
|
||||
call (`open_next`'s `discover_the_rest` is one synchronous walk-and-filter
|
||||
call per `didOpen`, fast enough on this tree that wall-clock racing is not a
|
||||
reliable way to hit it; the deterministic `state/mod.rs` unit tests above,
|
||||
which control `scan_step` by hand rather than by clock, are the ones that
|
||||
actually exercise and break under Sabotage 1). Reporting this honestly
|
||||
rather than claiming the wire-level script proves what only the unit-level
|
||||
sabotage actually proved — the opentitan requirement asked for was "the
|
||||
module resolves after settle," which it does; it was not a reliable
|
||||
vehicle for the sabotage itself.
|
||||
|
||||
**opentitan status.** `git -C .../opentitan status --porcelain` checked
|
||||
before and after every phase (`scanprofile`, both mid-scan script runs):
|
||||
always exactly the three known pre-existing modified files
|
||||
(`hw/ip/aes/dv/tb/tb.sv`, both `ast.sv`s), never anything else.
|
||||
|
||||
**Guard.** Every cargo/build/test/perf/script invocation — main-tree reads
|
||||
aside, no main-tree writes — ran through `tools/guard.sh -m 8 -t …`; zero
|
||||
kills. No lingering background processes or poll loops at session end
|
||||
(`ps aux` shows only the user's own pre-existing 0.51.0 VS Code
|
||||
`lucisv-server --stdio`, not anything this session started). All
|
||||
experiments — both sabotages (each restored and diffed byte-identical
|
||||
against the shipped patch immediately after), the new `state/mod.rs`
|
||||
fixtures (with a QA-only `Tree::link` added there), the six new `startup.rs`
|
||||
matrix fixtures, the release build, `scanprofile`, and the mid-scan `didOpen`
|
||||
script — ran in `/private/tmp/…/scratchpad/qa-62c/repo`, never the main
|
||||
tree, which was never modified (`git diff --stat` on the three touched files
|
||||
matches the session-start snapshot exactly, confirmed before finishing).
|
||||
|
||||
**TODO §62.1's QA line is now checked.** Nothing further recommended for
|
||||
this fix; N1-N3 and closing remain as filed in TODO.md.
|
||||
|
||||
## Review
|
||||
|
||||
**2026-09-08 (lead).** Accepted. Read `state/discover.rs`, the two walk
|
||||
@@ -831,3 +1574,44 @@ Docs applied at merge: topo (`lucisv_server ──▶ lucisv_core` walk
|
||||
entries; the `state::discover` module; the two-phase startup and
|
||||
`OPENING_FILE_WAIT`); folders-and-config's Assumptions amended; the
|
||||
local-record load and the double subtree walk to the loop-3 list.
|
||||
|
||||
**2026-09-09 (lead, F1 — the 0.52.0 review's finding).** Accepted after
|
||||
two passes and a lead fix.
|
||||
|
||||
- The finding was real and the reviewer's fixture reproduces it on
|
||||
0.52.0 exactly as written: two spellings of one directory, two
|
||||
definition targets, a valid rename refused until a rescan. The cause
|
||||
was the two walks of the split discovery keeping separate visited
|
||||
sets — the `(dev, ino)` identity contract held inside each walk and
|
||||
not between them.
|
||||
- The other agent's implementation had the right shape (one tracker
|
||||
shared across both walks; a pre-check that falls back to the single
|
||||
canonical walk when an alias sorts before the open folder; the
|
||||
`HEAD_WALK_MAX` fallback no longer unioning the head) and two
|
||||
shortfalls the finishing lane closed: it stat'd every discovered file
|
||||
once per open buffer (the second stat §61.3 had removed, times the
|
||||
buffer count), now gated on the file name so `stats` is 0 again on
|
||||
opentitan; and a conflict the remaining walk detects was recorded and
|
||||
ignored, now turned into exactly one ordinary rescan so startup and
|
||||
rescan converge on the canonical spelling in the case no pre-check can
|
||||
see. Nine fixtures assert index paths, definitions, prepareRename and
|
||||
diagnostics agree across startup, rescan and restart, the genuine
|
||||
duplicate still refused word for word.
|
||||
- QA's second pass found the gate applied to the head walk and not to
|
||||
the remaining walk: a same-named file symlink outside the open folder
|
||||
still doubled the buffer. Fixed by the lead — both walks ask the same
|
||||
`Aliased` question — with QA's fixture shipped. QA's third pass then
|
||||
caught the lead's own regression: the gate in the remaining walk
|
||||
matched a buffer opened mid-scan against its own file and dropped it,
|
||||
so that module vanished from the index (a pre-existing test said so).
|
||||
Fixed the same day: the gate is asked only about a path that is not a
|
||||
buffer's own — the own spelling always lands, only other spellings are
|
||||
dropped. Two QA findings on one gate is the record of what a lead fix
|
||||
without its own QA costs; both are pinned now.
|
||||
- The harness half (F2/F3) is the other agent's with two more bugs the
|
||||
finishing lane found (a quiet-control row that could not record; a
|
||||
scan duration used as an offset); a brand-new store now primes
|
||||
untimed and the completion stamp is the scan's own end event.
|
||||
- Out of scope, written down: a file-level symlink under a *different*
|
||||
name is two files; a buffer opened mid-scan is not put through the
|
||||
alias test (unchanged since 0.51.0).
|
||||
@@ -834,6 +834,106 @@ wrong) and one documentation inaccuracy (`includes.rs`'s cited line count).
|
||||
|
||||
TODO §61.4's QA line ticked below.
|
||||
|
||||
### 2026-09-09 — independent 0.52.0 review: load-probe corrections needed
|
||||
|
||||
The publication improvement was independently reproduced against 0.51.0:
|
||||
with two open buffers and 35 requests every 100 ms per process, three properly
|
||||
warmed processes per version, median server scan duration fell 4,247 → 1,771 ms,
|
||||
publishes 34 → 4, all 105 requests answered and all equal to the settled
|
||||
target. The full-window request median fell 1,947 → 2.03 ms; this includes
|
||||
post-scan responses. Cross-folder probes returned the settled target in all
|
||||
750 candidate responses, versus 399 premature empty answers in the reference.
|
||||
|
||||
**Two harness findings, F2/F3 (P2), open:** `load_cell` labels a fresh store
|
||||
warm without priming it (a separate proof measured 3,974 misses and 1,684 ms
|
||||
parsing on the first nominally warm run, versus 3,974 hits and zero misses on
|
||||
the second). Also, `settled_at` mistakes `wait_quiet`'s positive entry-time
|
||||
delta for new scan activity. Candidate `settled_ms` follows the 3.4-second
|
||||
request window even though the scan ends at about 1.77 seconds, and all 105
|
||||
responses are mislabeled mid-scan. The review therefore uses a warmed rerun
|
||||
and `publication.scan_total`, not the erroneous completion/partition fields.
|
||||
|
||||
No implementation was changed. [Full review and repair gates](../../performance_052_review.md),
|
||||
[raw evidence](../../perf/review-052-20260909/README.md). These findings do not
|
||||
assert that all previous warm runs were unprimed or invalidate the measured
|
||||
publication-count reduction.
|
||||
|
||||
**2026-09-09, later — F2 and F3 are fixed** (dev, in the F1 lane; the harness
|
||||
half of the same round). `phases_r4.prime` runs one untimed session before a
|
||||
warm cell's first timed trial and `cell_status` refuses a warm cell whose trial
|
||||
found nothing in the store: with a brand-new `--storage`, both timed trials now
|
||||
report 3 975 hits and 0 misses. `Session.scan_completed_at` is stamped in the
|
||||
reader thread on the indexing bar's own `$/progress` `end`, so `settled_ms`
|
||||
reads 1 774 ms for a scan the server's own trace calls 1 768 ms — not the
|
||||
3 406 ms of the request window — and the responses partition 32 mid-scan /
|
||||
38 after-settle instead of every one of them mid-scan. Widening the window
|
||||
3 500 → 5 000 ms leaves completion at 1 781/1 791 ms and grows only the
|
||||
after-settle count (38 → 64), which is the review's own check. Details and
|
||||
numbers: `docs/perf/take5-tracking.md`, the F2/F3 rows.
|
||||
|
||||
### 2026-09-09 — QA (Sonnet), TODO §62.2: PASS
|
||||
|
||||
**Verdict: PASS.** Read the diff (`tools/perf/lspclient.py`,
|
||||
`tools/perf/phases_r4.py`) and reran both harness fixes against the
|
||||
candidate server on opentitan, guarded, from the main tree.
|
||||
|
||||
**F2, a brand-new `--storage`, 2 independent tries (fresh directories
|
||||
both times), `scanloadprobe` (the fast one-warm-cell loop):**
|
||||
|
||||
| Try | cache_hits | cache_misses | status |
|
||||
|---|---|---|---|
|
||||
| 1 | [3975, 3975] | [0, 0] | ok |
|
||||
| 2 | [3974, 3974] | [0, 0] | ok |
|
||||
|
||||
Both timed trials hit on both tries — `phases_r4.prime`'s untimed session
|
||||
does fill the store before the first timed measurement, and `cell_status`
|
||||
found nothing to refuse. (I did not additionally force a warm cell to
|
||||
report a real miss to see the "error" path fire — the diff's own
|
||||
`cell_status` branch is a direct, three-line read: `if cache == "warm" and
|
||||
any(hits == 0 ...)`, unambiguous by inspection.)
|
||||
|
||||
**F3, the same runs' scan-completion accounting:**
|
||||
|
||||
| Try | scan_completed_ms | server trace `scan_total` | scan_ends | mid_scan / after_settle |
|
||||
|---|---|---|---|---|
|
||||
| 1 | 1494.31 / 1494.86 | 1485.73 / 1486.24 | 1 / 1 | 30 / 40 |
|
||||
| 2 | 1753.85 / 1745.77 | 1744.80 / 1736.47 | 1 / 1 | (not recorded) |
|
||||
|
||||
`scan_completed_ms` sits within 9 ms of the server's own reported
|
||||
`scan_total` in both tries (well inside the ±20 ms the task asked to
|
||||
check), exactly one `end` per session, and responses split sanely between
|
||||
mid-scan and after-settle rather than all landing in one bucket.
|
||||
|
||||
**The widened window.** Copied `tools/perf/phases_r4.py` into my scratchpad
|
||||
and changed `WINDOW_MS["warm"]` 3500 → 5000 only there (never in the main
|
||||
tree), reran `scanloadprobe` against the candidate with a third fresh
|
||||
`--storage`: `scan_completed_ms` ≈ 1745–1751 ms — unmoved in kind from the
|
||||
3500 ms-window runs above (same corpus, same cursor, unrelated to how long
|
||||
the offered-load window ran) — while `after_settle_answers` grew 40 → 64,
|
||||
`mid_scan_answers` stayed in the same 30s band (36). Matches the review's
|
||||
own acceptance: completion stable, after-settle count grows with the
|
||||
window.
|
||||
|
||||
**The quiet-control row.** `load_cell`'s `record(**dict(got, ms=...))`
|
||||
call for `rate=0` was exercised as a side effect of every `scanloadprobe`
|
||||
run above's cell status line (`quiet control` is not itself a separate
|
||||
call in `scanloadprobe`, so I additionally re-read the `record(...)` call
|
||||
site at `tools/perf/phases_r4.py` — the merge is `dict(got, ms=...)` then
|
||||
splatted, and `got` (from `summary()`) carries no key that collides with
|
||||
the explicit `phase=`/`row=`/`fresh_process=`/`result_count=`/`rate_ms=`/
|
||||
`open_buffers=`/`note=` keywords also passed, so the `record(**got)`
|
||||
duplicate-keyword bug the tracker names as historical cannot recur here);
|
||||
no exception in any of the runs above, which all reach that call.
|
||||
|
||||
**Gates.** Covered under the §62.1 entry above (same guarded `cargo fmt`/
|
||||
`clippy`/`test --workspace` run; this feature's own files —
|
||||
`tools/perf/*.py` — are not compiled). **opentitan** unchanged
|
||||
throughout (checked alongside the §62.1 runs). **Guard**: every bench
|
||||
invocation ran through `tools/guard.sh -m 8 -t 1800 --`; no kills; no
|
||||
lingering processes.
|
||||
|
||||
**TODO §62.2's QA line is ticked.**
|
||||
|
||||
## Review
|
||||
|
||||
**2026-09-08 (lead).** Accepted, with one fix made by the lead and one
|
||||
|
||||
@@ -69,6 +69,12 @@ output). `NetDelay` now owns both of its gaps, `before_hash` and
|
||||
`lucisv_server::state::Workspace::walked_files` is the server's only caller
|
||||
and needed no change — its `sort`/`dedup` still runs, and now has less to
|
||||
do. `vlog_linter` uses `walk::is_excluded` only, which is untouched.
|
||||
**Amended 2026-09-09 (review finding F1):** the visited set is now a value a
|
||||
caller may own and share between two walks (`DirectoryTracker`,
|
||||
`collect_files_tracked`, `collect_files_below_tracked`), because the server's
|
||||
startup scan discovers its scope in two walks and the enter-once rule has to
|
||||
hold *between* them. The policy is unchanged and the old entries are
|
||||
wrappers; see the work log below.
|
||||
- **`vlog_parser::ast::NetDelay` → `vlog_formatter`** (topo §2.9-27, struck).
|
||||
Two new public fields, `before_hash` and `after_hash`, both
|
||||
`Vec<Comment>`. The only constructor is `Parser::parse_net_delay`; the only
|
||||
@@ -282,6 +288,36 @@ together with the warning channel the walk lacks. The opentitan
|
||||
reporting a same-directory symlink alias once — the intended change, noted
|
||||
in 0.43.0's release notes.
|
||||
|
||||
**2026-09-09 — the identity is now shared across walks (review finding F1).**
|
||||
43.1's contract — *each directory is entered once, by identity, and its files
|
||||
are reported under the first path that reached it* — was a contract about one
|
||||
`Walk`. The 0.52.0 startup scan discovers its scope in two walks (the user's
|
||||
own folder, then the rest of the workspace: `docs/features/perf5r-first-answer/README.md`),
|
||||
and two `Walk`s meant two `visited` sets, so a symlinked directory reached by
|
||||
both was reported twice under two spellings and the index held every module in
|
||||
it twice — a valid rename refused as ambiguous
|
||||
([the review](../../performance_052_review.md#f1--p2--split-startup-discovery-duplicates-modules-behind-directory-aliases)).
|
||||
|
||||
The set is now a value a caller may own: `Walk::visited` became
|
||||
`Walk.tracker: &mut DirectoryTracker`, and `collect_files_tracked` /
|
||||
`collect_files_below_tracked` take one. The **policy is unchanged** — the same
|
||||
`(dev, ino)` identity, the same enter-once rule, the same silent skip, the
|
||||
same dangling-link handling, and `collect_files_with`/`collect_files_below`
|
||||
still make a tracker of their own so a single walk behaves byte for byte as it
|
||||
did. What is new is a second answer for the caller that shares one:
|
||||
`DirStatus::PrecedenceConflict` says "already entered, under a path this one
|
||||
sorts *before*" — which is the case where the enter-once rule and a walk of
|
||||
the root would pick different spellings. A single walk never sees it (it meets
|
||||
the first spelling first, by construction); only a split does, and the server
|
||||
answers it with one ordinary rescan rather than by guessing.
|
||||
|
||||
Two `lucisv_core` unit tests pin the tracker itself
|
||||
(`tracker_detects_precedence_conflict_when_alias_sorts_before`,
|
||||
`tracker_allows_alias_sorting_after_without_conflict`); nine server fixtures
|
||||
in `server/tests/startup.rs` pin what the server does about it, cycles
|
||||
included — `sub/up -> ..` still terminates, still names each file once, and
|
||||
now agrees with a plain walk about how it spells them.
|
||||
|
||||
## QA log
|
||||
|
||||
**2026-09-05 — QA (Sonnet).** Built `target/release/{lucisv,lucisv_server}` once
|
||||
|
||||
@@ -1318,3 +1318,35 @@ the only thing noticing an unwatched `lucisv.toml` change).
|
||||
the store open; the two-phase discovery walks the open folder twice (+2.5–
|
||||
5 % on the 1/10-buffer settle); `format::indent_width` over an already-read
|
||||
`FileConfig`; the `absorb` whole-index merge as the next publication lever.
|
||||
|
||||
### 2026-09-09 — the 0.52.0 review (TODO §62)
|
||||
|
||||
An independent review of 0.52.0 (`docs/performance_052_review.md`,
|
||||
evidence `docs/perf/review-052-20260909/`) confirmed the review-round
|
||||
numbers and found one correctness defect and two harness defects. All
|
||||
three are fixed in 0.53.0; no performance number moved.
|
||||
|
||||
- **F1 — directory aliases in the split startup scan.** The open folder's
|
||||
walk and the rest-of-workspace walk kept separate visited sets, so a
|
||||
directory reachable by two spellings (`a_alias -> z_real`) was indexed
|
||||
twice at startup: two definition targets and a valid rename refused as
|
||||
ambiguous until a rescan. Fixed: one directory-identity tracker shared
|
||||
across both walks; a pre-check that takes the single canonical walk
|
||||
when an alias sorts before the open folder or an ancestor; an alias
|
||||
found only by the remaining walk requests one ordinary rescan so the
|
||||
spellings converge; the open-buffer alias gate applied to both walks
|
||||
and stat'ing only same-named files (`stats` 0 on opentitan). Nine
|
||||
fixtures assert startup, rescan and restart agree on index paths,
|
||||
definitions, prepareRename and diagnostics; a genuine duplicate is
|
||||
still refused. First answer, settle, discovery and the buffer cells
|
||||
are within noise of 0.52.0 (`docs/features/perf5r-first-answer/README.md`).
|
||||
- **F2/F3 — the load probe.** A warm `scanload` cell now primes an empty
|
||||
store untimed and records per-trial cache hits (a warm trial with none
|
||||
is an error); scan completion is stamped from the scan's own end event
|
||||
and responses are partitioned by it, not by the request window. The
|
||||
0.52.0 review's whole-window numbers stand; its `settled_ms`/mid-scan
|
||||
fields at 0.52.0 do not.
|
||||
- **N1–N3** (the dirty-buffer parse on the first action after an edit,
|
||||
the retained-analysis parse work and the 31 ms facts decode, the
|
||||
whole-index merge per publication) are filed with the review's
|
||||
baselines and deferred to loop 3.
|
||||
@@ -0,0 +1,73 @@
|
||||
# Independent 0.52.0 review evidence — 2026-09-09
|
||||
|
||||
[Review, findings and assessment](../../performance_052_review.md) ·
|
||||
[Tracking file](../take5-tracking.md)
|
||||
|
||||
Candidate: `3ceba21bb2ef4404a188b076301b170af862075b` (0.52.0).
|
||||
Reference: `126a6bcdac99e940534c87bce94a5269cdc53ae4` (0.51.0), exported with
|
||||
`git archive` into scratch storage and freshly built. Both use the current
|
||||
0.52.0 harness. No build or test overlapped benchmark timing. Every run used
|
||||
the repository's 8 GiB / 1,800-second guard.
|
||||
|
||||
## Evidence files
|
||||
|
||||
- `provenance.json`: commits, compiler/OS, binary hashes, corpus state/hashes, build commands and exclusions.
|
||||
- `validation.json`: 4,374 passed / 0 failed / 45 ignored, 84 paired outcome rows with zero differences, final corpus checks and reproduced finding IDs. Passing the existing suite does not close the new reproductions.
|
||||
- `results.jsonl`: full paired LSP sample arrays, fingerprints, statuses, rename traces, RSS and cross-folder fixed-load results.
|
||||
- `load-retest.jsonl`: **use these rows for the normal warm loaded-scan comparison**. The initial normal `scanloadprobe` rows in `results.jsonl` are excluded because their fresh store made the first nominally warm trial cold (F2). The rerun uses the populated stores left by the completed cold/warm matrix.
|
||||
- `runs.jsonl`: all 20 initial paired phase commands, times, load samples, exits and corpus hash/status checks.
|
||||
- `verification-runs.jsonl`: corrected warm-load commands, two reproductions, fmt, clippy and full workspace-test commands/exits.
|
||||
- `symlink-results.jsonl`: initial three-session-per-version definition reproduction.
|
||||
- `symlink-lifecycle.log`: another three sessions per version, comparing definition and prepareRename at startup and after a whole rescan without source changes (F1).
|
||||
- `warm-priming-proof.log`: full scan traces for two nominally warm sessions, showing 0 hits / 3,974 misses on the first and 3,974 hits / 0 misses on the second (F2).
|
||||
- `build-*.log`, `fmt.log`, `clippy.log`, `tests.log`: freshness and correctness-check output.
|
||||
- `run.py`, `verify.py`, `symlink_probe.py`, `symlink_lifecycle.py`, `warm_priming_probe.py`: actual scratch scripts. They contain machine-specific paths and are evidence, not project tooling.
|
||||
|
||||
Raw phase console logs, the archived reference source/build and caches remain
|
||||
under `/tmp/lucisv-perf-review-20260909`. They are not copied wholesale into
|
||||
the repository. Corpus source was never written; workspace edits were captured
|
||||
or discarded. The symlink fixture is separate from OpenTitan.
|
||||
|
||||
## Measurement cautions
|
||||
|
||||
**F3:** do not use `scanload.settled_ms` or its `mid_scan_*`/after-settle
|
||||
classification as reliable scan-only measurements. The candidate's trace
|
||||
finishes around 1.77 s but the harness reports 3.41 s, the end of its request
|
||||
window. This review uses `publication[].scan_total` and wire waits over the
|
||||
entire fixed window. Raw fields are retained unchanged so the bug is reviewable.
|
||||
|
||||
Ordinary request arrays are first request plus three repeats; scan, RSS and
|
||||
first-after-edit arrays are three trials. Queue rows have explicit leader and
|
||||
follower values. Rename stage fields describe the last traced request, not a
|
||||
median CPU profile. RSS is KiB; report MiB by dividing by 1,024. The sampled
|
||||
request peaks are whole-process RSS, not allocation totals. A command-offer
|
||||
placeholder of zero is not execution; `capture` is an edit delivered to
|
||||
applyEdit but declined by the client; `refused` is no edit.
|
||||
|
||||
Cross-folder load cells offer a fixed window: 9 s cold or 3.5 s warm, with one
|
||||
request every 100 ms. Three sessions therefore contribute 270 or 105 responses
|
||||
per cell. `requests_offered` is per session; `requests_answered` is aggregated.
|
||||
Three processes are insufficient for population tail-percentile claims even
|
||||
when their pooled request count is larger.
|
||||
|
||||
## Reproduce a finding
|
||||
|
||||
Use the commits and paths in `provenance.json`, or adjust the scratch scripts
|
||||
to point to freshly built binaries on another machine. Run them through the
|
||||
guard from the repository root:
|
||||
|
||||
```sh
|
||||
tools/guard.sh -m 8 -t 1800 -- python3 /tmp/lucisv-perf-review-20260909/symlink_lifecycle.py
|
||||
```
|
||||
|
||||
The script creates its fixture under scratch storage, opens the real-path
|
||||
testbench, waits for startup, requests definition and prepareRename, sends a
|
||||
two-file watched-change notification to trigger a whole rescan, and asks
|
||||
again. It prints the actual responses; the candidate's false duplicate
|
||||
refusal is the finding, not an expected feature behavior.
|
||||
|
||||
`warm_priming_probe.py` requires its proof directory not to exist. Choose a
|
||||
new scratch proof directory for a rerun; it deliberately does not silently
|
||||
reuse or delete an earlier proof. The normal benchmark driver similarly needs
|
||||
the F2 priming correction before its warm-load rows can be trusted on fresh
|
||||
storage. Exact accepted and excluded commands are retained in the run logs.
|
||||
@@ -0,0 +1,2 @@
|
||||
Compiling lucisv_server v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/lucisv_server)
|
||||
Finished `release` profile [optimized] target(s) in 57.30s
|
||||
@@ -0,0 +1,27 @@
|
||||
Compiling proc-macro2 v1.0.107
|
||||
Compiling unicode-ident v1.0.24
|
||||
Compiling quote v1.0.47
|
||||
Compiling serde_core v1.0.229
|
||||
Compiling serde v1.0.229
|
||||
Compiling crossbeam-utils v0.8.22
|
||||
Compiling serde_json v1.0.140
|
||||
Compiling vlog_parser v0.51.0 (/tmp/lucisv-perf-review-20260909/reference/crates/vlog_parser)
|
||||
Compiling ryu v1.0.23
|
||||
Compiling itoa v1.0.18
|
||||
Compiling memchr v2.8.3
|
||||
Compiling bitflags v1.3.2
|
||||
Compiling lucisv_core v0.51.0 (/tmp/lucisv-perf-review-20260909/reference/crates/lucisv_core)
|
||||
Compiling fluent-uri v0.1.4
|
||||
Compiling log v0.4.33
|
||||
Compiling crossbeam-channel v0.5.16
|
||||
Compiling syn v3.0.3
|
||||
Compiling vlog_semantic v0.51.0 (/tmp/lucisv-perf-review-20260909/reference/crates/vlog_semantic)
|
||||
Compiling vlog_formatter v0.51.0 (/tmp/lucisv-perf-review-20260909/reference/crates/vlog_formatter)
|
||||
Compiling serde_derive v1.0.229
|
||||
Compiling serde_repr v0.1.21
|
||||
Compiling vlog_linter v0.51.0 (/tmp/lucisv-perf-review-20260909/reference/crates/vlog_linter)
|
||||
Compiling vlog_refactor v0.51.0 (/tmp/lucisv-perf-review-20260909/reference/crates/vlog_refactor)
|
||||
Compiling lsp-server v0.10.0
|
||||
Compiling lsp-types v0.97.0
|
||||
Compiling lucisv_server v0.51.0 (/tmp/lucisv-perf-review-20260909/reference/crates/lucisv_server)
|
||||
Finished `release` profile [optimized] target(s) in 1m 07s
|
||||
@@ -0,0 +1,9 @@
|
||||
Checking vlog_parser v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/vlog_parser)
|
||||
Checking lucisv_core v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/lucisv_core)
|
||||
Checking vlog_semantic v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/vlog_semantic)
|
||||
Checking vlog_formatter v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/vlog_formatter)
|
||||
Checking vlog_refactor v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/vlog_refactor)
|
||||
Checking vlog_linter v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/vlog_linter)
|
||||
Checking lucisv_server v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/lucisv_server)
|
||||
Checking lucisv v0.52.0 (/Users/guoliangchen/repo/verilogrustformatter/crates/lucisv)
|
||||
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s
|
||||
Whitespace-only changes.
@@ -0,0 +1,2 @@
|
||||
{"phase": "scanload", "row": "definition every 100 ms, warm cache, 1 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 2, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [0.23437500931322575, 0.2786249970085919, 0.27879205299541354, 0.3429169883020222, 0.3560000332072377, 0.3707500291056931, 0.37225004052743316, 0.37745898589491844, 0.3807920147664845, 0.38191705243662, 0.38962496910244226, 0.3909170045517385, 0.3945829812437296, 0.39591704262420535, 0.39795797783881426, 0.419457966927439, 0.41983299888670444, 0.4202499985694885, 0.4267499898560345, 0.4297500126995146, 0.4308749921619892, 0.4320830339565873, 0.43708295561373234, 0.4479580093175173, 0.45666599180549383, 0.45683298958465457, 0.47037500189617276, 0.47979201190173626, 0.4801250179298222, 0.48170797526836395, 0.482875038869679, 0.4948750138282776, 0.5013329791836441, 0.6397910183295608, 0.6407910259440541, 0.6412909715436399, 0.7084590033628047, 0.7254999945871532, 0.7357920403592288, 0.7520000217482448, 0.9683750104159117, 0.9921250166371465, 1.0569170117378235, 1.2750829919241369, 1.375459018163383, 1.3993330067023635, 1.4586250181309879, 1.4692499535158277, 1.521750004030764, 1.6809169901534915, 1.774792035575956, 1.875291985925287, 2.033584052696824, 2.128041989635676, 2.6053329929709435, 2.644082996994257, 3.567832987755537, 10.479416989255697, 19.887125003151596, 20.610582956578583, 51.07304098783061, 51.93137499736622, 64.53425000654534, 70.25124999927357, 77.52504100790247, 79.93495900882408, 84.3826670316048, 86.70937502756715, 97.64420898864046, 109.81295898091048, 119.40683302236721, 120.58512499788776, 150.113333016634, 151.45741601008922, 163.3421669830568, 170.30383396195248, 175.4463340039365, 181.4691670006141, 183.25004196958616, 184.164458012674, 198.05016601458192, 208.9190420228988, 219.84766598325223, 220.00158298760653, 250.87466702098027, 252.19029100844637, 262.700000021141, 269.08900000853464, 275.53670800989494, 283.8588749873452, 297.9642499703914, 319.6956670144573, 319.85254102619365, 397.69845799310133, 418.8561250339262, 419.87824998795986, 499.8401670018211, 518.8152500195429, 519.4051250000484, 597.5716249668039, 619.3727909703739, 621.6692919842899, 699.8402920435183, 720.6624170066789, 721.715291030705], "latency_median_ms": 2.033584052696824, "latency_max_ms": 721.715291030705, "mid_scan_median_ms": 2.033584052696824, "mid_scan_max_ms": 721.715291030705, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 105, "after_settle_answers": 0, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 0, "settled_ms": [3406.4717919682153, 3407.3735430138186, 3406.602292030584], "tick_jitter_ms": 6.958250014577061, "publication": [{"publish_absorb": 452.75, "publish_candidates": 180.64, "publish_includes": 12.97, "publish_overlay": 0.61, "publish_total": 646.97, "publishes": 4, "published": 3519, "first_publish": 470.96, "scan_total": 1778.28}, {"publish_absorb": 476.16, "publish_candidates": 185.16, "publish_includes": 13.28, "publish_overlay": 0.67, "publish_total": 675.27, "publishes": 4, "published": 3494, "first_publish": 494.98, "scan_total": 1771.43}, {"publish_absorb": 446.83, "publish_candidates": 179.34, "publish_includes": 13.07, "publish_overlay": 0.65, "publish_total": 639.89, "publishes": 4, "published": 3513, "first_publish": 474.04, "scan_total": 1764.97}], "ts": "2026-09-09T01:22:08", "label": "0.52.0-review", "schema": 2, "units": "ms"}
|
||||
{"phase": "scanload", "row": "definition every 100 ms, warm cache, 1 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 2, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [241.55699997209013, 247.57100001443177, 275.5369999795221, 342.0218749670312, 346.5159999905154, 375.6269169971347, 440.8285000245087, 446.021625015419, 475.64991598483175, 540.7515830011107, 545.7169159781188, 576.1033750022762, 640.0489169755019, 646.3882910320535, 674.5119580300525, 739.6939580212347, 747.1998329856433, 774.6847500093281, 840.0745829567313, 847.3092500353232, 874.2899590288289, 941.5772079955786, 947.2306670504622, 973.9954579854384, 1041.8655420071445, 1046.7767500085756, 1075.9012500056997, 1141.7389169801027, 1146.351124974899, 1173.6330830026418, 1241.659208026249, 1246.7039580224082, 1273.9923750050366, 1340.223999985028, 1347.8122499655, 1374.1556670283899, 1440.9779999987222, 1446.6565829934552, 1473.9422079874203, 1541.2526250001974, 1546.17737501394, 1574.431375018321, 1640.8938340027817, 1647.3738750210032, 1674.7713339864276, 1739.9268340086564, 1746.503665985074, 1773.5807499848306, 1840.233499999158, 1846.9760829466395, 1873.2641249662265, 1939.728458004538, 1947.2075829980895, 1974.8794579645619, 2039.1076660016552, 2045.1457920134999, 2074.0201660082676, 2139.1950830002315, 2147.0947500201873, 2174.096333037596, 2239.5964169991203, 2247.3798339487985, 2274.172290985007, 2339.4442080170847, 2346.7091250349768, 2375.15783298295, 2440.894625033252, 2446.697583014611, 2474.30229105521, 2540.1668330305256, 2546.162332990207, 2574.7746669803746, 2639.975374971982, 2645.9845830104314, 2675.508540996816, 2739.6694580093026, 2745.4706669668667, 2774.191749980673, 2839.1245410311967, 2845.5262079951353, 2873.318500001915, 2940.369332965929, 2946.829541993793, 2973.2182910083793, 3040.314667043276, 3047.5078329909593, 3073.755874997005, 3141.1920840037055, 3146.8377920100465, 3174.6075420523994, 3239.4263750175014, 3246.957624971401, 3274.9790839734487, 3341.0877080168575, 3347.254416963551, 3373.97424998926, 3441.0788330133073, 3445.548250048887, 3474.267208017409, 3540.4448750196025, 3545.773416000884, 3573.324542026967, 3641.424166969955, 3647.3766670096666, 3675.449041998945], "latency_median_ms": 1947.2075829980895, "latency_max_ms": 3675.449041998945, "mid_scan_median_ms": 1947.2075829980895, "mid_scan_max_ms": 3675.449041998945, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 105, "after_settle_answers": 0, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 0, "settled_ms": [4255.203042004723, 4257.531625917181, 4287.717750063166], "tick_jitter_ms": 2.676916017662734, "publication": [{"publish_absorb": 2416.7, "publish_candidates": 682.01, "publish_includes": 49.98, "publish_overlay": 5.02, "publish_total": 3153.7099999999996, "publishes": 34, "published": 1807, "first_publish": 280.81, "scan_total": 4244.26}, {"publish_absorb": 2421.9, "publish_candidates": 681.68, "publish_includes": 50.02, "publish_overlay": 5.08, "publish_total": 3158.68, "publishes": 34, "published": 1808, "first_publish": 280.18, "scan_total": 4246.99}, {"publish_absorb": 2467.32, "publish_candidates": 682.1, "publish_includes": 51.98, "publish_overlay": 5.06, "publish_total": 3206.46, "publishes": 34, "published": 1808, "first_publish": 267.64, "scan_total": 4276.15}], "ts": "2026-09-09T01:22:26", "label": "0.51.0-reference", "schema": 2, "units": "ms"}
|
||||
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"date": "2026-09-09",
|
||||
"candidate_commit": "3ceba21bb2ef4404a188b076301b170af862075b",
|
||||
"reference_commit": "126a6bcdac99e940534c87bce94a5269cdc53ae4",
|
||||
"reference_method": "git archive into scratch directory; guarded fresh release build",
|
||||
"compiler": "rustc 1.97.1 (8bab26f4f 2026-07-14) (Homebrew)\nbinary: rustc\ncommit-hash: 8bab26f4f68e0e26f0bb7960be334d5b520ea452\ncommit-date: 2026-07-14\nhost: aarch64-apple-darwin\nrelease: 1.97.1\nLLVM version: 22.1.8",
|
||||
"os": "ProductName:\t\tmacOS\nProductVersion:\t\t27.0\nBuildVersion:\t\t26A5425a",
|
||||
"machine": "arm64",
|
||||
"python": "3.14.7",
|
||||
"logical_cpus": 10,
|
||||
"binary_sha256": {
|
||||
"/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server": "d9b177f254315c2f9ec40f386cc5218aafd9d3474d4e8762b499f113654d55f1",
|
||||
"/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server": "11a212b3f8771adcfc4d435d58f20ab02fe9f59f47fd99cf09d43f1f3d739336"
|
||||
},
|
||||
"corpus_commit": "00981352642fb65ef2b6c47143a0f6bb31fd4a97",
|
||||
"corpus_status": "M hw/ip/aes/dv/tb/tb.sv\n M hw/top_darjeeling/ip/ast/rtl/ast.sv\n M hw/top_earlgrey/ip/ast/rtl/ast.sv",
|
||||
"corpus_modified_sha256": {
|
||||
"hw/ip/aes/dv/tb/tb.sv": "09ae059220caa7667bb22acdd3157647b55d36de96ff2ca55a801bbbcd08146e",
|
||||
"hw/top_darjeeling/ip/ast/rtl/ast.sv": "2b63f9d7bc0068388e47a80383eaf048183cf5868b1cfd4692eac325393d2803",
|
||||
"hw/top_earlgrey/ip/ast/rtl/ast.sv": "15efd90c99030c6a43486ef1ed622897b967ad5153697d6b2c2c21cfb6eba35f"
|
||||
},
|
||||
"guard": {
|
||||
"memory_gib": 8,
|
||||
"seconds": 1800
|
||||
},
|
||||
"notes": [
|
||||
"Current 0.52.0 harness drives both binaries.",
|
||||
"Builds finished before any timing. All phases sequential; no benchmark/test concurrency.",
|
||||
"Corpus edits discarded and caches isolated in scratch storage.",
|
||||
"No remote fetch or checkout mutation. Initial repository status clean."
|
||||
],
|
||||
"excluded_measurements": [
|
||||
"results.jsonl: scanload rows without cross-folder in the row name (initial scanloadprobe runs); the first warm trial lacked a populated r4-load store. Use load-retest.jsonl instead.",
|
||||
"All scanload settled_ms, mid_scan_median_ms, mid_scan_max_ms, mid_scan_answers, after_settle_answers fields are not used as reliable completion/partition metrics (F3)."
|
||||
],
|
||||
"build_commands": [
|
||||
[
|
||||
"tools/guard.sh",
|
||||
"-m",
|
||||
"8",
|
||||
"-t",
|
||||
"1800",
|
||||
"--",
|
||||
"cargo",
|
||||
"build",
|
||||
"--release",
|
||||
"--locked",
|
||||
"-p",
|
||||
"lucisv_server",
|
||||
"--manifest-path",
|
||||
"Cargo.toml"
|
||||
],
|
||||
[
|
||||
"tools/guard.sh",
|
||||
"-m",
|
||||
"8",
|
||||
"-t",
|
||||
"1800",
|
||||
"--",
|
||||
"cargo",
|
||||
"build",
|
||||
"--release",
|
||||
"--locked",
|
||||
"-p",
|
||||
"lucisv_server",
|
||||
"--manifest-path",
|
||||
"/tmp/lucisv-perf-review-20260909/reference/Cargo.toml"
|
||||
]
|
||||
],
|
||||
"test_results": {
|
||||
"passed": 4374,
|
||||
"failed": 0,
|
||||
"ignored": 45,
|
||||
"result_blocks": 59
|
||||
},
|
||||
"corpus_after_all_checks_unchanged": true,
|
||||
"binary_hashes_after_all_checks_unchanged": true
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
{"phase": "offerkinds", "row": "tb-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [5.0712890625, 6.9306640625, 6.75439453125], "ms": [1.9282500143162906, 0.493000028654933, 0.21929200738668442, 0.18204195657745004], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:29", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [5.0712890625, 6.9306640625, 6.75439453125], "ms": [0.08808297570794821, 0.07833295967429876, 0.04891701973974705, 0.04008301766589284], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:29", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [5.0712890625, 6.9306640625, 6.75439453125], "ms": [0.26566704036667943, 0.21970801753923297, 0.18358399393036962, 0.23770902771502733], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:29", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [5.0712890625, 6.9306640625, 6.75439453125], "ms": [0.2045410219579935, 0.12845901073887944, 0.06900000153109431, 0.04654203075915575], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:29", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [5.0712890625, 6.9306640625, 6.75439453125], "ms": [0.05179096478968859, 0.063000014051795, 0.11837499914690852, 0.05725002847611904], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:29", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.0712890625, 6.9306640625, 6.75439453125], "ms": [0.1402500201947987, 0.09391701314598322, 0.14045799616724253, 0.1211669878102839], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:29", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [5.0712890625, 6.9306640625, 6.75439453125], "ms": [0.0607079709880054, 0.03862503217533231, 0.03545801155269146, 0.031791976653039455], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:29", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": null, "load": [5.1455078125, 6.9150390625, 6.74951171875], "ms": [4.584999987855554, 4.051957977935672, 3.7545409868471324, 3.612500033341348], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:09:32", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": [], "load": [5.1455078125, 6.9150390625, 6.74951171875], "ms": [0.12579199392348528, 0.0785829615779221, 0.07804197957739234, 0.060333055444061756], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:32", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["quickfix"], "load": [5.1455078125, 6.9150390625, 6.74951171875], "ms": [0.44899998465552926, 0.3641669754870236, 0.35441602813079953, 0.3295839997008443], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:32", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["refactor.extract"], "load": [5.1455078125, 6.9150390625, 6.74951171875], "ms": [0.0665830448269844, 0.061375030782073736, 0.04995899507775903, 0.09795802179723978], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:09:32", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["refactor.inline"], "load": [5.1455078125, 6.9150390625, 6.74951171875], "ms": [0.0740840332582593, 0.047291978262364864, 0.04662497667595744, 0.040207989513874054], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:09:32", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.1455078125, 6.9150390625, 6.74951171875], "ms": [3.1582920346409082, 2.8589580324478447, 2.9202920268289745, 3.103042021393776], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:32", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["source.organizeImports"], "load": [5.1455078125, 6.9150390625, 6.74951171875], "ms": [0.12320803944021463, 0.06208301056176424, 0.053791969548910856, 0.07720803841948509], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:32", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [1.3690409832634032, 1.1132080107927322, 1.0387920192442834, 1.0371250100433826], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.08533295476809144, 0.06483402103185654, 0.04983402322977781, 0.0468340003862977], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [1.1663340264931321, 1.2232500012032688, 1.1855000047944486, 1.142042048741132], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.0706670107319951, 0.06149994442239404, 0.0705840066075325, 0.052499992307275534], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.071291986387223, 0.04237500252202153, 0.03883300814777613, 0.03649998689070344], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.05395803600549698, 0.03854196984320879, 0.049667025450617075, 0.03912497777491808], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.04291697405278683, 0.044625019654631615, 0.04333403194323182, 0.04395801806822419], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [2.081208978779614, 2.016332990024239, 1.8178750178776681, 1.7115840455517173], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:39", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.10237499373033643, 0.06420904537662864, 0.05641602911055088, 0.05687499651685357], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:39", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [1.5573750133626163, 1.661374990362674, 1.5634170267730951, 1.4038340304978192], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:39", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.07491599535569549, 0.08695904398337007, 0.06758299423381686, 0.05783402593806386], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:39", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.06170797860249877, 0.053750001825392246, 0.06033299723640084, 0.0687920255586505], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:39", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.06587500683963299, 0.048916961532086134, 0.047707988414913416, 0.049708003643900156], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:39", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [5.2939453125, 6.916015625, 6.7509765625], "ms": [0.07333297980949283, 0.05887501174584031, 0.054791977163404226, 0.0451250234618783], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:39", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [5.35009765625, 6.900390625, 6.74609375], "ms": [25.831834005657583, 24.26745800767094, 24.51866597402841, 24.205999972764403], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:42", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [5.35009765625, 6.900390625, 6.74609375], "ms": [0.09516597492620349, 0.05691696424037218, 0.03875000402331352, 0.03129197284579277], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:42", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [5.35009765625, 6.900390625, 6.74609375], "ms": [23.996290983632207, 24.26624996587634, 24.21162504469976, 24.31587496539578], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:42", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [5.35009765625, 6.900390625, 6.74609375], "ms": [0.09320798562839627, 0.06279197987169027, 0.058375007938593626, 0.0503340270370245], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:42", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [5.35009765625, 6.900390625, 6.74609375], "ms": [0.048666028305888176, 0.0416660332120955, 0.0785409938544035, 0.14483300037682056], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:42", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.35009765625, 6.900390625, 6.74609375], "ms": [0.1807910157367587, 0.07395795546472073, 0.06245903205126524, 0.06058404687792063], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:42", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [5.35009765625, 6.900390625, 6.74609375], "ms": [0.061583006754517555, 0.05404202966019511, 0.07225002627819777, 0.05083298310637474], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:42", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [5.48193359375, 6.90185546875, 6.74755859375], "ms": [1.1078329989686608, 0.32133300555869937, 0.22008299129083753, 0.17808302072808146], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [5.48193359375, 6.90185546875, 6.74755859375], "ms": [0.10195799404755235, 0.06629200652241707, 0.054875039495527744, 0.04529103171080351], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [5.48193359375, 6.90185546875, 6.74755859375], "ms": [0.4765419871546328, 0.22708403412252665, 0.15837501268833876, 0.1877500326372683], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [5.48193359375, 6.90185546875, 6.74755859375], "ms": [0.06579200271517038, 0.047083012759685516, 0.04954100586473942, 0.05099998088553548], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [5.48193359375, 6.90185546875, 6.74755859375], "ms": [0.09745795978233218, 0.07141695823520422, 0.06966700311750174, 0.0636249897070229], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.48193359375, 6.90185546875, 6.74755859375], "ms": [0.059165991842746735, 0.04516699118539691, 0.03866699989885092, 0.049083027988672256], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "tb-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [5.48193359375, 6.90185546875, 6.74755859375], "ms": [0.046083005145192146, 0.06849999772384763, 0.10412500705569983, 0.04370900569483638], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": null, "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [3.441042033955455, 2.898292033933103, 3.575833048671484, 3.190334013197571], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:09:52", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": [], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.11799996718764305, 0.0743749551475048, 0.05408300785347819, 0.04170899046584964], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:52", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["quickfix"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.16474997391924262, 0.10470801498740911, 0.11637498391792178, 0.09270902955904603], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:52", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["refactor.extract"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.11237501166760921, 0.11420802911743522, 0.08416594937443733, 0.15366700245067477], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:09:52", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["refactor.inline"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.07387500954791903, 0.10183302219957113, 0.06145797669887543, 0.056165968999266624], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:09:52", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [2.856415987480432, 2.6895839837379754, 2.868750016205013, 2.9005000251345336], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:52", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-reg-instance ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "only": ["source.organizeImports"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.08145900210365653, 0.05520798731595278, 0.044791027903556824, 0.03716698847711086], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:52", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [1.2475409894250333, 0.43991697020828724, 0.2523339935578406, 0.21608301904052496], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.08662499021738768, 0.06312498589977622, 0.06245903205126524, 0.055582961067557335], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.18845894373953342, 0.14116702368482947, 0.1670410274527967, 0.15691597945988178], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.12037501437589526, 0.08174998220056295, 0.05562498699873686, 0.05724997026845813], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.07424998329952359, 0.04620797699317336, 0.06983400089666247, 0.05783297820016742], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.059083045925945044, 0.04016701132059097, 0.09741599205881357, 0.04087499110028148], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "aes-core-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_core.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [5.20263671875, 6.8203125, 6.7197265625], "ms": [0.10295899119228125, 0.06287498399615288, 0.05124998278915882, 0.03937497967854142], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [5.02587890625, 6.7568359375, 6.69775390625], "ms": [1.0873330174945295, 0.7634589564986527, 0.6050000083632767, 0.433207955211401], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:58", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [5.02587890625, 6.7568359375, 6.69775390625], "ms": [0.1058329944498837, 0.08004199480637908, 0.056334014516323805, 0.0527920201420784], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:58", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [5.02587890625, 6.7568359375, 6.69775390625], "ms": [0.2137920237146318, 0.18258305499330163, 0.15999999595806003, 0.17479195958003402], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:58", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [5.02587890625, 6.7568359375, 6.69775390625], "ms": [0.07766601629555225, 0.05858403164893389, 0.054708041716367006, 0.07137499051168561], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:58", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [5.02587890625, 6.7568359375, 6.69775390625], "ms": [0.07000000914558768, 0.07470801938325167, 0.06466597551479936, 0.052292016334831715], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:58", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [5.02587890625, 6.7568359375, 6.69775390625], "ms": [0.0688339932821691, 0.05204096669331193, 0.05183299072086811, 0.0636249897070229], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:58", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "spi-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/spi_device/rtl/spi_device.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [5.02587890625, 6.7568359375, 6.69775390625], "ms": [0.05641701864078641, 0.08274998981505632, 0.2233749837614596, 0.203792005777359], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:09:58", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment None", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": null, "load": [4.86328125, 6.6943359375, 6.67578125], "ms": [2.0860839867964387, 0.48016704386100173, 0.2994579845108092, 0.316707999445498], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment []", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": [], "load": [4.86328125, 6.6943359375, 6.67578125], "ms": [0.09029201464727521, 0.07112504681572318, 0.21000002743676305, 0.11354201706126332], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['quickfix']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["quickfix"], "load": [4.86328125, 6.6943359375, 6.67578125], "ms": [0.21208403632044792, 0.18095801351591945, 0.20987499738112092, 0.22983300732448697], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['refactor.extract']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.extract"], "load": [4.86328125, 6.6943359375, 6.67578125], "ms": [0.06600003689527512, 0.10249996557831764, 0.20412495359778404, 0.10166695574298501], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['refactor.inline']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.inline"], "load": [4.86328125, 6.6943359375, 6.67578125], "ms": [0.057375000324100256, 0.05366699770092964, 0.06616703467443585, 0.0541660119779408], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['refactor.rewrite.lucisv.ports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["refactor.rewrite.lucisv.ports"], "load": [4.86328125, 6.6943359375, 6.67578125], "ms": [0.17104099970310926, 0.07899996126070619, 0.06683298852294683, 0.0675840419717133], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerkinds", "row": "pinmux-comment ['source.organizeImports']", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "only": ["source.organizeImports"], "load": [4.86328125, 6.6943359375, 6.67578125], "ms": [0.04795799031853676, 0.04116696072742343, 0.044832995627075434, 0.04008400719612837], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerqueue", "row": "pinmux comment -> aes definition, pipeline 1", "ms": [0.8687080116942525, 0.8434589835815132], "leader_ms": 0.8687080116942525, "follower_ms": 0.8434589835815132, "status": "ok", "message": null, "result_count": 0, "follower_result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "ms is [leader, follower], not repeats", "ts": "2026-09-09T01:10:05", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerqueue", "row": "pinmux comment -> aes definition, pipeline 2", "ms": [0.28304196894168854, 0.2654170384630561], "leader_ms": 0.28304196894168854, "follower_ms": 0.2654170384630561, "status": "ok", "message": null, "result_count": 0, "follower_result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "ms is [leader, follower], not repeats", "ts": "2026-09-09T01:10:05", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerqueue", "row": "pinmux comment -> aes definition, pipeline 3", "ms": [0.3007500199601054, 0.2912500058300793], "leader_ms": 0.3007500199601054, "follower_ms": 0.2912500058300793, "status": "ok", "message": null, "result_count": 0, "follower_result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "ms is [leader, follower], not repeats", "ts": "2026-09-09T01:10:05", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerqueue", "row": "pinmux comment -> aes definition, pipeline 1", "ms": [27.79579203343019, 27.77458296623081], "leader_ms": 27.79579203343019, "follower_ms": 27.77458296623081, "status": "ok", "message": null, "result_count": 0, "follower_result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "ms is [leader, follower], not repeats", "ts": "2026-09-09T01:10:10", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerqueue", "row": "pinmux comment -> aes definition, pipeline 2", "ms": [24.377333000302315, 24.367875012103468], "leader_ms": 24.377333000302315, "follower_ms": 24.367875012103468, "status": "ok", "message": null, "result_count": 0, "follower_result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "ms is [leader, follower], not repeats", "ts": "2026-09-09T01:10:10", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offerqueue", "row": "pinmux comment -> aes definition, pipeline 3", "ms": [24.435000028461218, 24.425624986179173], "leader_ms": 24.435000028461218, "follower_ms": 24.425624986179173, "status": "ok", "message": null, "result_count": 0, "follower_result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "ms is [leader, follower], not repeats", "ts": "2026-09-09T01:10:10", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "pinmux-comment, first offer after didChange", "ms": [140.83441701950505, 137.8427500021644, 134.88454197067767], "status": "ok", "message": null, "result_count": 0, "result_counts": [0, 0, 0], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "load": [5.9599609375, 6.86865234375, 6.7373046875], "note": "each try is the first codeAction after its own didChange: the document is rebuilt, so nothing from the previous revision can be reused", "ts": "2026-09-09T01:10:15", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "pinmux-comment, repeated offer on the unchanged buffer", "titles": [], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "load": [5.9599609375, 6.86865234375, 6.7373046875], "note": "the same cursor and session as the row above, with no didChange between the tries", "ms": [24.3462499929592, 24.63841700227931, 23.784333025105298, 23.86854198994115], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:15", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "aes-reg-instance, first offer after didChange", "ms": [7.0216250023804605, 5.721417022868991, 7.452749996446073], "status": "ok", "message": null, "result_count": 2, "result_counts": [2, 2, 2], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "load": [5.802734375, 6.82080078125, 6.72119140625], "note": "each try is the first codeAction after its own didChange: the document is rebuilt, so nothing from the previous revision can be reused", "ts": "2026-09-09T01:10:18", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "aes-reg-instance, repeated offer on the unchanged buffer", "titles": ["lucisv: extract selection into module\u2026", "lucisv: inline `aes_reg_top` here"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "load": [5.802734375, 6.82080078125, 6.72119140625], "note": "the same cursor and session as the row above, with no didChange between the tries", "ms": [5.01037499634549, 4.5472909696400166, 4.70308301737532, 4.0991660207509995], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:10:18", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "tb-comment, first offer after didChange", "ms": [1.0847499943338335, 0.8207920473068953, 0.7546659908257425], "status": "ok", "message": null, "result_count": 0, "result_counts": [0, 0, 0], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "load": [5.978515625, 6.84033203125, 6.728515625], "note": "each try is the first codeAction after its own didChange: the document is rebuilt, so nothing from the previous revision can be reused", "ts": "2026-09-09T01:10:22", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "tb-comment, repeated offer on the unchanged buffer", "titles": [], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "load": [5.978515625, 6.84033203125, 6.728515625], "note": "the same cursor and session as the row above, with no didChange between the tries", "ms": [0.44724997133016586, 0.3376249806024134, 0.2398340147919953, 0.2550830249674618], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:22", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "pinmux-comment, first offer after didChange", "ms": [116.39108299277723, 113.5977499652654, 112.88149998290464], "status": "ok", "message": null, "result_count": 0, "result_counts": [0, 0, 0], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "load": [5.89990234375, 6.8095703125, 6.71826171875], "note": "each try is the first codeAction after its own didChange: the document is rebuilt, so nothing from the previous revision can be reused", "ts": "2026-09-09T01:10:26", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "pinmux-comment, repeated offer on the unchanged buffer", "titles": [], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/top_darjeeling/ip_autogen/pinmux/rtl/pinmux_reg_top.sv", "position": {"line": 0, "character": 2}, "load": [5.89990234375, 6.8095703125, 6.71826171875], "note": "the same cursor and session as the row above, with no didChange between the tries", "ms": [0.4027499817311764, 0.2316250465810299, 0.2471250481903553, 0.18354103667661548], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:26", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "aes-reg-instance, first offer after didChange", "ms": [6.09770801384002, 8.55158397462219, 5.045500001870096], "status": "ok", "message": null, "result_count": 2, "result_counts": [2, 2, 2], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "load": [5.89990234375, 6.8095703125, 6.71826171875], "note": "each try is the first codeAction after its own didChange: the document is rebuilt, so nothing from the previous revision can be reused", "ts": "2026-09-09T01:10:29", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "aes-reg-instance, repeated offer on the unchanged buffer", "titles": ["lucisv: extract selection into module\u2026", "lucisv: inline `aes_reg_top` here"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 103, "character": 2}, "load": [5.89990234375, 6.8095703125, 6.71826171875], "note": "the same cursor and session as the row above, with no didChange between the tries", "ms": [4.244667012244463, 3.879832976963371, 3.9809580193832517, 3.8547919830307364], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:10:29", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "tb-comment, first offer after didChange", "ms": [2.404582977760583, 0.9817919926717877, 0.8292499696835876], "status": "ok", "message": null, "result_count": 0, "result_counts": [0, 0, 0], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "load": [5.74755859375, 6.7626953125, 6.7021484375], "note": "each try is the first codeAction after its own didChange: the document is rebuilt, so nothing from the previous revision can be reused", "ts": "2026-09-09T01:10:32", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "offeredit", "row": "tb-comment, repeated offer on the unchanged buffer", "titles": [], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/dv/tb/tb.sv", "position": {"line": 0, "character": 2}, "load": [5.74755859375, 6.7626953125, 6.7021484375], "note": "the same cursor and session as the row above, with no didChange between the tries", "ms": [0.17487496370449662, 0.15174999134615064, 0.19766698824241757, 0.1948749995790422], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:10:32", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "tail: state_q -> state_q_x", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "b39defb212655f29e68c0e15b88dda405d2779a24c4b522a1798b6f44c9a04f7", "peak_rss_kib": 610208.0, "file": "hw/ip/entropy_src/rtl/entropy_src_main_sm.sv", "new_name": "state_q_x", "titles": ["entropy_src_core.sv", "entropy_src_main_sm.sv"], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 95, \"rungs_reference\": 122, \"rungs_instantiation\": 19, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 1, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 113, \"indirect_instantiation\": 19, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 1, \"verify_total\": 73.3, \"verify_tokens\": 4.2, \"verify_watched\": 106, \"verify_watched_bytes\": 1919528, \"verify_before\": 14.4, \"verify_rebuild\": 37.5, \"verify_after\": 7.9, \"verify_checks\": 0.0, \"parses_index\": 135, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 2, \"parses_after\": 0, \"index_lead\": 0.4, \"index_kept\": 107.3, \"index_other\": 0.0, \"index_reused\": 31.4, \"index_merge\": 23.5, \"index_kept_files\": 134, \"index_kept_bytes\": 2892477, \"index_other_files\": 103, \"index_other_bytes\": 1652269, \"index_reused_files\": 238, \"index_reused_bytes\": 4554326, \"warnings_defines\": 1.9, \"warnings_macro_uses\": 42.4, \"warnings_sva\": 2.6, \"warnings_unfinished\": 0.4, \"warnings_unaccounted\": 0.1, \"warnings_scanned\": 135, \"select\": 14.1, \"selected\": 238, \"fallback\": false, \"bytes\": 4554326, \"edited\": 2, \"index\": 163.0, \"locate\": 0.0, \"edits\": 11.6, \"warnings\": 50.5, \"parses\": 137}", "ms": [359.1919590253383, 327.24062498891726, 324.5032500126399, 324.597500031814], "status": "ok", "result_count": 1, "edits": 5, "files": 2, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 95, "trace_rungs_reference": 122, "trace_rungs_instantiation": 19, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 1, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 113, "trace_indirect_instantiation": 19, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 1, "trace_verify_total": 73.3, "trace_verify_tokens": 4.2, "trace_verify_watched": 106, "trace_verify_watched_bytes": 1919528, "trace_verify_before": 14.4, "trace_verify_rebuild": 37.5, "trace_verify_after": 7.9, "trace_verify_checks": 0.0, "trace_parses_index": 135, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 2, "trace_parses_after": 0, "trace_index_lead": 0.4, "trace_index_kept": 107.3, "trace_index_other": 0.0, "trace_index_reused": 31.4, "trace_index_merge": 23.5, "trace_index_kept_files": 134, "trace_index_kept_bytes": 2892477, "trace_index_other_files": 103, "trace_index_other_bytes": 1652269, "trace_index_reused_files": 238, "trace_index_reused_bytes": 4554326, "trace_warnings_defines": 1.9, "trace_warnings_macro_uses": 42.4, "trace_warnings_sva": 2.6, "trace_warnings_unfinished": 0.4, "trace_warnings_unaccounted": 0.1, "trace_warnings_scanned": 135, "trace_select": 14.1, "trace_selected": 238, "trace_fallback": false, "trace_bytes": 4554326, "trace_edited": 2, "trace_index": 163.0, "trace_locate": 0.0, "trace_edits": 11.6, "trace_warnings": 50.5, "trace_parses": 137, "ts": "2026-09-09T01:10:40", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "ordinary: aes -> aes_renamed", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "fa7e31c78382176d5f96d661228ce82328df8bc77bd6d8575dd38717814cb26c", "peak_rss_kib": 459808.0, "file": "hw/ip/aes/dv/tb/tb.sv", "new_name": "aes_renamed", "titles": ["aes.sv", "aes_bind.sv", "aes_cov_bind.sv", "aes_tb.sv", "aes_wrap.sv", "darjeeling_pd_main.sv", "earlgrey_pd_main.sv", "englishbreakfast_pd_main.sv", "tb.sv"], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 4, \"rungs_reference\": 8, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 1, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 46.8, \"verify_tokens\": 15.1, \"verify_watched\": 12, \"verify_watched_bytes\": 398160, \"verify_before\": 4.6, \"verify_rebuild\": 22.7, \"verify_after\": 2.9, \"verify_checks\": 0.0, \"parses_index\": 13, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 9, \"parses_after\": 0, \"index_lead\": 0.2, \"index_kept\": 16.1, \"index_other\": 0.0, \"index_reused\": 3.6, \"index_merge\": 2.6, \"index_kept_files\": 12, \"index_kept_bytes\": 396735, \"index_other_files\": 0, \"index_other_bytes\": 0, \"index_reused_files\": 13, \"index_reused_bytes\": 400051, \"warnings_defines\": 0.2, \"warnings_macro_uses\": 7.3, \"warnings_sva\": 0.2, \"warnings_unfinished\": 0.0, \"warnings_unaccounted\": 0.1, \"warnings_scanned\": 13, \"select\": 8.2, \"selected\": 13, \"fallback\": false, \"bytes\": 400051, \"edited\": 9, \"index\": 22.6, \"locate\": 0.1, \"edits\": 2.4, \"warnings\": 8.3, \"parses\": 22}", "ms": [102.21650003222749, 93.63725001458079, 93.02333300001919, 91.25554200727493], "status": "ok", "result_count": 1, "edits": 14, "files": 9, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 4, "trace_rungs_reference": 8, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 1, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 46.8, "trace_verify_tokens": 15.1, "trace_verify_watched": 12, "trace_verify_watched_bytes": 398160, "trace_verify_before": 4.6, "trace_verify_rebuild": 22.7, "trace_verify_after": 2.9, "trace_verify_checks": 0.0, "trace_parses_index": 13, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 9, "trace_parses_after": 0, "trace_index_lead": 0.2, "trace_index_kept": 16.1, "trace_index_other": 0.0, "trace_index_reused": 3.6, "trace_index_merge": 2.6, "trace_index_kept_files": 12, "trace_index_kept_bytes": 396735, "trace_index_other_files": 0, "trace_index_other_bytes": 0, "trace_index_reused_files": 13, "trace_index_reused_bytes": 400051, "trace_warnings_defines": 0.2, "trace_warnings_macro_uses": 7.3, "trace_warnings_sva": 0.2, "trace_warnings_unfinished": 0.0, "trace_warnings_unaccounted": 0.1, "trace_warnings_scanned": 13, "trace_select": 8.2, "trace_selected": 13, "trace_fallback": false, "trace_bytes": 400051, "trace_edited": 9, "trace_index": 22.6, "trace_locate": 0.1, "trace_edits": 2.4, "trace_warnings": 8.3, "trace_parses": 22, "ts": "2026-09-09T01:10:44", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "unique internal: cipher_alert -> cipher_alert_x", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "5f53e977da59093f59ac3153a59036de64ff2fc041017271d8ebbd9ba41ba1e1", "peak_rss_kib": 434560.0, "file": "hw/ip/aes/rtl/aes_core.sv", "new_name": "cipher_alert_x", "titles": ["aes_core.sv"], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 0, \"rungs_reference\": 2, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 1, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 2, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 1, \"verify_total\": 5.4, \"verify_tokens\": 1.9, \"verify_watched\": 1, \"verify_watched_bytes\": 48933, \"verify_before\": 0.5, \"verify_rebuild\": 2.7, \"verify_after\": 0.2, \"verify_checks\": 0.0, \"parses_index\": 1, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 1, \"parses_after\": 0, \"index_lead\": 2.0, \"index_kept\": 0.0, \"index_other\": 0.0, \"index_reused\": 0.5, \"index_merge\": 0.3, \"index_kept_files\": 0, \"index_kept_bytes\": 0, \"index_other_files\": 3, \"index_other_bytes\": 19542, \"index_reused_files\": 4, \"index_reused_bytes\": 68475, \"warnings_defines\": 0.0, \"warnings_macro_uses\": 0.8, \"warnings_sva\": 0.0, \"warnings_unfinished\": 0.0, \"warnings_unaccounted\": 0.0, \"warnings_scanned\": 1, \"select\": 6.6, \"selected\": 4, \"fallback\": false, \"bytes\": 68475, \"edited\": 1, \"index\": 2.8, \"locate\": 0.2, \"edits\": 0.0, \"warnings\": 0.9, \"parses\": 2}", "ms": [28.592207992915064, 21.334541030228138, 18.542082980275154, 16.863790981005877], "status": "ok", "result_count": 1, "edits": 3, "files": 1, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 0, "trace_rungs_reference": 2, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 1, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 2, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 1, "trace_verify_total": 5.4, "trace_verify_tokens": 1.9, "trace_verify_watched": 1, "trace_verify_watched_bytes": 48933, "trace_verify_before": 0.5, "trace_verify_rebuild": 2.7, "trace_verify_after": 0.2, "trace_verify_checks": 0.0, "trace_parses_index": 1, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 1, "trace_parses_after": 0, "trace_index_lead": 2.0, "trace_index_kept": 0.0, "trace_index_other": 0.0, "trace_index_reused": 0.5, "trace_index_merge": 0.3, "trace_index_kept_files": 0, "trace_index_kept_bytes": 0, "trace_index_other_files": 3, "trace_index_other_bytes": 19542, "trace_index_reused_files": 4, "trace_index_reused_bytes": 68475, "trace_warnings_defines": 0.0, "trace_warnings_macro_uses": 0.8, "trace_warnings_sva": 0.0, "trace_warnings_unfinished": 0.0, "trace_warnings_unaccounted": 0.0, "trace_warnings_scanned": 1, "trace_select": 6.6, "trace_selected": 4, "trace_fallback": false, "trace_bytes": 68475, "trace_edited": 1, "trace_index": 2.8, "trace_locate": 0.2, "trace_edits": 0.0, "trace_warnings": 0.9, "trace_parses": 2, "ts": "2026-09-09T01:10:47", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "common port: clk_i -> clk_ix", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "31aadc134628bf567da7423a8fc20dda98a76fec4abd9ffa6392f80d4923420a", "peak_rss_kib": 1863968.0, "file": "hw/ip/entropy_src/rtl/entropy_src_main_sm.sv", "new_name": "clk_ix", "titles": ["entropy_src_core.sv", "entropy_src_main_sm.sv"], "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 719.3, \"verify_tokens\": 4.1, \"verify_watched\": 1200, \"verify_watched_bytes\": 19257967, \"verify_before\": 218.7, \"verify_rebuild\": 273.2, \"verify_after\": 138.0, \"verify_checks\": 0.0, \"parses_index\": 1249, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 2, \"parses_after\": 0, \"index_lead\": 0.4, \"index_kept\": 859.0, \"index_other\": 0.0, \"index_reused\": 222.0, \"index_merge\": 202.7, \"index_kept_files\": 1248, \"index_kept_bytes\": 19867243, \"index_other_files\": 2727, \"index_other_bytes\": 15936487, \"index_reused_files\": 3976, \"index_reused_bytes\": 35813310, \"warnings_defines\": 13.4, \"warnings_macro_uses\": 374.3, \"warnings_sva\": 15.3, \"warnings_unfinished\": 4.0, \"warnings_unaccounted\": 0.2, \"warnings_scanned\": 1249, \"select\": 254.2, \"selected\": 3976, \"fallback\": true, \"bytes\": 35813310, \"edited\": 2, \"index\": 1289.0, \"locate\": 0.1, \"edits\": 100.4, \"warnings\": 434.9, \"parses\": 1251}", "ms": [3049.7538750059903, 2961.388874973636, 2883.6807499756105, 2881.177250004839], "status": "ok", "result_count": 1, "edits": 2, "files": 2, "created": 0, "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 719.3, "trace_verify_tokens": 4.1, "trace_verify_watched": 1200, "trace_verify_watched_bytes": 19257967, "trace_verify_before": 218.7, "trace_verify_rebuild": 273.2, "trace_verify_after": 138.0, "trace_verify_checks": 0.0, "trace_parses_index": 1249, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 2, "trace_parses_after": 0, "trace_index_lead": 0.4, "trace_index_kept": 859.0, "trace_index_other": 0.0, "trace_index_reused": 222.0, "trace_index_merge": 202.7, "trace_index_kept_files": 1248, "trace_index_kept_bytes": 19867243, "trace_index_other_files": 2727, "trace_index_other_bytes": 15936487, "trace_index_reused_files": 3976, "trace_index_reused_bytes": 35813310, "trace_warnings_defines": 13.4, "trace_warnings_macro_uses": 374.3, "trace_warnings_sva": 15.3, "trace_warnings_unfinished": 4.0, "trace_warnings_unaccounted": 0.2, "trace_warnings_scanned": 1249, "trace_select": 254.2, "trace_selected": 3976, "trace_fallback": true, "trace_bytes": 35813310, "trace_edited": 2, "trace_index": 1289.0, "trace_locate": 0.1, "trace_edits": 100.4, "trace_warnings": 434.9, "trace_parses": 1251, "ts": "2026-09-09T01:11:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "conflict: state_q -> state_d", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "96f32d4243b1dc541a3e1e90a29a077520688efcc3f8e6c278c5c5f83cdb146b", "peak_rss_kib": 527264.0, "file": "hw/ip/entropy_src/rtl/entropy_src_main_sm.sv", "new_name": "state_d", "titles": [], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 98, \"rungs_reference\": 122, \"rungs_instantiation\": 19, \"rungs_macro\": 0, \"rungs_speller\": 1, \"rungs_open\": 1, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 112, \"indirect_instantiation\": 19, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 1, \"verify_total\": 67.4, \"verify_tokens\": 4.3, \"verify_watched\": 111, \"verify_watched_bytes\": 1962908, \"verify_before\": 14.6, \"verify_rebuild\": 38.4, \"verify_after\": 1.0, \"verify_checks\": 0.0, \"parses_index\": 142, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 2, \"parses_after\": 0, \"index_lead\": 0.3, \"index_kept\": 112.1, \"index_other\": 0.0, \"index_reused\": 31.7, \"index_merge\": 24.0, \"index_kept_files\": 141, \"index_kept_bytes\": 2988561, \"index_other_files\": 100, \"index_other_bytes\": 1572093, \"index_reused_files\": 242, \"index_reused_bytes\": 4570234, \"warnings_defines\": 0.0, \"warnings_macro_uses\": 0.0, \"warnings_sva\": 0.0, \"warnings_unfinished\": 0.0, \"warnings_unaccounted\": 0.0, \"warnings_scanned\": 0, \"select\": 14.9, \"selected\": 242, \"fallback\": false, \"bytes\": 4570234, \"edited\": 2, \"index\": 168.6, \"locate\": 0.0, \"edits\": 12.5, \"warnings\": 0.0, \"parses\": 144}", "ms": [287.52633300609887, 275.6854579783976, 269.93208297062665, 272.1635830239393], "status": "refused", "result_count": 0, "message": "lucisv: renaming `state_q` to `state_d` would change what `state_d` means in entropy_src_core.sv; the rename was abandoned.", "edits": 0, "files": 0, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 98, "trace_rungs_reference": 122, "trace_rungs_instantiation": 19, "trace_rungs_macro": 0, "trace_rungs_speller": 1, "trace_rungs_open": 1, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 112, "trace_indirect_instantiation": 19, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 1, "trace_verify_total": 67.4, "trace_verify_tokens": 4.3, "trace_verify_watched": 111, "trace_verify_watched_bytes": 1962908, "trace_verify_before": 14.6, "trace_verify_rebuild": 38.4, "trace_verify_after": 1.0, "trace_verify_checks": 0.0, "trace_parses_index": 142, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 2, "trace_parses_after": 0, "trace_index_lead": 0.3, "trace_index_kept": 112.1, "trace_index_other": 0.0, "trace_index_reused": 31.7, "trace_index_merge": 24.0, "trace_index_kept_files": 141, "trace_index_kept_bytes": 2988561, "trace_index_other_files": 100, "trace_index_other_bytes": 1572093, "trace_index_reused_files": 242, "trace_index_reused_bytes": 4570234, "trace_warnings_defines": 0.0, "trace_warnings_macro_uses": 0.0, "trace_warnings_sva": 0.0, "trace_warnings_unfinished": 0.0, "trace_warnings_unaccounted": 0.0, "trace_warnings_scanned": 0, "trace_select": 14.9, "trace_selected": 242, "trace_fallback": false, "trace_bytes": 4570234, "trace_edited": 2, "trace_index": 168.6, "trace_locate": 0.0, "trace_edits": 12.5, "trace_warnings": 0.0, "trace_parses": 144, "ts": "2026-09-09T01:11:07", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "new name many uses spell: cipher_alert -> clk_i", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "96f32d4243b1dc541a3e1e90a29a077520688efcc3f8e6c278c5c5f83cdb146b", "peak_rss_kib": 1699984.0, "file": "hw/ip/aes/rtl/aes_core.sv", "new_name": "clk_i", "titles": [], "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 661.5, \"verify_tokens\": 1.7, \"verify_watched\": 1200, \"verify_watched_bytes\": 19257967, \"verify_before\": 310.8, \"verify_rebuild\": 271.7, \"verify_after\": 3.5, \"verify_checks\": 0.0, \"parses_index\": 1249, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 1, \"parses_after\": 0, \"index_lead\": 2.3, \"index_kept\": 861.1, \"index_other\": 0.0, \"index_reused\": 222.8, \"index_merge\": 201.7, \"index_kept_files\": 1248, \"index_kept_bytes\": 19827890, \"index_other_files\": 2727, \"index_other_bytes\": 15936487, \"index_reused_files\": 3976, \"index_reused_bytes\": 35813310, \"warnings_defines\": 0.0, \"warnings_macro_uses\": 0.0, \"warnings_sva\": 0.0, \"warnings_unfinished\": 0.0, \"warnings_unaccounted\": 0.0, \"warnings_scanned\": 0, \"select\": 264.2, \"selected\": 3976, \"fallback\": true, \"bytes\": 35813310, \"edited\": 1, \"index\": 1294.3, \"locate\": 0.3, \"edits\": 2.2, \"warnings\": 0.0, \"parses\": 1250}", "ms": [2459.582125011366, 2338.0812499672174, 2282.9822920029983, 2284.597833000589], "status": "refused", "result_count": 0, "message": "lucisv: renaming `cipher_alert` to `clk_i` would change what the set of declarations means in aes_core.sv; the rename was abandoned.", "edits": 0, "files": 0, "created": 0, "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 661.5, "trace_verify_tokens": 1.7, "trace_verify_watched": 1200, "trace_verify_watched_bytes": 19257967, "trace_verify_before": 310.8, "trace_verify_rebuild": 271.7, "trace_verify_after": 3.5, "trace_verify_checks": 0.0, "trace_parses_index": 1249, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 1, "trace_parses_after": 0, "trace_index_lead": 2.3, "trace_index_kept": 861.1, "trace_index_other": 0.0, "trace_index_reused": 222.8, "trace_index_merge": 201.7, "trace_index_kept_files": 1248, "trace_index_kept_bytes": 19827890, "trace_index_other_files": 2727, "trace_index_other_bytes": 15936487, "trace_index_reused_files": 3976, "trace_index_reused_bytes": 35813310, "trace_warnings_defines": 0.0, "trace_warnings_macro_uses": 0.0, "trace_warnings_sva": 0.0, "trace_warnings_unfinished": 0.0, "trace_warnings_unaccounted": 0.0, "trace_warnings_scanned": 0, "trace_select": 264.2, "trace_selected": 3976, "trace_fallback": true, "trace_bytes": 35813310, "trace_edited": 1, "trace_index": 1294.3, "trace_locate": 0.3, "trace_edits": 2.2, "trace_warnings": 0.0, "trace_parses": 1250, "ts": "2026-09-09T01:11:20", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "duplicate module: rstmgr_por -> rstmgr_por_x", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "96f32d4243b1dc541a3e1e90a29a077520688efcc3f8e6c278c5c5f83cdb146b", "peak_rss_kib": 733184.0, "file": "hw/top_darjeeling/ip_autogen/rstmgr/rtl/rstmgr.sv", "new_name": "rstmgr_por_x", "titles": [], "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 0.0, \"verify_tokens\": 0.0, \"verify_watched\": 0, \"verify_watched_bytes\": 0, \"verify_before\": 0.0, \"verify_rebuild\": 0.0, \"verify_after\": 0.0, \"verify_checks\": 0.0, \"parses_index\": 14, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 0, \"parses_after\": 0, \"index_lead\": 1.3, \"index_kept\": 4.7, \"index_other\": 0.0, \"index_reused\": 220.1, \"index_merge\": 203.2, \"index_kept_files\": 13, \"index_kept_bytes\": 87644, \"index_other_files\": 3962, \"index_other_bytes\": 35700552, \"index_reused_files\": 3976, \"index_reused_bytes\": 35813310, \"warnings_defines\": 0.0, \"warnings_macro_uses\": 0.0, \"warnings_sva\": 0.0, \"warnings_unfinished\": 0.0, \"warnings_unaccounted\": 0.0, \"warnings_scanned\": 0, \"select\": 259.7, \"selected\": 3976, \"fallback\": true, \"bytes\": 35813310, \"edited\": 0, \"index\": 435.7, \"locate\": 0.3, \"edits\": 0.0, \"warnings\": 0.0, \"parses\": 14}", "ms": [786.3199580460787, 781.5626250230707, 754.0115410229191, 730.4007500060834], "status": "refused", "result_count": 0, "message": "lucisv: `rstmgr_por` is declared in more than one indexed file; lucisv will not guess which declaration this rename means.", "edits": 0, "files": 0, "created": 0, "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 0.0, "trace_verify_tokens": 0.0, "trace_verify_watched": 0, "trace_verify_watched_bytes": 0, "trace_verify_before": 0.0, "trace_verify_rebuild": 0.0, "trace_verify_after": 0.0, "trace_verify_checks": 0.0, "trace_parses_index": 14, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 0, "trace_parses_after": 0, "trace_index_lead": 1.3, "trace_index_kept": 4.7, "trace_index_other": 0.0, "trace_index_reused": 220.1, "trace_index_merge": 203.2, "trace_index_kept_files": 13, "trace_index_kept_bytes": 87644, "trace_index_other_files": 3962, "trace_index_other_bytes": 35700552, "trace_index_reused_files": 3976, "trace_index_reused_bytes": 35813310, "trace_warnings_defines": 0.0, "trace_warnings_macro_uses": 0.0, "trace_warnings_sva": 0.0, "trace_warnings_unfinished": 0.0, "trace_warnings_unaccounted": 0.0, "trace_warnings_scanned": 0, "trace_select": 259.7, "trace_selected": 3976, "trace_fallback": true, "trace_bytes": 35813310, "trace_edited": 0, "trace_index": 435.7, "trace_locate": 0.3, "trace_edits": 0.0, "trace_warnings": 0.0, "trace_parses": 14, "ts": "2026-09-09T01:11:26", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "no symbol: whole scope then refuse", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "peak_rss_kib": 427232.0, "file": "hw/ip/aes/dv/tb/tb.sv", "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 0.0, \"verify_tokens\": 0.0, \"verify_watched\": 0, \"verify_watched_bytes\": 0, \"verify_before\": 0.0, \"verify_rebuild\": 0.0, \"verify_after\": 0.0, \"verify_checks\": 0.0, \"parses_index\": 0, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 0, \"parses_after\": 0, \"index_lead\": 0.0, \"index_kept\": 0.0, \"index_other\": 0.0, \"index_reused\": 0.0, \"index_merge\": 0.0, \"index_kept_files\": 0, \"index_kept_bytes\": 0, \"index_other_files\": 0, \"index_other_bytes\": 0, \"index_reused_files\": 0, \"index_reused_bytes\": 0, \"warnings_defines\": 0.0, \"warnings_macro_uses\": 0.0, \"warnings_sva\": 0.0, \"warnings_unfinished\": 0.0, \"warnings_unaccounted\": 0.0, \"warnings_scanned\": 0, \"select\": 0.0, \"selected\": 0, \"fallback\": false, \"bytes\": 0, \"edited\": 0, \"index\": 0.0, \"locate\": 0.0, \"edits\": 0.0, \"warnings\": 0.0, \"parses\": 0, \"preflight\": true}", "ms": [2.702499972656369, 0.37045800127089024, 0.19737501861527562, 0.2185420016758144], "status": "refused", "result_count": 0, "message": "lucisv: there is no symbol to rename at this position.", "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 0.0, "trace_verify_tokens": 0.0, "trace_verify_watched": 0, "trace_verify_watched_bytes": 0, "trace_verify_before": 0.0, "trace_verify_rebuild": 0.0, "trace_verify_after": 0.0, "trace_verify_checks": 0.0, "trace_parses_index": 0, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 0, "trace_parses_after": 0, "trace_index_lead": 0.0, "trace_index_kept": 0.0, "trace_index_other": 0.0, "trace_index_reused": 0.0, "trace_index_merge": 0.0, "trace_index_kept_files": 0, "trace_index_kept_bytes": 0, "trace_index_other_files": 0, "trace_index_other_bytes": 0, "trace_index_reused_files": 0, "trace_index_reused_bytes": 0, "trace_warnings_defines": 0.0, "trace_warnings_macro_uses": 0.0, "trace_warnings_sva": 0.0, "trace_warnings_unfinished": 0.0, "trace_warnings_unaccounted": 0.0, "trace_warnings_scanned": 0, "trace_select": 0.0, "trace_selected": 0, "trace_fallback": false, "trace_bytes": 0, "trace_edited": 0, "trace_index": 0.0, "trace_locate": 0.0, "trace_edits": 0.0, "trace_warnings": 0.0, "trace_parses": 0, "trace_preflight": true, "ts": "2026-09-09T01:11:29", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "tail: state_q -> state_q_x", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "b39defb212655f29e68c0e15b88dda405d2779a24c4b522a1798b6f44c9a04f7", "peak_rss_kib": 614656.0, "file": "hw/ip/entropy_src/rtl/entropy_src_main_sm.sv", "new_name": "state_q_x", "titles": ["entropy_src_core.sv", "entropy_src_main_sm.sv"], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 95, \"rungs_reference\": 122, \"rungs_instantiation\": 19, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 1, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 113, \"indirect_instantiation\": 19, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 1, \"verify_total\": 74.4, \"verify_tokens\": 4.3, \"verify_watched\": 106, \"verify_watched_bytes\": 1919528, \"verify_before\": 14.2, \"verify_rebuild\": 38.4, \"verify_after\": 7.9, \"verify_checks\": 0.0, \"parses_index\": 238, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 2, \"parses_after\": 0, \"select\": 13.8, \"selected\": 238, \"fallback\": false, \"bytes\": 4554326, \"edited\": 2, \"index\": 228.5, \"locate\": 0.0, \"edits\": 12.3, \"warnings\": 51.2, \"parses\": 240}", "ms": [429.2307500145398, 393.72162497602403, 391.3822500035167, 391.78733399603516], "status": "ok", "result_count": 1, "edits": 5, "files": 2, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 95, "trace_rungs_reference": 122, "trace_rungs_instantiation": 19, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 1, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 113, "trace_indirect_instantiation": 19, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 1, "trace_verify_total": 74.4, "trace_verify_tokens": 4.3, "trace_verify_watched": 106, "trace_verify_watched_bytes": 1919528, "trace_verify_before": 14.2, "trace_verify_rebuild": 38.4, "trace_verify_after": 7.9, "trace_verify_checks": 0.0, "trace_parses_index": 238, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 2, "trace_parses_after": 0, "trace_select": 13.8, "trace_selected": 238, "trace_fallback": false, "trace_bytes": 4554326, "trace_edited": 2, "trace_index": 228.5, "trace_locate": 0.0, "trace_edits": 12.3, "trace_warnings": 51.2, "trace_parses": 240, "ts": "2026-09-09T01:11:37", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "ordinary: aes -> aes_renamed", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "fa7e31c78382176d5f96d661228ce82328df8bc77bd6d8575dd38717814cb26c", "peak_rss_kib": 461952.0, "file": "hw/ip/aes/dv/tb/tb.sv", "new_name": "aes_renamed", "titles": ["aes.sv", "aes_bind.sv", "aes_cov_bind.sv", "aes_tb.sv", "aes_wrap.sv", "darjeeling_pd_main.sv", "earlgrey_pd_main.sv", "englishbreakfast_pd_main.sv", "tb.sv"], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 4, \"rungs_reference\": 8, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 1, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 47.3, \"verify_tokens\": 14.8, \"verify_watched\": 12, \"verify_watched_bytes\": 398160, \"verify_before\": 4.2, \"verify_rebuild\": 23.4, \"verify_after\": 3.2, \"verify_checks\": 0.0, \"parses_index\": 13, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 9, \"parses_after\": 0, \"select\": 8.3, \"selected\": 13, \"fallback\": false, \"bytes\": 400051, \"edited\": 9, \"index\": 22.9, \"locate\": 0.1, \"edits\": 2.3, \"warnings\": 8.4, \"parses\": 22}", "ms": [103.15541597083211, 92.31041703606024, 91.90749999834225, 91.97866701288149], "status": "ok", "result_count": 1, "edits": 14, "files": 9, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 4, "trace_rungs_reference": 8, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 1, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 47.3, "trace_verify_tokens": 14.8, "trace_verify_watched": 12, "trace_verify_watched_bytes": 398160, "trace_verify_before": 4.2, "trace_verify_rebuild": 23.4, "trace_verify_after": 3.2, "trace_verify_checks": 0.0, "trace_parses_index": 13, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 9, "trace_parses_after": 0, "trace_select": 8.3, "trace_selected": 13, "trace_fallback": false, "trace_bytes": 400051, "trace_edited": 9, "trace_index": 22.9, "trace_locate": 0.1, "trace_edits": 2.3, "trace_warnings": 8.4, "trace_parses": 22, "ts": "2026-09-09T01:11:41", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "unique internal: cipher_alert -> cipher_alert_x", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "5f53e977da59093f59ac3153a59036de64ff2fc041017271d8ebbd9ba41ba1e1", "peak_rss_kib": 436512.0, "file": "hw/ip/aes/rtl/aes_core.sv", "new_name": "cipher_alert_x", "titles": ["aes_core.sv"], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 0, \"rungs_reference\": 2, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 1, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 2, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 1, \"verify_total\": 5.5, \"verify_tokens\": 1.9, \"verify_watched\": 1, \"verify_watched_bytes\": 48933, \"verify_before\": 0.4, \"verify_rebuild\": 2.7, \"verify_after\": 0.2, \"verify_checks\": 0.0, \"parses_index\": 4, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 1, \"parses_after\": 0, \"select\": 6.4, \"selected\": 4, \"fallback\": false, \"bytes\": 68475, \"edited\": 1, \"index\": 3.4, \"locate\": 0.2, \"edits\": 0.0, \"warnings\": 0.9, \"parses\": 5}", "ms": [34.129833977203816, 21.798916975967586, 18.88545899419114, 17.188500030897558], "status": "ok", "result_count": 1, "edits": 3, "files": 1, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 0, "trace_rungs_reference": 2, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 1, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 2, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 1, "trace_verify_total": 5.5, "trace_verify_tokens": 1.9, "trace_verify_watched": 1, "trace_verify_watched_bytes": 48933, "trace_verify_before": 0.4, "trace_verify_rebuild": 2.7, "trace_verify_after": 0.2, "trace_verify_checks": 0.0, "trace_parses_index": 4, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 1, "trace_parses_after": 0, "trace_select": 6.4, "trace_selected": 4, "trace_fallback": false, "trace_bytes": 68475, "trace_edited": 1, "trace_index": 3.4, "trace_locate": 0.2, "trace_edits": 0.0, "trace_warnings": 0.9, "trace_parses": 5, "ts": "2026-09-09T01:11:44", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "common port: clk_i -> clk_ix", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "31aadc134628bf567da7423a8fc20dda98a76fec4abd9ffa6392f80d4923420a", "peak_rss_kib": 1879200.0, "file": "hw/ip/entropy_src/rtl/entropy_src_main_sm.sv", "new_name": "clk_ix", "titles": ["entropy_src_core.sv", "entropy_src_main_sm.sv"], "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 728.7, \"verify_tokens\": 4.3, \"verify_watched\": 1200, \"verify_watched_bytes\": 19257967, \"verify_before\": 222.9, \"verify_rebuild\": 276.7, \"verify_after\": 138.9, \"verify_checks\": 0.0, \"parses_index\": 3975, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 2, \"parses_after\": 0, \"select\": 255.6, \"selected\": 3976, \"fallback\": true, \"bytes\": 35813310, \"edited\": 2, \"index\": 1865.9, \"locate\": 0.1, \"edits\": 102.2, \"warnings\": 444.7, \"parses\": 3977}", "ms": [3631.98983395705, 3527.5039579719305, 3475.931875000242, 3482.873166038189], "status": "ok", "result_count": 1, "edits": 2, "files": 2, "created": 0, "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 728.7, "trace_verify_tokens": 4.3, "trace_verify_watched": 1200, "trace_verify_watched_bytes": 19257967, "trace_verify_before": 222.9, "trace_verify_rebuild": 276.7, "trace_verify_after": 138.9, "trace_verify_checks": 0.0, "trace_parses_index": 3975, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 2, "trace_parses_after": 0, "trace_select": 255.6, "trace_selected": 3976, "trace_fallback": true, "trace_bytes": 35813310, "trace_edited": 2, "trace_index": 1865.9, "trace_locate": 0.1, "trace_edits": 102.2, "trace_warnings": 444.7, "trace_parses": 3977, "ts": "2026-09-09T01:12:02", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "conflict: state_q -> state_d", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "96f32d4243b1dc541a3e1e90a29a077520688efcc3f8e6c278c5c5f83cdb146b", "peak_rss_kib": 514672.0, "file": "hw/ip/entropy_src/rtl/entropy_src_main_sm.sv", "new_name": "state_d", "titles": [], "note": "{\"rungs_request\": 1, \"rungs_declaration\": 98, \"rungs_reference\": 122, \"rungs_instantiation\": 19, \"rungs_macro\": 0, \"rungs_speller\": 1, \"rungs_open\": 1, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 112, \"indirect_instantiation\": 19, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 1, \"verify_total\": 64.8, \"verify_tokens\": 4.2, \"verify_watched\": 111, \"verify_watched_bytes\": 1962908, \"verify_before\": 14.1, \"verify_rebuild\": 36.9, \"verify_after\": 1.0, \"verify_checks\": 0.0, \"parses_index\": 242, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 2, \"parses_after\": 0, \"select\": 14.4, \"selected\": 242, \"fallback\": false, \"bytes\": 4570234, \"edited\": 2, \"index\": 217.5, \"locate\": 0.0, \"edits\": 11.9, \"warnings\": 0.0, \"parses\": 244}", "ms": [355.68770801182836, 324.15045803645626, 318.635290954262, 317.3258330207318], "status": "refused", "result_count": 0, "message": "lucisv: renaming `state_q` to `state_d` would change what `state_d` means in entropy_src_core.sv; the rename was abandoned.", "edits": 0, "files": 0, "created": 0, "trace_rungs_request": 1, "trace_rungs_declaration": 98, "trace_rungs_reference": 122, "trace_rungs_instantiation": 19, "trace_rungs_macro": 0, "trace_rungs_speller": 1, "trace_rungs_open": 1, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 112, "trace_indirect_instantiation": 19, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 1, "trace_verify_total": 64.8, "trace_verify_tokens": 4.2, "trace_verify_watched": 111, "trace_verify_watched_bytes": 1962908, "trace_verify_before": 14.1, "trace_verify_rebuild": 36.9, "trace_verify_after": 1.0, "trace_verify_checks": 0.0, "trace_parses_index": 242, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 2, "trace_parses_after": 0, "trace_select": 14.4, "trace_selected": 242, "trace_fallback": false, "trace_bytes": 4570234, "trace_edited": 2, "trace_index": 217.5, "trace_locate": 0.0, "trace_edits": 11.9, "trace_warnings": 0.0, "trace_parses": 244, "ts": "2026-09-09T01:12:07", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "new name many uses spell: cipher_alert -> clk_i", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "96f32d4243b1dc541a3e1e90a29a077520688efcc3f8e6c278c5c5f83cdb146b", "peak_rss_kib": 1617488.0, "file": "hw/ip/aes/rtl/aes_core.sv", "new_name": "clk_i", "titles": [], "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 671.0, \"verify_tokens\": 1.7, \"verify_watched\": 1200, \"verify_watched_bytes\": 19257967, \"verify_before\": 318.1, \"verify_rebuild\": 272.3, \"verify_after\": 3.7, \"verify_checks\": 0.0, \"parses_index\": 3975, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 1, \"parses_after\": 0, \"select\": 258.7, \"selected\": 3976, \"fallback\": true, \"bytes\": 35813310, \"edited\": 1, \"index\": 1872.4, \"locate\": 0.3, \"edits\": 2.3, \"warnings\": 0.0, \"parses\": 3976}", "ms": [3070.1524579781108, 2962.2283750213683, 2906.755500007421, 2867.969457991421], "status": "refused", "result_count": 0, "message": "lucisv: renaming `cipher_alert` to `clk_i` would change what the set of declarations means in aes_core.sv; the rename was abandoned.", "edits": 0, "files": 0, "created": 0, "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 671.0, "trace_verify_tokens": 1.7, "trace_verify_watched": 1200, "trace_verify_watched_bytes": 19257967, "trace_verify_before": 318.1, "trace_verify_rebuild": 272.3, "trace_verify_after": 3.7, "trace_verify_checks": 0.0, "trace_parses_index": 3975, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 1, "trace_parses_after": 0, "trace_select": 258.7, "trace_selected": 3976, "trace_fallback": true, "trace_bytes": 35813310, "trace_edited": 1, "trace_index": 1872.4, "trace_locate": 0.3, "trace_edits": 2.3, "trace_warnings": 0.0, "trace_parses": 3976, "ts": "2026-09-09T01:12:22", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "duplicate module: rstmgr_por -> rstmgr_por_x", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "96f32d4243b1dc541a3e1e90a29a077520688efcc3f8e6c278c5c5f83cdb146b", "peak_rss_kib": 918416.0, "file": "hw/top_darjeeling/ip_autogen/rstmgr/rtl/rstmgr.sv", "new_name": "rstmgr_por_x", "titles": [], "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 0.0, \"verify_tokens\": 0.0, \"verify_watched\": 0, \"verify_watched_bytes\": 0, \"verify_before\": 0.0, \"verify_rebuild\": 0.0, \"verify_after\": 0.0, \"verify_checks\": 0.0, \"parses_index\": 3975, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 0, \"parses_after\": 0, \"select\": 252.8, \"selected\": 3976, \"fallback\": true, \"bytes\": 35813310, \"edited\": 0, \"index\": 1891.3, \"locate\": 0.3, \"edits\": 0.0, \"warnings\": 0.0, \"parses\": 3975}", "ms": [2251.112958008889, 2206.4846249995753, 2207.0510829798877, 2180.649332993198], "status": "refused", "result_count": 0, "message": "lucisv: `rstmgr_por` is declared in more than one indexed file; lucisv will not guess which declaration this rename means.", "edits": 0, "files": 0, "created": 0, "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 0.0, "trace_verify_tokens": 0.0, "trace_verify_watched": 0, "trace_verify_watched_bytes": 0, "trace_verify_before": 0.0, "trace_verify_rebuild": 0.0, "trace_verify_after": 0.0, "trace_verify_checks": 0.0, "trace_parses_index": 3975, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 0, "trace_parses_after": 0, "trace_select": 252.8, "trace_selected": 3976, "trace_fallback": true, "trace_bytes": 35813310, "trace_edited": 0, "trace_index": 1891.3, "trace_locate": 0.3, "trace_edits": 0.0, "trace_warnings": 0.0, "trace_parses": 3975, "ts": "2026-09-09T01:12:34", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "renametrace", "row": "no symbol: whole scope then refuse", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "peak_rss_kib": 914448.0, "file": "hw/ip/aes/dv/tb/tb.sv", "note": "{\"rungs_request\": 0, \"rungs_declaration\": 0, \"rungs_reference\": 0, \"rungs_instantiation\": 0, \"rungs_macro\": 0, \"rungs_speller\": 0, \"rungs_open\": 0, \"indirect_request\": 0, \"indirect_declaration\": 0, \"indirect_reference\": 0, \"indirect_instantiation\": 0, \"indirect_macro\": 0, \"indirect_speller\": 0, \"indirect_open\": 0, \"verify_total\": 0.0, \"verify_tokens\": 0.0, \"verify_watched\": 0, \"verify_watched_bytes\": 0, \"verify_before\": 0.0, \"verify_rebuild\": 0.0, \"verify_after\": 0.0, \"verify_checks\": 0.0, \"parses_index\": 3975, \"parses_locate\": 0, \"parses_edits\": 0, \"parses_before\": 0, \"parses_rebuild\": 0, \"parses_after\": 0, \"select\": 0.0, \"selected\": 3976, \"fallback\": true, \"bytes\": 35813310, \"edited\": 0, \"index\": 1891.5, \"locate\": 0.1, \"edits\": 0.0, \"warnings\": 0.0, \"parses\": 3975}", "ms": [2244.7303340304643, 2204.6456660027616, 2205.368582974188, 2177.3032499477267], "status": "refused", "result_count": 0, "message": "lucisv: there is no symbol to rename at this position.", "trace_rungs_request": 0, "trace_rungs_declaration": 0, "trace_rungs_reference": 0, "trace_rungs_instantiation": 0, "trace_rungs_macro": 0, "trace_rungs_speller": 0, "trace_rungs_open": 0, "trace_indirect_request": 0, "trace_indirect_declaration": 0, "trace_indirect_reference": 0, "trace_indirect_instantiation": 0, "trace_indirect_macro": 0, "trace_indirect_speller": 0, "trace_indirect_open": 0, "trace_verify_total": 0.0, "trace_verify_tokens": 0.0, "trace_verify_watched": 0, "trace_verify_watched_bytes": 0, "trace_verify_before": 0.0, "trace_verify_rebuild": 0.0, "trace_verify_after": 0.0, "trace_verify_checks": 0.0, "trace_parses_index": 3975, "trace_parses_locate": 0, "trace_parses_edits": 0, "trace_parses_before": 0, "trace_parses_rebuild": 0, "trace_parses_after": 0, "trace_select": 0.0, "trace_selected": 3976, "trace_fallback": true, "trace_bytes": 35813310, "trace_edited": 0, "trace_index": 1891.5, "trace_locate": 0.1, "trace_edits": 0.0, "trace_warnings": 0.0, "trace_parses": 3975, "ts": "2026-09-09T01:12:46", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "scan", "row": "default, cold cache", "ms": [92.21495903329924, 107.13670798577368, 91.90629201475531], "settled_ms": [92.21495903329924, 107.13670798577368, 91.90629201475531], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 124 files indexed | nothing in flight during the scan", "ts": "2026-09-09T01:12:51", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "default, warm cache", "ms": [53.92179201589897, 46.04308295529336, 41.25883401138708], "settled_ms": [53.92179201589897, 46.04308295529336, 41.25883401138708], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 124 files indexed, 123 from cache | nothing in flight during the scan", "ts": "2026-09-09T01:12:56", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "empty-index, cold cache", "ms": [105.30445899348706, 103.75137499067932, 108.87637495761737], "settled_ms": [105.30445899348706, 103.75137499067932, 108.87637495761737], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 124 files indexed | nothing in flight during the scan", "ts": "2026-09-09T01:13:01", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "empty-index, warm cache", "ms": [45.0200840132311, 43.97104197414592, 41.873250040225685], "settled_ms": [45.0200840132311, 43.97104197414592, 41.873250040225685], "fresh_process": true, "result_count": 3, "note": "124 files indexed, 123 from cache | nothing in flight during the scan", "ts": "2026-09-09T01:13:06", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "depth0, cold cache", "ms": [7.711249985732138, 8.780958014540374, 10.425499989651144], "settled_ms": [7.711249985732138, 8.780958014540374, 10.425499989651144], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 1 file indexed | nothing in flight during the scan", "ts": "2026-09-09T01:13:10", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "depth0, warm cache", "ms": [7.134040992241353, 9.76633297977969, 10.451290989294648], "settled_ms": [7.134040992241353, 9.76633297977969, 10.451290989294648], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 1 file indexed | nothing in flight during the scan", "ts": "2026-09-09T01:13:15", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "workspace, cold cache", "ms": [2896.5727079776116, 2884.8891250090674, 2880.1893750205636], "settled_ms": [2896.5727079776116, 2884.8891250090674, 2880.1893750205636], "fresh_process": true, "result_count": 3, "note": "3976 files indexed, 3 skipped | nothing in flight during the scan", "ts": "2026-09-09T01:13:28", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "workspace, warm cache", "ms": [1110.262457979843, 1068.6567079974338, 1073.9933750010096], "settled_ms": [1110.262457979843, 1068.6567079974338, 1073.9933750010096], "fresh_process": true, "result_count": 3, "note": "3976 files indexed, 3975 from cache, 3 skipped | nothing in flight during the scan", "ts": "2026-09-09T01:13:36", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "workspace, cold cache, first useful answer", "ms": [276.73141699051484, 278.63349998369813, 279.1064159828238], "first_answer_ms": [276.73141699051484, 278.63349998369813, 279.1064159828238], "settled_ms": [2903.118457994424, 2916.8199590058066, 2931.6357920179144], "fresh_process": true, "status": "ok", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "message": null, "result_count": 1, "result_counts": [1, 1, 1], "note": "ms is the definition sent during the scan; a 0 result count means the answer arrived before the index could give one. settled_ms is that session's own scan, perturbed by serving the request", "ts": "2026-09-09T01:13:50", "label": "0.51.0-reference", "schema": 2, "units": "ms"}
|
||||
{"phase": "scan", "row": "workspace, warm cache, first useful answer", "ms": [294.1113749984652, 295.10295897489414, 294.5136670023203], "first_answer_ms": [294.1113749984652, 295.10295897489414, 294.5136670023203], "settled_ms": [1082.7908339560963, 1085.090084001422, 1084.30279197637], "fresh_process": true, "status": "ok", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "message": null, "result_count": 1, "result_counts": [1, 1, 1], "note": "ms is the definition sent during the scan; a 0 result count means the answer arrived before the index could give one. settled_ms is that session's own scan, perturbed by serving the request", "ts": "2026-09-09T01:13:58", "label": "0.51.0-reference", "schema": 2, "units": "ms"}
|
||||
{"phase": "scan", "row": "default, cold cache", "ms": [96.67558304499835, 111.83595901820809, 94.76049995282665], "settled_ms": [96.67558304499835, 111.83595901820809, 94.76049995282665], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 124 files indexed | nothing in flight during the scan", "ts": "2026-09-09T01:14:04", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "default, warm cache", "ms": [56.957875029183924, 47.349958040285856, 46.934207959566265], "settled_ms": [56.957875029183924, 47.349958040285856, 46.934207959566265], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 124 files indexed, 123 from cache | nothing in flight during the scan", "ts": "2026-09-09T01:14:09", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "empty-index, cold cache", "ms": [110.82133301533759, 100.80170800210908, 106.90266598248854], "settled_ms": [110.82133301533759, 100.80170800210908, 106.90266598248854], "fresh_process": true, "result_count": 3, "note": "124 files indexed | nothing in flight during the scan", "ts": "2026-09-09T01:14:13", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "empty-index, warm cache", "ms": [35.27233301429078, 47.46295895893127, 50.83083303179592], "settled_ms": [35.27233301429078, 47.46295895893127, 50.83083303179592], "fresh_process": true, "result_count": 3, "note": "124 files indexed, 123 from cache | nothing in flight during the scan", "ts": "2026-09-09T01:14:18", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "depth0, cold cache", "ms": [6.20275002438575, 8.890166995115578, 8.290541998576373], "settled_ms": [6.20275002438575, 8.890166995115578, 8.290541998576373], "fresh_process": true, "result_count": 3, "note": "1 file indexed | nothing in flight during the scan", "ts": "2026-09-09T01:14:23", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "depth0, warm cache", "ms": [9.672541986219585, 12.35333300428465, 13.59712501289323], "settled_ms": [9.672541986219585, 12.35333300428465, 13.59712501289323], "fresh_process": true, "result_count": 3, "note": "0 files indexed | 1 file indexed | nothing in flight during the scan", "ts": "2026-09-09T01:14:27", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "workspace, cold cache", "ms": [2913.358584046364, 2886.6533340187743, 2886.046791973058], "settled_ms": [2913.358584046364, 2886.6533340187743, 2886.046791973058], "fresh_process": true, "result_count": 3, "note": "3976 files indexed, 3 skipped | nothing in flight during the scan", "ts": "2026-09-09T01:14:41", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "workspace, warm cache", "ms": [1058.0805420177057, 1064.7187079885043, 1083.7782500311732], "settled_ms": [1058.0805420177057, 1064.7187079885043, 1083.7782500311732], "fresh_process": true, "result_count": 3, "note": "3976 files indexed, 3975 from cache, 3 skipped | nothing in flight during the scan", "ts": "2026-09-09T01:14:49", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok"}
|
||||
{"phase": "scan", "row": "workspace, cold cache, first useful answer", "ms": [84.42629198543727, 82.43237499846146, 85.15745803015307], "first_answer_ms": [84.42629198543727, 82.43237499846146, 85.15745803015307], "settled_ms": [2996.103417011909, 2864.957375044469, 2927.270332991611], "fresh_process": true, "status": "ok", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "message": null, "result_count": 1, "result_counts": [1, 1, 1], "note": "ms is the definition sent during the scan; a 0 result count means the answer arrived before the index could give one. settled_ms is that session's own scan, perturbed by serving the request", "ts": "2026-09-09T01:15:02", "label": "0.52.0-review", "schema": 2, "units": "ms"}
|
||||
{"phase": "scan", "row": "workspace, warm cache, first useful answer", "ms": [120.29304099269211, 118.48579195793718, 118.49116702796891], "first_answer_ms": [120.29304099269211, 118.48579195793718, 118.49116702796891], "settled_ms": [1067.8267090115696, 1107.2501249727793, 1102.342874975875], "fresh_process": true, "status": "ok", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "message": null, "result_count": 1, "result_counts": [1, 1, 1], "note": "ms is the definition sent during the scan; a 0 result count means the answer arrived before the index could give one. settled_ms is that session's own scan, perturbed by serving the request", "ts": "2026-09-09T01:15:10", "label": "0.52.0-review", "schema": 2, "units": "ms"}
|
||||
{"phase": "rss", "row": "server RSS after workspace scan, cold cache", "units": "KiB", "rss_kib": [503632.0, 501264.0, 503824.0], "peak_rss_kib": [503632.0, 501264.0, 503824.0], "store_kib": 45404, "fresh_process": true, "result_count": 3, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "idle RSS a second after the scan settled; peak from `ps -o rss=` sampled at 50 ms; no latency in this row", "ts": "2026-09-09T01:15:27", "label": "0.52.0-review", "schema": 2, "status": "ok"}
|
||||
{"phase": "rss", "row": "server RSS after workspace scan, warm cache", "units": "KiB", "rss_kib": [428000.0, 428608.0, 428032.0], "peak_rss_kib": [428000.0, 428608.0, 428032.0], "store_kib": 45404, "fresh_process": true, "result_count": 3, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "idle RSS a second after the scan settled; peak from `ps -o rss=` sampled at 50 ms; no latency in this row", "ts": "2026-09-09T01:15:38", "label": "0.52.0-review", "schema": 2, "status": "ok"}
|
||||
{"phase": "rss", "row": "server RSS after workspace scan, cold cache", "units": "KiB", "rss_kib": [502304.0, 501808.0, 505712.0], "peak_rss_kib": [502304.0, 501808.0, 505712.0], "store_kib": 45404, "fresh_process": true, "result_count": 3, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "idle RSS a second after the scan settled; peak from `ps -o rss=` sampled at 50 ms; no latency in this row", "ts": "2026-09-09T01:15:56", "label": "0.51.0-reference", "schema": 2, "status": "ok"}
|
||||
{"phase": "rss", "row": "server RSS after workspace scan, warm cache", "units": "KiB", "rss_kib": [430048.0, 428992.0, 429824.0], "peak_rss_kib": [430048.0, 428992.0, 429824.0], "store_kib": 45404, "fresh_process": true, "result_count": 3, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "note": "idle RSS a second after the scan settled; peak from `ps -o rss=` sampled at 50 ms; no latency in this row", "ts": "2026-09-09T01:16:07", "label": "0.51.0-reference", "schema": 2, "status": "ok"}
|
||||
{"phase": "scanload", "row": "definition every 100 ms, warm cache, 1 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 2, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [231.02662502788007, 272.09970902185887, 331.03475003736094, 340.92241601319984, 369.39124995842576, 430.9707919601351, 440.27550000464544, 469.78204196784645, 530.8990830089897, 540.1587910018861, 569.5378750097007, 630.5581249762326, 640.1443749782629, 671.7419580090791, 731.8317499593832, 739.0144579694606, 770.2299589873292, 832.5662499992177, 838.3662080159411, 870.1959579484537, 932.8641250031069, 940.040957997553, 969.7758330148645, 1031.0971660073847, 1039.0954170143232, 1071.4224579860456, 1130.5584160145372, 1140.0499579613097, 1171.6288750176318, 1232.7175000100397, 1239.933791977819, 1269.8522499995306, 1332.8708750195801, 1339.6738750161603, 1370.3380840015598, 1430.838499974925, 1439.9789590388536, 1469.619415991474, 1531.3660000101663, 1538.9199169585481, 1569.6899999747984, 1631.8986659753136, 1639.9600409786217, 1670.0302499812096, 1732.8165840008296, 1739.4487090059556, 1770.040458010044, 1830.7587080053054, 1839.7049169871025, 1870.1480000163428, 1931.5903329988942, 1939.2652499955148, 1970.9985830122605, 2031.8161670002155, 2038.5732920258306, 2071.1795419920236, 2131.9097920204513, 2139.734208001755, 2169.8138340143487, 2232.7430410077795, 2238.7706249719486, 2269.540250010323, 2330.260500020813, 2339.9529170128517, 2371.424290991854, 2430.893625016324, 2438.0488749593496, 2469.0436249948107, 2531.3126249820925, 2539.099332992919, 2569.7709579835646, 2631.048333016224, 2639.473250019364, 2669.6615829714574, 2730.802041012794, 2739.449583052192, 2770.3413339913823, 2830.8503750013188, 2838.9876669971272, 2870.1325000147335, 2930.2297080284916, 2939.758874999825, 2970.087166002486, 3032.330791989807, 3039.64408300817, 3069.535666028969, 3131.768374994863, 3140.2731670532376, 3170.615667011589, 3232.2637080214918, 3238.4166659903713, 3269.410874985624, 3332.262041978538, 3339.3877079943195, 3368.84916695999, 3430.7034999947064, 3439.3887919723056, 3468.9126249868423, 3532.510709017515, 3539.43108295789, 3569.068040989805, 3632.623917015735, 3638.7511249631643, 3671.2672500289045, 3740.291874972172], "latency_median_ms": 1970.9985830122605, "latency_max_ms": 3740.291874972172, "mid_scan_median_ms": 1970.9985830122605, "mid_scan_max_ms": 3740.291874972172, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 105, "after_settle_answers": 0, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 0, "settled_ms": [5449.216000037268, 4283.975166967139, 4251.313499931712], "tick_jitter_ms": 2.73800001014024, "publication": [{"publish_absorb": 1943.89, "publish_candidates": 555.04, "publish_includes": 52.54, "publish_overlay": 5.24, "publish_total": 2556.71, "publishes": 35, "published": 1807, "first_publish": 172.45, "scan_total": 5435.57}, {"publish_absorb": 2423.5, "publish_candidates": 717.32, "publish_includes": 53.01, "publish_overlay": 5.25, "publish_total": 3199.08, "publishes": 34, "published": 1807, "first_publish": 267.32, "scan_total": 4276.19}, {"publish_absorb": 2406.18, "publish_candidates": 693.44, "publish_includes": 52.27, "publish_overlay": 5.15, "publish_total": 3157.04, "publishes": 34, "published": 1807, "first_publish": 275.31, "scan_total": 4243.78}], "ts": "2026-09-09T01:16:27", "label": "0.51.0-reference", "schema": 2, "units": "ms"}
|
||||
{"phase": "scanload", "row": "definition every 100 ms, warm cache, 1 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 2, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [0.2507920144125819, 0.254875048995018, 0.2752500004135072, 0.36295794416218996, 0.3658750210888684, 0.36633398849517107, 0.37595804315060377, 0.3797499812208116, 0.38595800288021564, 0.38662500446662307, 0.3871670342050493, 0.39129104698076844, 0.39199995808303356, 0.4087500274181366, 0.4116250202059746, 0.4124999977648258, 0.42108300840482116, 0.42679201578721404, 0.4311670199967921, 0.43145898962393403, 0.4496669862419367, 0.458541966509074, 0.4627919988706708, 0.4814580315724015, 0.48895797226577997, 0.49579201731830835, 0.5095829837955534, 0.5250420072115958, 0.6151669658720493, 0.6951250252313912, 0.7722079753875732, 1.1667080107145011, 1.2279170332476497, 1.2295409687794745, 1.2410409981384873, 1.2829999905079603, 1.2955829733982682, 1.3219169923104346, 1.4695830177515745, 1.5291669988073409, 1.767750014550984, 2.201541035901755, 2.298375009559095, 2.323874970898032, 2.4139999877661467, 2.4449999909847975, 2.7526660123839974, 2.9757089796476066, 2.9851250001229346, 3.46829101908952, 16.16749999811873, 56.933583051431924, 57.05958401085809, 63.06950002908707, 65.63550001010299, 85.42033302364871, 85.74033301556483, 86.31454198621213, 91.15687501616776, 92.75670803617686, 102.7654999634251, 104.0377079625614, 114.4633749499917, 156.94762498605996, 157.04829100286588, 162.06729202531278, 167.66520804958418, 184.46358299115673, 186.2744580139406, 187.62683303793892, 190.6358340056613, 192.6114580128342, 203.79220903851092, 203.98637501057237, 216.29620797466487, 257.43712502298877, 257.4719170224853, 265.0065829511732, 285.87370802415535, 286.47783404449, 291.2995829829015, 293.3724169852212, 304.28579199360684, 315.87270798627287, 386.30954100517556, 403.1678750179708, 415.92470899922773, 486.33124999469146, 504.24404203658924, 514.9935000226833, 586.5473749581724, 601.8317090347409, 615.8681670203805, 685.2300420287065, 704.1380000300705, 716.2059170077555, 785.5232919682749, 886.2317090388387, 985.2439580135979, 1084.3474169960245, 1184.8837499856018, 1285.2690410218202, 1386.270124989096, 1486.5427910117432, 1586.5333330002613], "latency_median_ms": 57.05958401085809, "latency_max_ms": 1586.5333330002613, "mid_scan_median_ms": 57.05958401085809, "mid_scan_max_ms": 1586.5333330002613, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 105, "after_settle_answers": 0, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 0, "settled_ms": [4032.0170000195503, 3407.352709036786, 3408.2122499821708], "tick_jitter_ms": 5.591708060819656, "publication": [{"publish_absorb": 764.26, "publish_candidates": 275.96, "publish_includes": 19.26, "publish_overlay": 1.3, "publish_total": 1060.78, "publishes": 7, "published": 3676, "first_publish": 660.76, "scan_total": 4018.68}, {"publish_absorb": 470.51, "publish_candidates": 183.67, "publish_includes": 13.52, "publish_overlay": 0.65, "publish_total": 668.35, "publishes": 4, "published": 3441, "first_publish": 493.11, "scan_total": 1781.58}, {"publish_absorb": 474.3, "publish_candidates": 192.46, "publish_includes": 12.97, "publish_overlay": 0.66, "publish_total": 680.39, "publishes": 4, "published": 3482, "first_publish": 492.07, "scan_total": 1785.99}], "ts": "2026-09-09T01:16:43", "label": "0.52.0-review", "schema": 2, "units": "ms"}
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, cold cache, 0 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 270, "requests_offered": 90, "rate_ms": 100, "open_buffers": 1, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [0.20474998746067286, 0.22149999858811498, 0.22633298067376018, 0.22674998035654426, 0.25866698706522584, 0.335542019456625, 0.33662497298792005, 0.342374958563596, 0.3535420401021838, 0.3541670157574117, 0.35570800537243485, 0.3559160395525396, 0.35924999974668026, 0.3604159574024379, 0.3625419922173023, 0.36291603464633226, 0.363041996024549, 0.36533299135044217, 0.3654159954749048, 0.36862498382106423, 0.3690419835038483, 0.36987499333918095, 0.3708339645527303, 0.37237495416775346, 0.3729589516296983, 0.37399999564513564, 0.3751249751076102, 0.3754580393433571, 0.37633400643244386, 0.3767090383917093, 0.3768749884329736, 0.3773330245167017, 0.37820899160578847, 0.37854205584153533, 0.37920899922028184, 0.3792499774135649, 0.37929200334474444, 0.37933303974568844, 0.3802499850280583, 0.38045895053073764, 0.3809579648077488, 0.38179202238097787, 0.3837919794023037, 0.38491602754220366, 0.38595800288021564, 0.38762501208111644, 0.3892919630743563, 0.39054203080013394, 0.39091601502150297, 0.39245799416676164, 0.39425003342330456, 0.3957499866373837, 0.39666699012741446, 0.3969999961555004, 0.39712502621114254, 0.3975420258939266, 0.39787503192201257, 0.3987079835496843, 0.40020799497142434, 0.400707998778671, 0.4023329820483923, 0.40495803114026785, 0.4065419780090451, 0.40675001218914986, 0.40691602043807507, 0.4069579881615937, 0.4075420438311994, 0.40791602805256844, 0.4095829790458083, 0.41024998063221574, 0.4107080167159438, 0.413707981351763, 0.4164170240983367, 0.41691696969792247, 0.4177080118097365, 0.419542018789798, 0.4201669944450259, 0.42033300269395113, 0.42212504195049405, 0.4242919967509806, 0.4248339682817459, 0.4274160019122064, 0.4309579962864518, 0.43233297765254974, 0.43258402729406953, 0.44362503103911877, 0.44470897410064936, 0.4504999960772693, 0.462208001408726, 0.4670420312322676, 0.46729197492823005, 0.4699170240201056, 0.4777089925482869, 0.48991700168699026, 0.4908330156467855, 0.49841601867228746, 0.5057909875176847, 0.5127500044181943, 0.5805420223623514, 0.5873749614693224, 0.5931250052526593, 0.6327499868348241, 0.6843330338597298, 0.7296249968931079, 0.759792048484087, 0.7769999792799354, 0.8421249804086983, 0.8471250184811652, 0.8660839521326125, 0.8999169804155827, 0.9412500075995922, 0.9451250080019236, 0.9730419842526317, 1.0114579927176237, 1.0394169948995113, 1.074250030796975, 1.1261670151725411, 1.1672499822452664, 1.1826250120066106, 1.1919999960809946, 1.1953340144827962, 1.1954579968005419, 1.2069999938830733, 1.2120829778723419, 1.2217919575050473, 1.2232079752720892, 1.2319170054979622, 1.2464590254239738, 1.2742499820888042, 1.2877089902758598, 1.2995409779250622, 1.3074579765088856, 1.3085830141790211, 1.3187919976189733, 1.3228750322014093, 1.3254169607535005, 1.3257079990580678, 1.3427499798126519, 1.348958001472056, 1.3496670289896429, 1.3552919845096767, 1.373290957417339, 1.3737920089624822, 1.3811249518767, 1.3877080054953694, 1.4210829976946115, 1.4228749787434936, 1.4255410060286522, 1.4413330354727805, 1.4820420183241367, 1.484000007621944, 1.4983330038376153, 1.4985839952714741, 1.5417920076288283, 1.5435419627465308, 1.55533297220245, 1.5656249597668648, 1.5688749845139682, 1.5930410008877516, 1.6286669997498393, 1.6395000275224447, 1.6602500109001994, 1.6760409926064312, 1.6874169814400375, 1.7006249981932342, 1.7213340033777058, 1.7252079560421407, 1.7261250177398324, 1.7387500265613198, 1.742499996908009, 1.743166008964181, 1.7470000311732292, 1.7499999958090484, 1.7636249540373683, 1.8167499802075326, 1.8392089987173676, 1.8726250273175538, 1.9636250217445195, 1.9641669932752848, 1.9680000259540975, 2.0008329884149134, 2.0903749973513186, 2.1107920329086483, 2.1733749890699983, 2.1801249822601676, 2.326708985492587, 2.3330420372076333, 2.4499999708496034, 2.465625002514571, 2.5036250008270144, 2.567416988313198, 2.6513339835219085, 2.6877920026890934, 2.7570000384002924, 2.9014170286245644, 3.0343750258907676, 3.4132080036215484, 3.4826669725589454, 3.908999962732196, 4.281750007066876, 4.511666018515825, 4.662249993998557, 5.844958999659866, 6.637290993239731, 8.537958026863635, 8.620499982498586, 9.497040999121964, 13.173083018045872, 13.2913330453448, 14.414749981369823, 17.024791974108666, 17.170417006127536, 22.697874985Line truncated
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, cold cache, 10 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 270, "requests_offered": 90, "rate_ms": 100, "open_buffers": 11, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [0.30983303440734744, 0.3370419726707041, 0.35729201044887304, 0.36687497049570084, 0.37174997851252556, 0.37699996028095484, 0.3802920109592378, 0.38333400152623653, 0.38454204332083464, 0.38716697599738836, 0.3905409830622375, 0.39079098496586084, 0.39125001057982445, 0.39250002009794116, 0.3927499637939036, 0.3927919897250831, 0.3927919897250831, 0.3944169729948044, 0.39504095911979675, 0.39529200876131654, 0.3957919543609023, 0.3969580284319818, 0.39720896165817976, 0.3973339917138219, 0.39770902367308736, 0.39775000186637044, 0.39787503192201257, 0.39916601963341236, 0.4005000228062272, 0.40133402217179537, 0.40241697570309043, 0.4077079938724637, 0.4082500236108899, 0.40924997301772237, 0.4146249848417938, 0.41516695637255907, 0.41799998143687844, 0.4189580213278532, 0.4190829931758344, 0.4197079688310623, 0.42033399222418666, 0.4225000157020986, 0.42279198532924056, 0.42395800119265914, 0.425292004365474, 0.4265420138835907, 0.4267080221325159, 0.42799999937415123, 0.4300840082578361, 0.4306669579818845, 0.43291598558425903, 0.43337501119822264, 0.43641700176522136, 0.4408329841680825, 0.4409999819472432, 0.44237502152100205, 0.4467919934540987, 0.44741597957909107, 0.44875004095956683, 0.45324995880946517, 0.45416696229949594, 0.45774999307468534, 0.45904202852398157, 0.4615000216290355, 0.4622919950634241, 0.4653329961001873, 0.46720902901142836, 0.47083396930247545, 0.4742500022985041, 0.4751670057885349, 0.475957989692688, 0.48041599802672863, 0.4877499886788428, 0.48779096687212586, 0.4997500218451023, 0.5112919607199728, 0.5207500071264803, 0.5226670182310045, 0.5446249851956964, 0.553040998056531, 0.5556250107474625, 0.5634579574689269, 0.584208988584578, 0.5941659910604358, 0.5979160196147859, 0.6147499661892653, 0.6167909596115351, 0.6177910254336894, 0.6242080125957727, 0.6294170161709189, 0.6585000082850456, 0.6617920007556677, 0.685208011418581, 0.7040839991532266, 0.7118330104276538, 0.7658330141566694, 0.7750410004518926, 0.7893750444054604, 0.7909999694675207, 0.8316250168718398, 0.8324579684995115, 0.8532500360161066, 0.9313340415246785, 0.9760410175658762, 1.0762079618871212, 1.2182919890619814, 1.221290964167565, 1.2397499522194266, 1.2471670052036643, 1.2690420262515545, 1.3246249873191118, 1.340750022791326, 1.3515420141629875, 1.38766597956419, 1.4245000202208757, 1.4327910030260682, 1.4412080054171383, 1.4444999978877604, 1.46266701631248, 1.4721660409122705, 1.4892079634591937, 1.4954999787732959, 1.5902910381555557, 1.5985410427674651, 1.607084006536752, 1.6452079871669412, 1.64695899002254, 1.6876250156201422, 1.7329580150544643, 1.7848749994300306, 1.8157500308007002, 1.8334159976802766, 1.8654169980436563, 1.9495830056257546, 2.0004999823868275, 2.024749992415309, 2.0325829973444343, 2.0814170129597187, 2.120583027135581, 2.181417017709464, 2.2225420107133687, 2.2851249668747187, 2.3669590009376407, 2.3923339904285967, 2.500667003914714, 2.5042080087587237, 2.507208031602204, 2.5184580008499324, 2.523000002838671, 2.6686249766498804, 2.711333043407649, 2.772292005829513, 2.85274995258078, 2.8778749983757734, 2.9494999907910824, 2.9971670010127127, 3.046875004656613, 3.2251669908873737, 3.2452080049552023, 3.304417012259364, 3.400582994800061, 3.6621250328607857, 3.8219999987632036, 4.026332986541092, 4.794790991581976, 5.849041976034641, 6.338791979942471, 7.691999955568463, 14.305416960269213, 16.713917022570968, 18.137291015591472, 19.85200005583465, 20.210040966048837, 26.58591599902138, 30.635958013590425, 34.43729202263057, 37.48991701286286, 39.7868329891935, 46.27154103945941, 56.808458000887185, 61.78120902040973, 62.26433295523748, 63.64629196468741, 88.9579170034267, 89.34254199266434, 95.10308300377801, 105.09333299705759, 107.09433298325166, 117.04608297441155, 117.6811249461025, 133.5414579953067, 141.11837500240654, 145.95749997533858, 156.75395802827552, 162.67208300996572, 163.51245797704905, 163.76908303936943, 188.09583398979157, 189.94449998717755, 193.4614999918267, 204.7862090403214, 207.31595798861235, 213.70245900470763, 214.99179198872298, 234.83412497444078, 239.55479101277888, 248.0264589539729, 257.06808298127726, 261.8468749569729, 262.2977909632027, 262.5469579943456, 286.16537497146055, 288.01099996780977, 288.8112089713104,Line truncated
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, warm cache, 0 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 1, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [0.1567089930176735, 0.17258297884836793, 0.1823750208131969, 0.25870901299640536, 0.2644580090418458, 0.36449998151510954, 0.36574999103322625, 0.3720829845406115, 0.3748340532183647, 0.37875003181397915, 0.38124999264255166, 0.3813749644905329, 0.38241699803620577, 0.383291975595057, 0.3884999896399677, 0.39187498623505235, 0.40145800448954105, 0.4021669737994671, 0.40433299727737904, 0.4044999950565398, 0.41087501449510455, 0.41108299046754837, 0.4130000015720725, 0.413333997130394, 0.4136249772273004, 0.4182499833405018, 0.4194590146653354, 0.4242080030962825, 0.4327499773353338, 0.43404201278463006, 0.43474999256432056, 0.4431669949553907, 0.4461670177988708, 0.4463749937713146, 0.4469580017030239, 0.44883304508402944, 0.45658304588869214, 0.4680419806391001, 0.47883298248052597, 0.5232089897617698, 0.5246659857220948, 0.5428750300779939, 0.5557909607887268, 0.5991249927319586, 0.7135000196285546, 0.7223749998956919, 0.7272089715115726, 0.8579160203225911, 1.209291978739202, 1.3354999828152359, 1.4036669745109975, 1.4447080320678651, 1.4527919702231884, 1.5151670086197555, 1.607124984730035, 1.6437500016763806, 1.8583749770186841, 2.0522080012597144, 2.193042018916458, 2.610374998766929, 2.73574999300763, 2.846500021405518, 5.394583975430578, 6.07674999628216, 17.992291948758066, 22.500499966554344, 42.14462504023686, 53.77991701243445, 58.73687501298264, 62.88029096322134, 64.46104100905359, 68.37300001643598, 69.29458299418911, 71.31700002355501, 73.76408303389326, 77.44875003118068, 91.45237499615178, 106.47966695250943, 117.42566601606086, 122.7285839850083, 143.3283329824917, 154.95533298235387, 159.0279579977505, 162.34554204856977, 163.19733299314976, 169.55983301158994, 169.74654200021178, 171.22979200212285, 173.7276670173742, 179.29766600718722, 192.81229202169925, 207.69812498474494, 243.17854194669053, 253.59558296622708, 263.5240840027109, 268.47504096804187, 272.7592080482282, 273.0323339928873, 278.23041699593887, 292.0156249892898, 305.3441250231117, 343.2315409881994, 355.6066660094075, 375.48070901539177, 379.6020420268178], "latency_median_ms": 1.4527919702231884, "latency_max_ms": 379.6020420268178, "mid_scan_median_ms": 1.4527919702231884, "mid_scan_max_ms": 379.6020420268178, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 105, "after_settle_answers": 0, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 0, "settled_ms": [3407.0167089812458, 3410.8658749610186, 3406.7385410307907], "tick_jitter_ms": 5.397125030867755, "publication": [{"publish_absorb": 401.18, "publish_candidates": 173.44, "publish_includes": 13.0, "publish_overlay": 0.36, "publish_total": 587.98, "publishes": 5, "published": 3436, "first_publish": 120.52, "scan_total": 1701.39}, {"publish_absorb": 331.32, "publish_candidates": 139.03, "publish_includes": 11.15, "publish_overlay": 0.34, "publish_total": 481.84, "publishes": 4, "published": 3081, "first_publish": 118.75, "scan_total": 1536.76}, {"publish_absorb": 400.81, "publish_candidates": 171.16, "publish_includes": 13.23, "publish_overlay": 0.36, "publish_total": 585.56, "publishes": 5, "published": 3456, "first_publish": 118.22, "scan_total": 1687.39}], "ts": "2026-09-09T01:18:02", "label": "0.52.0-review", "schema": 2, "units": "ms"}
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, warm cache, 10 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 11, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [0.2995419781655073, 0.36920898128300905, 0.3736250218935311, 0.37712499033659697, 0.3893329994753003, 0.3900409792549908, 0.3937500296160579, 0.41191698983311653, 0.41683303425088525, 0.4172499757260084, 0.41916698683053255, 0.42216700967401266, 0.42983301682397723, 0.44733297545462847, 0.4491670406423509, 0.4497499903663993, 0.4505419638007879, 0.4556670319288969, 0.46545802615582943, 0.47637498937547207, 0.4775419947691262, 0.517958018463105, 0.5207500071264803, 0.5358750349842012, 0.5608749925158918, 0.5793749587610364, 0.5881660035811365, 0.589708040934056, 0.6294999620877206, 0.6559999892488122, 0.6595830200240016, 0.7256660028360784, 0.8640410378575325, 0.9828750044107437, 1.304500037804246, 1.3474579900503159, 1.413875026628375, 1.4257910079322755, 1.4327919925563037, 1.4707499649375677, 1.5054999967105687, 1.5845000161789358, 1.5974999987520278, 1.8340839887969196, 1.9388750079087913, 1.9652079790830612, 1.9924999796785414, 2.091667032800615, 2.192125015426427, 2.3298750165849924, 2.576208033133298, 3.8130839820951223, 9.627292049117386, 10.309334029443562, 11.340291996020824, 35.95295798731968, 43.56899997219443, 67.1394580276683, 70.5937499878928, 76.90470904344693, 86.34304197039455, 100.13583302497864, 104.83595903497189, 109.47245801799, 111.3881670171395, 111.64237500634044, 131.83370896149427, 142.8550000418909, 165.45312496600673, 169.5360830053687, 174.75624999497086, 187.0386659866199, 200.70391695480794, 202.87862495752051, 210.3013750165701, 211.4611670258455, 212.0887089986354, 233.8570419815369, 241.73633399186656, 267.42375001776963, 270.5379169783555, 275.0038750236854, 285.7787079992704, 301.1213330319151, 309.6685410127975, 310.35241700010374, 335.9032919979654, 385.5018329923041, 410.56766599649563, 434.6805409877561, 487.36441700020805, 511.1273330403492, 534.6575410221703, 587.2191250091419, 611.5488329669461, 635.8172500040382, 686.5012499620207, 711.7035000119358, 733.7996250134893, 786.4580830209889, 811.6557910107076, 834.1072909533978, 887.8402920090593, 912.226666987408, 935.9836250077933], "latency_median_ms": 9.627292049117386, "latency_max_ms": 935.9836250077933, "mid_scan_median_ms": 93.2394374976866, "mid_scan_max_ms": 935.9836250077933, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 88, "after_settle_answers": 17, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 0, "settled_ms": [3414.8414590163156, 3411.4109999500215, 1714.3974580103531], "tick_jitter_ms": 4.853875027038157, "publication": [{"publish_absorb": 584.21, "publish_candidates": 218.45, "publish_includes": 15.06, "publish_overlay": 3.37, "publish_total": 821.09, "publishes": 5, "published": 3644, "first_publish": 455.71, "scan_total": 1962.48}, {"publish_absorb": 589.67, "publish_candidates": 227.47, "publish_includes": 14.66, "publish_overlay": 3.31, "publish_total": 835.11, "publishes": 5, "published": 3577, "first_publish": 453.08, "scan_total": 1989.54}, {"publish_absorb": 425.04, "publish_candidates": 178.03, "publish_includes": 12.39, "publish_overlay": 2.43, "publish_total": 617.89, "publishes": 4, "published": 3244, "first_publish": 499.65, "scan_total": 1703.0}], "ts": "2026-09-09T01:18:18", "label": "0.52.0-review", "schema": 2, "units": "ms"}
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, cold cache, 0 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 270, "requests_offered": 90, "rate_ms": 100, "open_buffers": 1, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [9.902124991640449, 10.340040957089514, 10.616042010951787, 22.2932500182651, 23.17745902109891, 25.093042000662535, 32.31020801467821, 34.17783399345353, 36.73487500054762, 37.10945800412446, 37.140625005122274, 39.037459006067365, 41.09216696815565, 45.823332970030606, 47.85100003937259, 54.68316696351394, 55.404125014320016, 57.97408299986273, 58.836374955717474, 62.380584015045315, 63.21670801844448, 64.11545805167407, 64.65700000990182, 68.94033396383747, 70.02041599480435, 71.02074997965246, 71.06916705379263, 71.84799999231473, 73.54337500873953, 73.76087503507733, 74.9115829821676, 76.5977919800207, 78.02445802371949, 78.11358396429569, 78.71583302039653, 78.77341599669307, 79.56245803507045, 80.36583400098607, 80.4101669928059, 80.86512499721721, 81.91404095850885, 82.29991601547226, 82.66950002871454, 83.45495798857883, 83.7867499794811, 83.92108301632106, 85.03516699420288, 85.23691701702774, 85.43437503976747, 85.49024997046217, 85.72933299001306, 86.40499995090067, 86.91891597118229, 87.58845902048051, 88.1728749955073, 88.21699995314702, 88.39762501884252, 88.51129101822153, 90.50724998814985, 91.40500001376495, 91.48658404592425, 92.35129202716053, 92.88879198720679, 92.89891697699204, 92.94633299577981, 92.97058399533853, 93.1052920059301, 93.22491701459512, 93.30479195341468, 94.42141698673368, 94.95887497905642, 95.17824999056756, 95.35841702017933, 95.46820801915601, 95.47904197825119, 95.94995900988579, 96.0554169723764, 96.22308297548443, 96.26812499482185, 96.40537499217317, 96.61700000287965, 97.11925004376099, 97.12937497533858, 97.32412500306964, 97.41849999409169, 97.48870803741738, 97.63412503525615, 97.68000000622123, 97.70887502236292, 97.8191249887459, 97.87066699936986, 97.93595899827778, 98.22325001005083, 98.47858402645215, 98.54566701687872, 98.85624999878928, 99.1745840292424, 99.51433399692178, 99.68670801026747, 99.70341698499396, 100.00020900042728, 100.02937499666587, 100.02995899412781, 100.04245804157108, 100.25141696678475, 100.47062498051673, 100.56333401007578, 100.58312502223998, 100.65420804312453, 100.82325001712888, 101.37779201613739, 101.7637500190176, 102.01987496111542, 102.06549998838454, 102.17554197879508, 102.56441700039431, 102.6337500079535, 102.95125003904104, 102.97695797635242, 103.00500004086643, 103.29733300022781, 103.68308302713558, 103.757124976255, 103.99470804259181, 104.04420900158584, 104.10029097693041, 104.14316697278991, 104.35429197968915, 104.35658297501504, 104.80116697726771, 104.91241596173495, 104.95158296544105, 105.39924999466166, 106.36249999515712, 106.42679099692032, 106.6551249823533, 106.89729102887213, 106.89845896558836, 107.16545803006738, 107.48775000683963, 107.64308302896097, 108.03720896365121, 108.17570798099041, 108.61404100432992, 108.90716704307124, 109.02274999534711, 109.03570899972692, 109.07679196679965, 109.42029202124104, 109.71345799043775, 109.79629104258493, 109.84841600293294, 110.11154198786244, 110.57020799489692, 110.6995830195956, 111.01520800730214, 111.03195900795981, 111.03754199575633, 111.08987499028444, 111.12729198066518, 111.35487497085705, 111.44095798954368, 111.64083302719519, 112.00345802353695, 112.08024999359623, 112.14445903897285, 112.59324999991804, 112.73483303375542, 112.80195799190551, 113.13004198018461, 113.20254195015877, 113.86216699611396, 113.87333302991465, 113.88779198750854, 114.08149998169392, 114.25145802786574, 114.28316595265642, 114.30666700471193, 114.87383302301168, 115.44000002322719, 115.6363749760203, 116.20345897972584, 116.24716699589044, 116.73141596838832, 116.73908401280642, 117.07812501117587, 117.14137502713129, 118.51104197558016, 119.12933300482109, 119.44983300054446, 119.60916599491611, 120.20429200492799, 120.42283295886591, 120.45120797120035, 120.76920800609514, 120.83033297676593, 121.53358396608382, 122.62758304132149, 123.52154101245105, 125.31479197787121, 126.85050000436604, 127.04187497729436, 127.08387500606477, 127.41695798467845, 127.52749997889623, 127.88216699846089, 128.0113750253804, 128.78487503621727, 129.35466703493148, 129.83937497483566, 129.93595900479704, 130.18787500914186, 130.81549998605624, 131.55774999177083, 131.71712501207367, 131.85233296826482, 136.42591598909348, 136.98545895749703, 137.199042015708Line truncated
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, cold cache, 10 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 270, "requests_offered": 90, "rate_ms": 100, "open_buffers": 11, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [335.74629097711295, 351.9685410428792, 361.7872910108417, 436.1903340322897, 450.64200001070276, 462.3638750053942, 537.0929580531083, 551.2578340130858, 561.5836659562774, 637.1752499835566, 652.9722500126809, 661.7090840009041, 736.8382080458105, 750.9314999915659, 762.0219580130652, 836.098832951393, 850.7772920420393, 861.2403749721125, 936.1467079725116, 950.924834003672, 961.6388329886831, 1036.666292056907, 1050.789333996363, 1061.6964590153657, 1134.976709028706, 1151.3806660077535, 1161.6623749723658, 1235.4647500324063, 1251.331165956799, 1262.5051669892855, 1336.8653330253437, 1352.5381250074133, 1361.712499987334, 1434.553833969403, 1453.097500023432, 1462.4552500317805, 1535.2574580465443, 1551.0733330156654, 1560.5822910438292, 1636.1803750041872, 1650.3649160149507, 1660.5697919731028, 1736.7307919776067, 1752.9838330228813, 1761.341916047968, 1836.5692910156213, 1851.1388340266421, 1860.4713749955408, 1936.8341660010628, 1951.8172919633798, 1962.0588749530725, 2036.9501669774763, 2052.606332988944, 2062.866166990716, 2136.9384579593316, 2151.1245000292547, 2160.258124989923, 2236.4027090370655, 2251.535875024274, 2260.2882910287008, 2334.7892920137383, 2351.7933749826625, 2361.9327500346117, 2436.7287079803646, 2452.03612500336, 2460.1993749965914, 2534.561541979201, 2552.803083031904, 2561.2569169607013, 2634.696041001007, 2651.343417004682, 2660.55241698632, 2736.4757080213167, 2751.4027080032974, 2760.564249998424, 2836.0392909962684, 2851.03129199706, 2860.690000001341, 2935.699583031237, 2950.104999996256, 2960.808083007578, 3035.130958945956, 3052.327666024212, 3060.855708026793, 3135.3868329897523, 3150.8257089881226, 3160.465083026793, 3235.545625037048, 3252.2037499584258, 3260.0273749558255, 3335.622207960114, 3350.1388329896145, 3362.3819159693085, 3435.717415995896, 3450.4259579698555, 3462.3161670169793, 3534.327791945543, 3551.6020829672925, 3561.8043749709614, 3635.847500001546, 3651.9291659933515, 3660.8253750018775, 3735.834957973566, 3751.119041990023, 3760.7715419726446, 3835.8214999898337, 3852.3707089480013, 3861.0295420512557, 3935.972916020546, 3952.2335839574225, 3961.5827500238083, 4036.1124590272084, 4050.8453749935143, 4062.064333993476, 4136.53008302208, 4151.65745903505, 4161.061082966626, 4234.56112499116, 4249.953665945213, 4261.988916958217, 4334.784250007942, 4350.1046250457875, 4361.916207999457, 4434.790125000291, 4451.016917009838, 4459.975999954622, 4535.127500013914, 4551.052875001915, 4561.625790956896, 4636.227999988478, 4651.573707989883, 4661.608667054679, 4734.10458303988, 4752.478415961377, 4761.7021659971215, 4834.567292011343, 4852.371957967989, 4861.618166032713, 4934.934791002888, 4950.29137498932, 4959.832750027999, 5034.84416694846, 5050.135708996095, 5059.938499995042, 5134.383374999743, 5150.64979204908, 5161.724624980707, 5234.324791003019, 5250.175666995347, 5261.034708004445, 5336.349499993958, 5352.110082982108, 5360.941874969285, 5436.137166980188, 5451.938499987591, 5460.516208957415, 5536.146625003312, 5550.955416983925, 5561.64616701426, 5635.494499991182, 5650.373124983162, 5660.847416962497, 5735.971832997166, 5750.328625028487, 5759.625124977902, 5835.67054203013, 5850.075749971438, 5860.600541986059, 5935.748916992452, 5952.0846249652095, 5961.269500025082, 6035.470750008244, 6051.5090840053745, 6061.692541989032, 6135.092667012941, 6151.113583007827, 6161.9017500197515, 6234.673833008856, 6250.1529170549475, 6261.178332963027, 6334.493833011948, 6350.415916997008, 6359.344583004713, 6434.55033301143, 6450.561375007965, 6460.448333004024, 6534.61316699395, 6550.55587500101, 6561.3799169659615, 6634.737292013597, 6650.008541007992, 6659.567583992612, 6734.620917006396, 6750.328458962031, 6760.721541999374, 6834.66870803386, 6851.530292013194, 6860.454749956261, 6934.099042031448, 6952.039625030011, 6959.739916026592, 7033.839791023638, 7051.724791992456, 7059.883916983381, 7135.669874958694, 7151.214708050247, 7160.776167002041, 7234.227417036891, 7251.2259999639355, 7259.151500009466, 7335.687457991298, 7351.7887920024805, 7360.632415977307, 7434.30637504207, 7450.542458042037, 7460.5222920072265, 7535.302457981743, 7549.733499996364, 7560.988833953161, 7634.430457954295, 7651.1622500256635, 7659.22620799392Line truncated
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, warm cache, 0 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 1, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [8.513291017152369, 11.442125018220395, 12.872666004113853, 76.23354200040922, 76.31550001678988, 81.47733402438462, 82.56333303870633, 83.7337090051733, 84.72541702212766, 84.82645801268518, 84.92162497714162, 85.51645802799612, 87.48149999883026, 87.49133296078071, 88.42720795655623, 90.84254200570285, 93.97200000239536, 95.2837910153903, 95.64212500117719, 95.79679102171212, 96.48095798911527, 97.31587499845773, 97.7104589692317, 98.02520804805681, 98.66770799271762, 98.9327909774147, 100.29308299999684, 100.76791699975729, 101.10033303499222, 101.34108300553635, 101.37787502026185, 101.54699999839067, 101.93033301038668, 105.4825410246849, 107.4730419786647, 109.47445797501132, 109.68079202575609, 109.70870801247656, 110.58504099491984, 110.72158301249146, 114.05054200440645, 114.19520899653435, 115.08333298843354, 116.50779203046113, 116.99279199820012, 118.19325003307313, 118.2911250507459, 122.54924996523187, 122.89016600698233, 123.42962494585663, 123.96112503483891, 125.28491602279246, 127.27191601879895, 127.64533399604261, 130.29279198963195, 132.18741700984538, 134.1168750077486, 134.126249991823, 136.49312499910593, 138.40866700047627, 139.75083304103464, 142.4806250142865, 144.7386249783449, 145.521208003629, 147.74429198587313, 149.14729201700538, 150.63629194628447, 152.63079199939966, 153.0972920008935, 156.06504201423377, 157.84966695355251, 158.5612500202842, 159.38783303136006, 163.85599999921396, 164.79541698936373, 165.45358300209045, 167.76574996765703, 170.40729196742177, 170.94570898916572, 174.81820797547698, 175.1023749820888, 176.07629200210795, 180.17962499288842, 180.74187502497807, 180.8608749997802, 184.17195801157504, 185.63754198839888, 186.6147500113584, 188.66854201769456, 190.0606660055928, 191.27537502208725, 192.07662501139566, 195.47370803775266, 196.9412500038743, 199.61499999044463, 200.48254198627546, 201.30316604627296, 203.65920796757564, 205.54445800371468, 207.62016699882224, 208.53337500011548, 209.34441598365083, 288.89537503710017, 303.5131670185365, 305.71375001454726], "latency_median_ms": 127.27191601879895, "latency_max_ms": 305.71375001454726, "mid_scan_median_ms": 127.27191601879895, "mid_scan_max_ms": 305.71375001454726, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 105, "after_settle_answers": 0, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 12, "settled_ms": [4105.060499976389, 4136.745374009479, 4203.156500996556], "tick_jitter_ms": 2.624417014885694, "publication": [{"publish_absorb": 2365.93, "publish_candidates": 616.22, "publish_includes": 51.27, "publish_overlay": 2.46, "publish_total": 3035.8799999999997, "publishes": 33, "published": 1861, "first_publish": 281.79, "scan_total": 4096.56}, {"publish_absorb": 2379.36, "publish_candidates": 636.7, "publish_includes": 50.72, "publish_overlay": 2.45, "publish_total": 3069.23, "publishes": 33, "published": 1860, "first_publish": 263.35, "scan_total": 4126.52}, {"publish_absorb": 2435.46, "publish_candidates": 642.64, "publish_includes": 51.03, "publish_overlay": 2.47, "publish_total": 3131.6, "publishes": 34, "published": 1859, "first_publish": 277.67, "scan_total": 4195.38}], "ts": "2026-09-09T01:19:51", "label": "0.51.0-reference", "schema": 2, "units": "ms"}
|
||||
{"phase": "scanload", "row": "cross-folder definition every 100 ms, warm cache, 10 extra buffer(s)", "fresh_process": true, "status": "ok", "message": null, "result_count": 105, "requests_offered": 35, "rate_ms": 100, "open_buffers": 11, "note": "ms is every request's own wait, sorted, across all tries; the arrival rate is wall-clock and independent of the responses (`tick_jitter_ms` is the largest slip); `publication` is each try's first traced scan \u2014 the four publish_* stages, the publish count and the files published; `mismatched_answers` is the coherence contract of docs/features/index-scope/README.md, `unsettled_answers` the review \u00a72 gate (every answer, empty ones included, equal to the settled one)", "ms": [226.20341699803248, 241.39650003053248, 271.0190420038998, 326.0454999981448, 342.26066700648516, 368.59662499045953, 424.6195000014268, 442.2450000420213, 468.7907920451835, 524.4040419929661, 541.9453749782406, 568.753416009713, 625.2409999724478, 641.9290840276517, 668.817957979627, 725.5809999769554, 741.6812080191448, 769.7975840419531, 825.5425000097603, 841.4298749994487, 868.5702080256306, 925.7162499707192, 941.3640000275336, 968.4813329949975, 1026.1333329835907, 1039.744374982547, 1069.9023330234922, 1125.8545409655198, 1141.3147920393385, 1168.9767920179293, 1225.8606659597717, 1241.5034580044448, 1269.3024579784833, 1326.0361250140704, 1340.0207090307958, 1369.5688750012778, 1426.2369999778457, 1440.6650839955546, 1469.5063750259578, 1524.385875032749, 1541.6793749900535, 1570.564249996096, 1625.3879999858327, 1642.1471670037135, 1669.5357079734094, 1725.0406249659136, 1740.206750051584, 1769.6382910362445, 1825.250750000123, 1840.3770829900168, 1868.4078750084154, 1925.3137079649605, 1940.7753749983385, 1970.4457079642452, 2025.6511659827083, 2040.7403749995865, 2068.381874996703, 2123.9959170343354, 2142.0173750375398, 2170.1701669953763, 2224.2987499921583, 2241.965666995384, 2267.0772920246236, 2323.862958000973, 2341.871041979175, 2369.6067499695346, 2424.045916995965, 2441.2017079885118, 2469.0970000228845, 2524.6080000069924, 2540.580125001725, 2568.7733750091866, 2624.219916004222, 2640.973749978002, 2669.201167009305, 2724.7269169893116, 2740.3815000434406, 2768.9377079950646, 2824.7620839974843, 2839.9895830079913, 2868.495417002123, 2924.243541958276, 2939.602416998241, 2970.3808749909513, 3026.1651659966446, 3041.0785830463283, 3070.2625829726458, 3124.8390420223586, 3139.5699169952422, 3170.6455829553306, 3225.3422920475714, 3240.330583998002, 3269.8907500016503, 3325.589958985802, 3340.089374978561, 3368.367124989163, 3425.539707997814, 3441.8976670131087, 3468.500499962829, 3526.063041004818, 3539.5341250114143, 3568.935749994125, 3626.2147499946877, 3641.9260410475545, 3670.666290970985], "latency_median_ms": 1940.7753749983385, "latency_max_ms": 3670.666290970985, "mid_scan_median_ms": 1940.7753749983385, "mid_scan_max_ms": 3670.666290970985, "requests_sent": [35, 35, 35], "requests_answered": 105, "mid_scan_answers": 105, "after_settle_answers": 0, "unanswered_requests": 0, "mismatched_answers": 0, "unsettled_answers": 105, "settled_ms": [4220.629334042314, 4275.046957947779, 4244.135040964466], "tick_jitter_ms": 3.8492910098284483, "publication": [{"publish_absorb": 2420.6, "publish_candidates": 663.82, "publish_includes": 50.22, "publish_overlay": 19.98, "publish_total": 3154.62, "publishes": 34, "published": 1807, "first_publish": 263.8, "scan_total": 4203.5}, {"publish_absorb": 2422.37, "publish_candidates": 703.05, "publish_includes": 51.54, "publish_overlay": 20.9, "publish_total": 3197.8599999999997, "publishes": 34, "published": 1807, "first_publish": 266.04, "scan_total": 4258.06}, {"publish_absorb": 2410.72, "publish_candidates": 678.44, "publish_includes": 51.64, "publish_overlay": 20.77, "publish_total": 3161.5699999999997, "publishes": 34, "published": 1808, "first_publish": 266.93, "scan_total": 4231.64}], "ts": "2026-09-09T01:20:09", "label": "0.51.0-reference", "schema": 2, "units": "ms"}
|
||||
{"phase": "refactor", "row": "expand-wildcard offer", "titles": ["lucisv: expand .* (32 connections)", "lucisv: extract selection into module\u2026"], "shapes": ["data", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/kmac/fpv/tb/sha3_fpv.sv", "position": {"line": 54, "character": 4}, "ms": [4.856499959714711, 2.038917038589716, 1.6384579939767718, 1.6377920401282609], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:13", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "expand-wildcard resolve: lucisv: expand .* (32 connections)", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "8f3a26dd147b2b8031ee2af6e47f52228c91d69fea1ab9a5b885e8b653c56115", "ms": [75.03170799463987, 56.26808403758332, 55.418417032342404, 54.370458994526416], "status": "ok", "result_count": 1, "edits": 1, "files": 1, "created": 0, "ts": "2026-09-09T01:20:13", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "expand-wildcard offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:13", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "organize-imports offer", "titles": ["lucisv: organize imports (removes 1, sorts 1)", "lucisv: extract selection into module\u2026"], "shapes": ["data", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_sbox_canright_masked.sv", "position": {"line": 42, "character": 2}, "ms": [4.029750009067357, 3.460415988229215, 3.4175420296378434, 3.51687497459352], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:16", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "organize-imports resolve: lucisv: organize imports (removes 1, sorts 1)", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "0ee027e37d070d54804a9a08169e8b8c5669ed7b81d9915e6637949d208bfa91", "ms": [9.7159169963561, 8.239208022132516, 7.986999989952892, 7.797166996169835], "status": "ok", "result_count": 1, "edits": 1, "files": 1, "created": 0, "ts": "2026-09-09T01:20:16", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "organize-imports offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:16", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "inline-module offer", "titles": ["lucisv: extract selection into module\u2026", "lucisv: inline `tlul_cmd_intg_gen` here"], "shapes": ["command", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_wrap.sv", "position": {"line": 66, "character": 2}, "ms": [0.9933750261552632, 0.612374977208674, 0.6608749972656369, 0.582791049964726], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:20", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "inline-module offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:20", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "inline-module offer is a command: lucisv: inline `tlul_cmd_intg_gen` here", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.inlineModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:20", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "port-actions offer", "titles": ["lucisv: connect 2 missing ports", "lucisv: extract selection into module\u2026"], "shapes": ["data", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_wrap.sv", "position": {"line": 78, "character": 2}, "ms": [2.08212505094707, 1.1158339912071824, 1.870499982032925, 1.207916997373104], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:23", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "port-actions resolve: lucisv: connect 2 missing ports", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "4b534a16bca7abd205bd16458820936d4dc0c4cea9c963c5374c29a47b13fffb", "ms": [161.33249999256805, 142.7456249948591, 132.87641695933416, 132.62791599845514], "status": "ok", "result_count": 1, "edits": 2, "files": 1, "created": 0, "ts": "2026-09-09T01:20:23", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "port-actions offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:23", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "ansi-header (no offer expected) offer", "titles": [], "shapes": [], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 8, "character": 0}, "ms": [0.6442079902626574, 0.4128750297240913, 0.43245794950053096, 0.3673749743029475], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:20:27", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "extract-module offer (selection)", "titles": ["lucisv: extract selection into module\u2026"], "shapes": ["command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 220, "character": 0}, "note": "selection 220:0-222:53", "ms": [2.6587090105749667, 0.5566250183619559, 0.5232089897617698, 0.4752080421894789], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:20:30", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "extract-module offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:30", "label": "0.51.0-reference", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "expand-wildcard offer", "titles": ["lucisv: expand .* (32 connections)", "lucisv: extract selection into module\u2026"], "shapes": ["data", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/kmac/fpv/tb/sha3_fpv.sv", "position": {"line": 54, "character": 4}, "ms": [1.682459027506411, 1.080457994248718, 1.0803749901242554, 1.00733304861933], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:34", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "expand-wildcard resolve: lucisv: expand .* (32 connections)", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "8f3a26dd147b2b8031ee2af6e47f52228c91d69fea1ab9a5b885e8b653c56115", "ms": [71.55108300503343, 54.28687500534579, 53.77562501234934, 53.80616703769192], "status": "ok", "result_count": 1, "edits": 1, "files": 1, "created": 0, "ts": "2026-09-09T01:20:34", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "expand-wildcard offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:34", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "organize-imports offer", "titles": ["lucisv: organize imports (removes 1, sorts 1)", "lucisv: extract selection into module\u2026"], "shapes": ["data", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_sbox_canright_masked.sv", "position": {"line": 42, "character": 2}, "ms": [5.887124978471547, 6.326834030915052, 10.169624991249293, 9.62525000795722], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:37", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "organize-imports resolve: lucisv: organize imports (removes 1, sorts 1)", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "0ee027e37d070d54804a9a08169e8b8c5669ed7b81d9915e6637949d208bfa91", "ms": [14.393708028364927, 10.427791974507272, 8.306875010021031, 8.056457969360054], "status": "ok", "result_count": 1, "edits": 1, "files": 1, "created": 0, "ts": "2026-09-09T01:20:37", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "organize-imports offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:37", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "inline-module offer", "titles": ["lucisv: extract selection into module\u2026", "lucisv: inline `tlul_cmd_intg_gen` here"], "shapes": ["command", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_wrap.sv", "position": {"line": 66, "character": 2}, "ms": [0.5479159881360829, 0.2696249866858125, 0.3247920540161431, 0.2489580074325204], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:41", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "inline-module offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:41", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "inline-module offer is a command: lucisv: inline `tlul_cmd_intg_gen` here", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.inlineModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:41", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "port-actions offer", "titles": ["lucisv: connect 2 missing ports", "lucisv: extract selection into module\u2026"], "shapes": ["data", "command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes_wrap.sv", "position": {"line": 78, "character": 2}, "ms": [0.9376669768244028, 0.6111669936217368, 0.5560829886235297, 0.5026250146329403], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:44", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "port-actions resolve: lucisv: connect 2 missing ports", "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "fingerprint": "4b534a16bca7abd205bd16458820936d4dc0c4cea9c963c5374c29a47b13fffb", "ms": [132.0979169686325, 127.92104197433218, 130.39050000952557, 130.16649999190122], "status": "ok", "result_count": 1, "edits": 2, "files": 1, "created": 0, "ts": "2026-09-09T01:20:44", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "port-actions offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:44", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "ansi-header (no offer expected) offer", "titles": [], "shapes": [], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 8, "character": 0}, "ms": [0.6773339700885117, 0.2851660246960819, 0.2228749799542129, 0.24008401669561863], "status": "ok", "result_count": 0, "ts": "2026-09-09T01:20:48", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "extract-module offer (selection)", "titles": ["lucisv: extract selection into module\u2026"], "shapes": ["command"], "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 220, "character": 0}, "note": "selection 220:0-222:53", "ms": [1.9001670298166573, 0.3470000228844583, 0.1950410078279674, 0.15654199523851275], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:20:51", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "refactor", "row": "extract-module offer is a command: lucisv: extract selection into module\u2026", "ms": [0.0], "result_count": 1, "client": {"resolveSupport": true, "applyEdit": false, "createFiles": false}, "command": "lucisv.extractModule", "note": "timed by the `execute` phase, not by resolve", "ts": "2026-09-09T01:20:51", "label": "0.52.0-review", "schema": 2, "units": "ms", "status": "ok", "fresh_process": false}
|
||||
{"phase": "execute", "row": "extract-module offer", "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 220, "character": 0}, "titles": ["lucisv: extract selection into module\u2026"], "shapes": ["command"], "ms": [1.0923329973593354, 0.6979579920880497, 0.4639580147340894, 0.41924999095499516], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:20:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "extract-module: lucisv: extract selection into module\u2026", "ms": [174.1382500040345, 150.16983303939924, 145.6700830021873, 146.66933397529647], "status": "capture", "message": "perf capture: the benchmark client never writes", "result_count": 1, "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "command": "lucisv.extractModule", "arguments": 3, "total_ms": [174.1775830159895, 150.20600002026185, 145.69983299588785, 146.70116698835045], "deliver_ms": [0.01529202563688159, 0.01370901009067893, 0.010917021427303553, 0.012416974641382694], "fingerprint": "090e92e7736e0a5a93557d75befa65a5bea0c2f44494d71dc67e3f8d70d05835", "warnings": ["lucisv: `aes_extracted` was written to a new file, `aes_extracted.sv`. (and 2 more \u2014 see the lucisv log)"], "note": "ms is executeCommand -> applyEdit: the edit computation. applyEdit label 'lucisv: lucisv.extractModule'", "edits": 2, "files": 2, "created": 1, "ts": "2026-09-09T01:20:55", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "inline-module offer", "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "file": "hw/ip/aes/rtl/aes_wrap.sv", "position": {"line": 66, "character": 2}, "titles": ["lucisv: extract selection into module\u2026", "lucisv: inline `tlul_cmd_intg_gen` here"], "shapes": ["command", "command"], "ms": [1.8940420122817159, 0.7072500302456319, 0.5643750191666186, 0.5397089989855886], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:20:59", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "inline-module: lucisv: extract selection into module\u2026", "ms": [835.7801670208573, 807.4812090490013, 803.160791983828, 806.56983301742], "status": "refused", "message": "lucisv: the selection drives `h2d_intg`, and something outside it passes the same name to a task or function, which may drive it too; lucisv will not make it an output over that.", "result_count": 0, "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "command": "lucisv.extractModule", "arguments": 3, "total_ms": [835.7801670208573, 807.4812090490013, 803.160791983828, 806.56983301742], "deliver_ms": null, "fingerprint": null, "warnings": [], "note": "no edit was pushed, so ms is the whole executeCommand round trip", "edits": 0, "files": 0, "created": 0, "ts": "2026-09-09T01:21:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "inline-module: lucisv: inline `tlul_cmd_intg_gen` here", "ms": [7.2315839934162796, 6.213875021785498, 6.317083025351167, 5.685417039785534], "status": "refused", "message": "lucisv: `tlul_cmd_intg_gen` uses a `generate` construct, whose block names are reachable through the hierarchy (`u_tlul_cmd_intg_gen.gen.x`) and would become names of `M`'s own; lucisv will not inline it.", "result_count": 0, "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "command": "lucisv.inlineModule", "arguments": 2, "total_ms": [7.2315839934162796, 6.213875021785498, 6.317083025351167, 5.685417039785534], "deliver_ms": null, "fingerprint": null, "warnings": [], "note": "no edit was pushed, so ms is the whole executeCommand round trip", "edits": 0, "files": 0, "created": 0, "ts": "2026-09-09T01:21:02", "label": "0.52.0-review", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "extract-module offer", "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "file": "hw/ip/aes/rtl/aes.sv", "position": {"line": 220, "character": 0}, "titles": ["lucisv: extract selection into module\u2026"], "shapes": ["command"], "ms": [2.516667009331286, 1.024707977194339, 1.3964169775135815, 0.6415829993784428], "status": "ok", "result_count": 1, "ts": "2026-09-09T01:21:06", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "extract-module: lucisv: extract selection into module\u2026", "ms": [178.08345798403025, 150.63129202462733, 148.5303749796003, 147.98329200129956], "status": "capture", "message": "perf capture: the benchmark client never writes", "result_count": 1, "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "command": "lucisv.extractModule", "arguments": 3, "total_ms": [178.11804095981643, 150.67979198647663, 148.60950002912432, 148.02891702856869], "deliver_ms": [0.011041003745049238, 0.02704199869185686, 0.029875023756176233, 0.02195802517235279], "fingerprint": "090e92e7736e0a5a93557d75befa65a5bea0c2f44494d71dc67e3f8d70d05835", "warnings": ["lucisv: `aes_extracted` was written to a new file, `aes_extracted.sv`. (and 2 more \u2014 see the lucisv log)"], "note": "ms is executeCommand -> applyEdit: the edit computation. applyEdit label 'lucisv: lucisv.extractModule'", "edits": 2, "files": 2, "created": 1, "ts": "2026-09-09T01:21:06", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "inline-module offer", "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "file": "hw/ip/aes/rtl/aes_wrap.sv", "position": {"line": 66, "character": 2}, "titles": ["lucisv: extract selection into module\u2026", "lucisv: inline `tlul_cmd_intg_gen` here"], "shapes": ["command", "command"], "ms": [5.88275003246963, 1.3801250024698675, 1.6199999954551458, 1.1981670395471156], "status": "ok", "result_count": 2, "ts": "2026-09-09T01:21:10", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "inline-module: lucisv: extract selection into module\u2026", "ms": [827.52095797332, 790.144250029698, 788.2610830129124, 794.3716250010766], "status": "refused", "message": "lucisv: the selection drives `h2d_intg`, and something outside it passes the same name to a task or function, which may drive it too; lucisv will not make it an output over that.", "result_count": 0, "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "command": "lucisv.extractModule", "arguments": 3, "total_ms": [827.52095797332, 790.144250029698, 788.2610830129124, 794.3716250010766], "deliver_ms": null, "fingerprint": null, "warnings": [], "note": "no edit was pushed, so ms is the whole executeCommand round trip", "edits": 0, "files": 0, "created": 0, "ts": "2026-09-09T01:21:13", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
{"phase": "execute", "row": "inline-module: lucisv: inline `tlul_cmd_intg_gen` here", "ms": [7.030457956716418, 6.090875016525388, 5.8352499618195, 5.980540998280048], "status": "refused", "message": "lucisv: `tlul_cmd_intg_gen` uses a `generate` construct, whose block names are reachable through the hierarchy (`u_tlul_cmd_intg_gen.gen.x`) and would become names of `M`'s own; lucisv will not inline it.", "result_count": 0, "client": {"resolveSupport": true, "applyEdit": true, "createFiles": true}, "command": "lucisv.inlineModule", "arguments": 2, "total_ms": [7.030457956716418, 6.090875016525388, 5.8352499618195, 5.980540998280048], "deliver_ms": null, "fingerprint": null, "warnings": [], "note": "no edit was pushed, so ms is the whole executeCommand round trip", "edits": 0, "files": 0, "created": 0, "ts": "2026-09-09T01:21:13", "label": "0.51.0-reference", "schema": 2, "units": "ms", "fresh_process": false}
|
||||
@@ -0,0 +1,20 @@
|
||||
import subprocess,os,json,time,hashlib
|
||||
from pathlib import Path
|
||||
root=Path('/Users/guoliangchen/repo/verilogrustformatter'); out=Path('/tmp/lucisv-perf-review-20260909'); corpus=Path('/Users/guoliangchen/repo/opentitan')
|
||||
old=str(out/'reference/target/release/lucisv-server')
|
||||
bins={'0.51.0-reference':old,'0.52.0-review':str(root/'target/release/lucisv-server')}
|
||||
def state():
|
||||
s=subprocess.check_output(['git','-C',str(corpus),'status','--porcelain'],text=True)
|
||||
return s,{p:hashlib.sha256((corpus/p).read_bytes()).hexdigest() for p in ['hw/ip/aes/dv/tb/tb.sv','hw/top_darjeeling/ip/ast/rtl/ast.sv','hw/top_earlgrey/ip/ast/rtl/ast.sv']}
|
||||
initial=state()
|
||||
for i,phase in enumerate(['offerkinds','offerqueue','offeredit','renametrace','scan','rss','scanloadprobe','scanloadcross','refactor','execute']):
|
||||
labels=list(bins) if i%2==0 else list(reversed(bins))
|
||||
for label in labels:
|
||||
cmd=['tools/guard.sh','-m','8','-t','1800','--','python3','tools/perf/bench.py',phase,'--server',bins[label],'--label',label,'--opentitan',str(corpus),'--storage',str(out/'caches'/label),'--out',str(out/'results.jsonl'),'--tries','3']
|
||||
r=dict(phase=phase,label=label,command=cmd,start=time.time(),load_before=os.getloadavg())
|
||||
print('START',phase,label,flush=True)
|
||||
with (out/(phase+'-'+label+'.log')).open('w') as f:p=subprocess.run(cmd,cwd=root,env=dict(os.environ,PYTHONDONTWRITEBYTECODE='1'),stdout=f,stderr=subprocess.STDOUT)
|
||||
r.update(exit=p.returncode,end=time.time(),load_after=os.getloadavg(),corpus_unchanged=state()==initial)
|
||||
with (out/'runs.jsonl').open('a') as f:f.write(json.dumps(r)+'\n')
|
||||
print('END',phase,label,p.returncode,flush=True)
|
||||
if p.returncode or not r['corpus_unchanged']:raise RuntimeError(r)
|
||||
@@ -0,0 +1,20 @@
|
||||
{"phase": "offerkinds", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "offerkinds", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934163.9507682, "load_before": [5.1650390625, 6.98046875, 6.77099609375], "exit": 0, "end": 1788934183.659245, "load_after": [5.35009765625, 6.900390625, 6.74609375], "corpus_unchanged": true}
|
||||
{"phase": "offerkinds", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "offerkinds", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934183.7768419, "load_before": [5.35009765625, 6.900390625, 6.74609375], "exit": 0, "end": 1788934202.40133, "load_after": [4.86328125, 6.6943359375, 6.67578125], "corpus_unchanged": true}
|
||||
{"phase": "offerqueue", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "offerqueue", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934202.5280929, "load_before": [4.86328125, 6.6943359375, 6.67578125], "exit": 0, "end": 1788934206.886931, "load_after": [5.4345703125, 6.7822265625, 6.70654296875], "corpus_unchanged": true}
|
||||
{"phase": "offerqueue", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "offerqueue", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934207.02068, "load_before": [5.4345703125, 6.7822265625, 6.70654296875], "exit": 0, "end": 1788934211.369911, "load_after": [5.9599609375, 6.86865234375, 6.7373046875], "corpus_unchanged": true}
|
||||
{"phase": "offeredit", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "offeredit", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934211.502112, "load_before": [5.9599609375, 6.86865234375, 6.7373046875], "exit": 0, "end": 1788934222.4556859, "load_after": [5.978515625, 6.84033203125, 6.728515625], "corpus_unchanged": true}
|
||||
{"phase": "offeredit", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "offeredit", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934222.5621262, "load_before": [5.978515625, 6.84033203125, 6.728515625], "exit": 0, "end": 1788934233.511609, "load_after": [5.74755859375, 6.7626953125, 6.7021484375], "corpus_unchanged": true}
|
||||
{"phase": "renametrace", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "renametrace", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934233.624834, "load_before": [5.74755859375, 6.7626953125, 6.7021484375], "exit": 0, "end": 1788934290.385715, "load_after": [5.0947265625, 6.37841796875, 6.5595703125], "corpus_unchanged": true}
|
||||
{"phase": "renametrace", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "renametrace", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934290.497727, "load_before": [5.0947265625, 6.37841796875, 6.5595703125], "exit": 0, "end": 1788934366.829311, "load_after": [3.87353515625, 5.6357421875, 6.25439453125], "corpus_unchanged": true}
|
||||
{"phase": "scan", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scan", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934366.928801, "load_before": [3.87353515625, 5.6357421875, 6.25439453125], "exit": 0, "end": 1788934439.322835, "load_after": [4.4677734375, 5.47900390625, 6.1455078125], "corpus_unchanged": true}
|
||||
{"phase": "scan", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scan", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934439.4233239, "load_before": [4.4677734375, 5.47900390625, 6.1455078125], "exit": 0, "end": 1788934510.867989, "load_after": [4.39306640625, 5.193359375, 5.97998046875], "corpus_unchanged": true}
|
||||
{"phase": "rss", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "rss", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934510.962989, "load_before": [4.39306640625, 5.193359375, 5.97998046875], "exit": 0, "end": 1788934539.531492, "load_after": [4.2470703125, 5.0908203125, 5.91552734375], "corpus_unchanged": true}
|
||||
{"phase": "rss", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "rss", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934539.6351821, "load_before": [4.2470703125, 5.0908203125, 5.91552734375], "exit": 0, "end": 1788934568.203514, "load_after": [3.87060546875, 4.9208984375, 5.82470703125], "corpus_unchanged": true}
|
||||
{"phase": "scanloadprobe", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scanloadprobe", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934568.3059351, "load_before": [3.87060546875, 4.9208984375, 5.82470703125], "exit": 0, "end": 1788934587.887279, "load_after": [4.56494140625, 4.99365234375, 5.82861328125], "corpus_unchanged": true}
|
||||
{"phase": "scanloadprobe", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scanloadprobe", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934588.0167758, "load_before": [4.56494140625, 4.99365234375, 5.82861328125], "exit": 0, "end": 1788934604.39112, "load_after": [5.30078125, 5.13916015625, 5.86572265625], "corpus_unchanged": true}
|
||||
{"phase": "scanloadcross", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scanloadcross", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934604.5086, "load_before": [5.30078125, 5.13916015625, 5.86572265625], "exit": 0, "end": 1788934698.6455839, "load_after": [4.8388671875, 4.93994140625, 5.70556640625], "corpus_unchanged": true}
|
||||
{"phase": "scanloadcross", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scanloadcross", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934698.75788, "load_before": [4.8388671875, 4.93994140625, 5.70556640625], "exit": 0, "end": 1788934809.883633, "load_after": [4.57666015625, 4.986328125, 5.63720703125], "corpus_unchanged": true}
|
||||
{"phase": "refactor", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "refactor", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934809.995477, "load_before": [4.57666015625, 4.986328125, 5.63720703125], "exit": 0, "end": 1788934830.940748, "load_after": [4.8779296875, 5.0205078125, 5.63330078125], "corpus_unchanged": true}
|
||||
{"phase": "refactor", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "refactor", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934831.072156, "load_before": [4.8779296875, 5.0205078125, 5.63330078125], "exit": 0, "end": 1788934851.975531, "load_after": [5.02880859375, 5.0234375, 5.6142578125], "corpus_unchanged": true}
|
||||
{"phase": "execute", "label": "0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "execute", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934852.0846488, "load_before": [5.02880859375, 5.0234375, 5.6142578125], "exit": 0, "end": 1788934863.005026, "load_after": [4.99853515625, 5.02099609375, 5.6064453125], "corpus_unchanged": true}
|
||||
{"phase": "execute", "label": "0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "execute", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/results.jsonl", "--tries", "3"], "start": 1788934863.116577, "load_before": [4.99853515625, 5.02099609375, 5.6064453125], "exit": 0, "end": 1788934874.024811, "load_after": [5.1455078125, 5.052734375, 5.6103515625], "corpus_unchanged": true}
|
||||
@@ -0,0 +1,6 @@
|
||||
{"label": "0.51.0", "trial": 0, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare": {"jsonrpc": "2.0", "id": 3, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "after_rescan": {"jsonrpc": "2.0", "id": 4, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare_after_rescan": {"jsonrpc": "2.0", "id": 5, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "logs": ["timing: textDocument/didOpen handled in 0.25 ms", "timing: configuration answered in 0.35 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 0 from cache) in 1.18 ms", "timing: scan 1 stages (whole, 3 files): discovery=0.21 order=0.00 cache_open=0.03 read=0.06 lookup=0.00 decode=0.00 parse=0.03 encode=0.02 store_write=0.32 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.01 compact=0.32 candidates=0.00 includes=0.00 overlay=0.00 total=1.16 since_start=0.46 ms", "timing: scan 1 counts (whole): read=3 read_kib=0 skipped=0 hits=0 misses=2 buffers=1 records=3 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=3 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: textDocument/definition answered in 0.31 ms", "timing: textDocument/prepareRename answered in 0.03 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 2 from cache) in 1.72 ms", "timing: scan 2 stages (whole, 3 files): discovery=0.55 order=0.01 cache_open=0.08 read=0.22 lookup=0.00 decode=0.05 parse=0.00 encode=0.01 store_write=0.00 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.03 compact=0.03 candidates=0.02 includes=0.02 overlay=0.00 total=1.28 since_start=508.73 ms", "timing: scan 2 counts (whole): read=3 read_kib=0 skipped=0 hits=2 misses=0 buffers=1 records=0 repeats=1 decoded_kib=0 written_kib=0 opens=1 compactions=0 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 2 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=3 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: workspace/didChangeWatchedFiles handled in 2.95 ms", "timing: textDocument/definition answered in 0.03 ms", "timing: textDocument/prepareRename answered in 0.01 ms"]}
|
||||
{"label": "0.51.0", "trial": 1, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare": {"jsonrpc": "2.0", "id": 3, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "after_rescan": {"jsonrpc": "2.0", "id": 4, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare_after_rescan": {"jsonrpc": "2.0", "id": 5, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "logs": ["timing: configuration answered in 0.16 ms", "timing: scan started: 2 files", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 2 files (0 skipped, 0 from cache) in 2.89 ms", "timing: scan 1 stages (whole, 2 files): discovery=0.34 order=0.00 cache_open=0.02 read=0.14 lookup=0.00 decode=0.00 parse=0.16 encode=0.01 store_write=1.16 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.76 candidates=0.01 includes=0.00 overlay=0.00 total=2.84 since_start=0.43 ms", "timing: scan 1 counts (whole): read=2 read_kib=0 skipped=0 hits=0 misses=2 buffers=0 records=2 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=0", "timing: scan 1 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=2 cache_encoded_kib=0 index_files=2 unit_names=2 unit_defs=2 members=0 hier_members=1 reference_keys=1 reference_sites=1 defines=0 instantiations=1 fact_words=4 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=2 work_kib=0", "timing: textDocument/didOpen handled in 0.37 ms", "timing: textDocument/definition answered in 0.07 ms", "timing: textDocument/prepareRename answered in 0.02 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 2 from cache) in 1.80 ms", "timing: scan 2 stages (whole, 3 files): discovery=0.37 order=0.01 cache_open=0.06 read=0.15 lookup=0.00 decode=0.03 parse=0.00 encode=0.01 store_write=0.10 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.03 compact=0.73 candidates=0.01 includes=0.01 overlay=0.01 total=1.75 since_start=508.33 ms", "timing: scan 2 counts (whole): read=3 read_kib=0 skipped=0 hits=2 misses=0 buffers=1 records=1 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 2 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=3 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: workspace/didChangeWatchedFiles handled in 2.44 ms", "timing: textDocument/definition answered in 0.01 ms", "timing: textDocument/prepareRename answered in 0.01 ms"]}
|
||||
{"label": "0.51.0", "trial": 2, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare": {"jsonrpc": "2.0", "id": 3, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "after_rescan": {"jsonrpc": "2.0", "id": 4, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare_after_rescan": {"jsonrpc": "2.0", "id": 5, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "logs": ["timing: textDocument/didOpen handled in 0.22 ms", "timing: configuration answered in 0.36 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 0 from cache) in 1.43 ms", "timing: scan 1 stages (whole, 3 files): discovery=0.27 order=0.00 cache_open=0.02 read=0.08 lookup=0.00 decode=0.00 parse=0.04 encode=0.02 store_write=0.35 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.01 compact=0.44 candidates=0.01 includes=0.00 overlay=0.00 total=1.40 since_start=0.49 ms", "timing: scan 1 counts (whole): read=3 read_kib=0 skipped=0 hits=0 misses=2 buffers=1 records=3 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=3 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: textDocument/definition answered in 0.19 ms", "timing: textDocument/prepareRename answered in 0.03 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 2 from cache) in 2.28 ms", "timing: scan 2 stages (whole, 3 files): discovery=1.54 order=0.01 cache_open=0.14 read=0.09 lookup=0.00 decode=0.03 parse=0.00 encode=0.01 store_write=0.00 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.01 absorb=0.03 compact=0.02 candidates=0.01 includes=0.01 overlay=0.00 total=2.22 since_start=514.82 ms", "timing: scan 2 counts (whole): read=3 read_kib=0 skipped=0 hits=2 misses=0 buffers=1 records=0 repeats=1 decoded_kib=0 written_kib=0 opens=1 compactions=0 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 2 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=3 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: workspace/didChangeWatchedFiles handled in 3.29 ms", "timing: textDocument/definition answered in 0.02 ms", "timing: textDocument/prepareRename answered in 0.01 ms"]}
|
||||
{"label": "0.52.0", "trial": 0, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}, {"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv"}]}, "prepare": {"jsonrpc": "2.0", "id": 3, "error": {"code": -32803, "message": "lucisv: `child` is declared in more than one indexed file; lucisv will not guess which declaration this rename means."}}, "after_rescan": {"jsonrpc": "2.0", "id": 4, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare_after_rescan": {"jsonrpc": "2.0", "id": 5, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "logs": ["timing: configuration answered in 0.16 ms", "timing: textDocument/didOpen handled in 0.56 ms", "timing: scan started: 2 files (the folder first), interleaved", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 4 files (0 skipped, 0 from cache) in 3.18 ms", "timing: scan 1 stages (whole, 4 files): discovery=0.67 config=0.13 walk=0.41 filelist=0.00 sort=0.00 cap=0.00 buffers=0.02 order=0.00 cache_open=0.03 read=0.19 lookup=0.00 decode=0.00 parse=0.08 encode=0.02 store_write=1.10 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.75 candidates=0.01 includes=0.01 overlay=0.01 total=3.13 since_start=1.03 ms", "timing: scan 1 counts (whole): read=4 read_kib=0 walk_dirs=2 stats=0 skipped=0 hits=0 misses=3 buffers=1 records=4 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=4 unit_names=2 unit_defs=4 members=0 hier_members=2 reference_keys=0 reference_sites=0 defines=0 instantiations=2 fact_words=8 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=4 work_kib=0", "timing: textDocument/definition answered in 0.09 ms", "timing: textDocument/prepareRename answered in 0.02 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 2 from cache) in 0.96 ms", "timing: scan 2 stages (whole, 3 files): discovery=0.48 config=0.06 walk=0.25 filelist=0.00 sort=0.00 cap=0.00 buffers=0.03 order=0.01 cache_open=0.07 read=0.10 lookup=0.00 decode=0.02 parse=0.00 encode=0.01 store_write=0.00 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.02 candidates=0.01 includes=0.01 overlay=0.01 total=0.93 since_start=512.26 ms", "timing: scan 2 counts (whole): read=3 read_kib=0 walk_dirs=1 stats=0 skipped=0 hits=2 misses=0 buffers=1 records=0 repeats=1 decoded_kib=0 written_kib=0 opens=1 compactions=0 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 2 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: workspace/didChangeWatchedFiles handled in 1.90 ms", "timing: textDocument/definition answered in 0.03 ms", "timing: textDocument/prepareRename answered in 0.01 ms"]}
|
||||
{"label": "0.52.0", "trial": 1, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}, {"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv"}]}, "prepare": {"jsonrpc": "2.0", "id": 3, "error": {"code": -32803, "message": "lucisv: `child` is declared in more than one indexed file; lucisv will not guess which declaration this rename means."}}, "after_rescan": {"jsonrpc": "2.0", "id": 4, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare_after_rescan": {"jsonrpc": "2.0", "id": 5, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "logs": ["timing: textDocument/didOpen handled in 0.40 ms", "timing: configuration answered in 0.59 ms", "timing: scan started: 2 files (the folder first), interleaved", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 4 files (0 skipped, 0 from cache) in 2.78 ms", "timing: scan 1 stages (whole, 4 files): discovery=0.52 config=0.10 walk=0.31 filelist=0.00 sort=0.00 cap=0.00 buffers=0.01 order=0.00 cache_open=0.02 read=0.19 lookup=0.00 decode=0.00 parse=0.08 encode=0.02 store_write=1.00 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.66 candidates=0.01 includes=0.01 overlay=0.01 total=2.74 since_start=0.76 ms", "timing: scan 1 counts (whole): read=4 read_kib=0 walk_dirs=2 stats=0 skipped=0 hits=0 misses=3 buffers=1 records=4 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=4 unit_names=2 unit_defs=4 members=0 hier_members=2 reference_keys=0 reference_sites=0 defines=0 instantiations=2 fact_words=8 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=4 work_kib=0", "timing: textDocument/definition answered in 0.41 ms", "timing: textDocument/prepareRename answered in 0.07 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 2 from cache) in 1.45 ms", "timing: scan 2 stages (whole, 3 files): discovery=0.62 config=0.04 walk=0.36 filelist=0.00 sort=0.00 cap=0.00 buffers=0.05 order=0.01 cache_open=0.16 read=0.17 lookup=0.00 decode=0.03 parse=0.00 encode=0.03 store_write=0.00 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.02 candidates=0.02 includes=0.01 overlay=0.01 total=1.38 since_start=513.23 ms", "timing: scan 2 counts (whole): read=3 read_kib=0 walk_dirs=1 stats=0 skipped=0 hits=2 misses=0 buffers=1 records=0 repeats=1 decoded_kib=0 written_kib=0 opens=1 compactions=0 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 2 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: workspace/didChangeWatchedFiles handled in 2.48 ms", "timing: textDocument/definition answered in 0.02 ms", "timing: textDocument/prepareRename answered in 0.01 ms"]}
|
||||
{"label": "0.52.0", "trial": 2, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}, {"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv"}]}, "prepare": {"jsonrpc": "2.0", "id": 3, "error": {"code": -32803, "message": "lucisv: `child` is declared in more than one indexed file; lucisv will not guess which declaration this rename means."}}, "after_rescan": {"jsonrpc": "2.0", "id": 4, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "prepare_after_rescan": {"jsonrpc": "2.0", "id": 5, "result": {"placeholder": "child", "range": {"end": {"character": 16, "line": 0}, "start": {"character": 11, "line": 0}}}}, "logs": ["timing: configuration answered in 0.26 ms", "timing: textDocument/didOpen handled in 0.53 ms", "timing: scan started: 2 files (the folder first), interleaved", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 4 files (0 skipped, 0 from cache) in 3.10 ms", "timing: scan 1 stages (whole, 4 files): discovery=0.62 config=0.10 walk=0.38 filelist=0.00 sort=0.00 cap=0.00 buffers=0.02 order=0.00 cache_open=0.02 read=0.20 lookup=0.00 decode=0.00 parse=0.09 encode=0.03 store_write=1.11 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.63 candidates=0.01 includes=0.01 overlay=0.00 total=3.06 since_start=1.10 ms", "timing: scan 1 counts (whole): read=4 read_kib=0 walk_dirs=2 stats=0 skipped=0 hits=0 misses=3 buffers=1 records=4 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=4 unit_names=2 unit_defs=4 members=0 hier_members=2 reference_keys=0 reference_sites=0 defines=0 instantiations=2 fact_words=8 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=4 work_kib=0", "timing: textDocument/definition answered in 0.08 ms", "timing: textDocument/prepareRename answered in 0.02 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "cached: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 2 from cache) in 1.46 ms", "timing: scan 2 stages (whole, 3 files): discovery=0.61 config=0.09 walk=0.31 filelist=0.00 sort=0.00 cap=0.00 buffers=0.03 order=0.01 cache_open=0.09 read=0.11 lookup=0.00 decode=0.05 parse=0.00 encode=0.01 store_write=0.00 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.02 candidates=0.01 includes=0.01 overlay=0.00 total=1.34 since_start=507.71 ms", "timing: scan 2 counts (whole): read=3 read_kib=0 walk_dirs=1 stats=0 skipped=0 hits=2 misses=0 buffers=1 records=0 repeats=1 decoded_kib=0 written_kib=0 opens=1 compactions=0 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 2 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: workspace/didChangeWatchedFiles handled in 2.47 ms", "timing: textDocument/definition answered in 0.02 ms", "timing: textDocument/prepareRename answered in 0.01 ms"]}
|
||||
@@ -0,0 +1,6 @@
|
||||
{"label": "0.51.0", "trial": 0, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "logs": ["timing: textDocument/didOpen handled in 0.66 ms", "timing: configuration answered in 0.72 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 0 from cache) in 2.38 ms", "timing: scan 1 stages (whole, 3 files): discovery=0.36 order=0.00 cache_open=0.02 read=0.09 lookup=0.00 decode=0.00 parse=0.11 encode=0.06 store_write=0.52 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.12 compact=0.70 candidates=0.01 includes=0.01 overlay=0.03 total=2.33 since_start=0.89 ms", "timing: scan 1 counts (whole): read=3 read_kib=0 skipped=0 hits=0 misses=2 buffers=1 records=3 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=3 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: textDocument/definition answered in 0.15 ms"]}
|
||||
{"label": "0.51.0", "trial": 1, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "logs": ["timing: textDocument/didOpen handled in 0.27 ms", "timing: configuration answered in 0.40 ms", "timing: scan started: 3 files", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 3 files (0 skipped, 0 from cache) in 2.18 ms", "timing: scan 1 stages (whole, 3 files): discovery=0.31 order=0.00 cache_open=0.02 read=0.14 lookup=0.00 decode=0.00 parse=0.07 encode=0.04 store_write=0.76 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.55 candidates=0.01 includes=0.00 overlay=0.00 total=2.15 since_start=0.55 ms", "timing: scan 1 counts (whole): read=3 read_kib=0 skipped=0 hits=0 misses=2 buffers=1 records=3 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=3 cache_encoded_kib=0 index_files=3 unit_names=2 unit_defs=3 members=0 hier_members=2 reference_keys=1 reference_sites=2 defines=0 instantiations=2 fact_words=7 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=3 work_kib=0", "timing: textDocument/definition answered in 0.04 ms"]}
|
||||
{"label": "0.51.0", "trial": 2, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}]}, "logs": ["timing: configuration answered in 0.21 ms", "timing: scan started: 2 files", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 2 files (0 skipped, 0 from cache) in 2.24 ms", "timing: scan 1 stages (whole, 2 files): discovery=0.25 order=0.00 cache_open=0.02 read=0.07 lookup=0.00 decode=0.00 parse=0.14 encode=0.01 store_write=0.87 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.01 compact=0.67 candidates=0.01 includes=0.00 overlay=0.00 total=2.21 since_start=0.39 ms", "timing: scan 1 counts (whole): read=2 read_kib=0 skipped=0 hits=0 misses=2 buffers=0 records=2 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=0", "timing: scan 1 memory (whole): store_before_kib=0 store_after_kib=0 cache_entries=2 cache_encoded_kib=0 index_files=2 unit_names=2 unit_defs=2 members=0 hier_members=1 reference_keys=1 reference_sites=1 defines=0 instantiations=1 fact_words=4 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=2 work_kib=0", "timing: textDocument/didOpen handled in 0.25 ms", "timing: textDocument/definition answered in 0.09 ms"]}
|
||||
{"label": "0.52.0", "trial": 0, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}, {"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv"}]}, "logs": ["timing: textDocument/didOpen handled in 1.33 ms", "timing: configuration answered in 1.46 ms", "timing: scan started: 2 files (the folder first), interleaved", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 4 files (0 skipped, 0 from cache) in 1.82 ms", "timing: scan 1 stages (whole, 4 files): discovery=0.45 config=0.06 walk=0.24 filelist=0.00 sort=0.02 cap=0.00 buffers=0.03 order=0.00 cache_open=0.04 read=0.08 lookup=0.00 decode=0.00 parse=0.09 encode=0.02 store_write=0.41 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.05 compact=0.42 candidates=0.00 includes=0.01 overlay=0.02 total=1.77 since_start=1.82 ms", "timing: scan 1 counts (whole): read=4 read_kib=0 walk_dirs=2 stats=0 skipped=0 hits=0 misses=3 buffers=1 records=4 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=4 unit_names=2 unit_defs=4 members=0 hier_members=2 reference_keys=0 reference_sites=0 defines=0 instantiations=2 fact_words=8 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=4 work_kib=0", "timing: textDocument/definition answered in 0.18 ms"]}
|
||||
{"label": "0.52.0", "trial": 1, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}, {"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv"}]}, "logs": ["timing: configuration answered in 0.21 ms", "timing: textDocument/didOpen handled in 0.57 ms", "timing: scan started: 2 files (the folder first), interleaved", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 4 files (0 skipped, 0 from cache) in 1.58 ms", "timing: scan 1 stages (whole, 4 files): discovery=0.39 config=0.06 walk=0.23 filelist=0.00 sort=0.00 cap=0.00 buffers=0.01 order=0.00 cache_open=0.02 read=0.08 lookup=0.00 decode=0.00 parse=0.05 encode=0.02 store_write=0.38 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.01 compact=0.45 candidates=0.01 includes=0.00 overlay=0.01 total=1.55 since_start=1.09 ms", "timing: scan 1 counts (whole): read=4 read_kib=0 walk_dirs=2 stats=0 skipped=0 hits=0 misses=3 buffers=1 records=4 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=4 unit_names=2 unit_defs=4 members=0 hier_members=2 reference_keys=0 reference_sites=0 defines=0 instantiations=2 fact_words=8 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=4 work_kib=0", "timing: textDocument/definition answered in 0.09 ms"]}
|
||||
{"label": "0.52.0", "trial": 2, "answer": {"jsonrpc": "2.0", "id": 2, "result": [{"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv"}, {"range": {"end": {"character": 12, "line": 0}, "start": {"character": 7, "line": 0}}, "uri": "file:///tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv"}]}, "logs": ["timing: configuration answered in 0.20 ms", "timing: textDocument/didOpen handled in 0.40 ms", "timing: scan started: 2 files (the folder first), interleaved", "analyzed: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/tb.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/z_real/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/child.sv", "indexing: /tmp/lucisv-perf-review-20260909/symlink-fixture/a_alias/tb.sv", "timing: scan finished: 4 files (0 skipped, 0 from cache) in 2.19 ms", "timing: scan 1 stages (whole, 4 files): discovery=0.44 config=0.06 walk=0.29 filelist=0.00 sort=0.00 cap=0.00 buffers=0.01 order=0.00 cache_open=0.02 read=0.18 lookup=0.00 decode=0.00 parse=0.07 encode=0.02 store_write=0.50 publish_absorb=0.00 publish_candidates=0.00 publish_includes=0.00 publish_overlay=0.00 gone=0.00 absorb=0.02 compact=0.56 candidates=0.01 includes=0.01 overlay=0.00 total=2.13 since_start=0.84 ms", "timing: scan 1 counts (whole): read=4 read_kib=0 walk_dirs=2 stats=0 skipped=0 hits=0 misses=3 buffers=1 records=4 repeats=0 decoded_kib=0 written_kib=0 opens=1 compactions=1 publishes=0 published=0 first_publish=0.00 overlays=1", "timing: scan 1 memory (whole): store_before_kib=1 store_after_kib=1 cache_entries=4 cache_encoded_kib=0 index_files=4 unit_names=2 unit_defs=4 members=0 hier_members=2 reference_keys=0 reference_sites=0 defines=0 instantiations=2 fact_words=8 fact_word_kib=0 candidate_units=2 candidate_macros=0 candidate_words=3 candidate_word_kib=0 include_edges=0 include_known=4 work_kib=0", "timing: textDocument/definition answered in 0.08 ms"]}
|
||||
@@ -0,0 +1,20 @@
|
||||
import sys,json,pathlib
|
||||
sys.path.insert(0,'/Users/guoliangchen/repo/verilogrustformatter/tools/perf')
|
||||
from lspclient import Session,uri
|
||||
out=pathlib.Path('/tmp/lucisv-perf-review-20260909');root=out/'symlink-fixture';(root/'z_real').mkdir(parents=True,exist_ok=True)
|
||||
(root/'z_real/child.sv').write_text('module child; endmodule\n')
|
||||
(root/'z_real/tb.sv').write_text('module tb; child u(); endmodule\n')
|
||||
link=root/'a_alias'
|
||||
if not link.exists():link.symlink_to('z_real',target_is_directory=True)
|
||||
for label,server in [('0.51.0',out/'reference/target/release/lucisv-server'),('0.52.0',pathlib.Path('/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server'))]:
|
||||
for trial in range(3):
|
||||
with Session(str(server),str(root),str(out/'symlink-cache'/label),scope={'index':{'scope':'workspace','scopeDepth':0}},cold=True,verbose=True) as s:
|
||||
s.initialize();s.did_open(str(root/'z_real/tb.sv'));s.wait_quiet(0.5)
|
||||
params={'textDocument':{'uri':uri(str(root/'z_real/tb.sv'))},'position':{'line':0,'character':12}}
|
||||
answer=s.request('textDocument/definition',params)[1]
|
||||
prepare=s.request('textDocument/prepareRename',params)[1]
|
||||
s.notify('workspace/didChangeWatchedFiles',{'changes':[{'uri':uri(str(root/'z_real/child.sv')),'type':2},{'uri':uri(str(root/'z_real/tb.sv')),'type':2}]})
|
||||
after=s.request('textDocument/definition',params)[1]
|
||||
prepare_after=s.request('textDocument/prepareRename',params)[1]
|
||||
s.drain()
|
||||
print(json.dumps(dict(label=label,trial=trial,answer=answer,prepare=prepare,after_rescan=after,prepare_after_rescan=prepare_after,logs=s.log_messages)),flush=True)
|
||||
@@ -0,0 +1,16 @@
|
||||
import sys,json,pathlib
|
||||
sys.path.insert(0,'/Users/guoliangchen/repo/verilogrustformatter/tools/perf')
|
||||
from lspclient import Session,uri
|
||||
out=pathlib.Path('/tmp/lucisv-perf-review-20260909');root=out/'symlink-fixture';(root/'z_real').mkdir(parents=True,exist_ok=True)
|
||||
(root/'z_real/child.sv').write_text('module child; endmodule\n')
|
||||
(root/'z_real/tb.sv').write_text('module tb; child u(); endmodule\n')
|
||||
link=root/'a_alias'
|
||||
if not link.exists():link.symlink_to('z_real',target_is_directory=True)
|
||||
for label,server in [('0.51.0',out/'reference/target/release/lucisv-server'),('0.52.0',pathlib.Path('/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server'))]:
|
||||
for trial in range(3):
|
||||
with Session(str(server),str(root),str(out/'symlink-cache'/label),scope={'index':{'scope':'workspace','scopeDepth':0}},cold=True,verbose=True) as s:
|
||||
s.initialize();s.did_open(str(root/'z_real/tb.sv'));s.wait_quiet(0.5)
|
||||
params={'textDocument':{'uri':uri(str(root/'z_real/tb.sv'))},'position':{'line':0,'character':12}}
|
||||
answer=s.request('textDocument/definition',params)[1]
|
||||
s.drain()
|
||||
print(json.dumps(dict(label=label,trial=trial,answer=answer,logs=s.log_messages)),flush=True)
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"tests": {
|
||||
"passed": 4374,
|
||||
"failed": 0,
|
||||
"ignored": 45,
|
||||
"result_blocks": 59
|
||||
},
|
||||
"paired_outcome_rows_compared": 84,
|
||||
"outcome_differences": [],
|
||||
"verification_commands_all_succeeded": true,
|
||||
"corpus_unchanged": true,
|
||||
"reproduced_findings": [
|
||||
"F1",
|
||||
"F2",
|
||||
"F3"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{"name": "warm-retest-0.52.0-review", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scanloadprobe", "--server", "/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server", "--label", "0.52.0-review", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.52.0-review", "--out", "/tmp/lucisv-perf-review-20260909/load-retest.jsonl", "--tries", "3"], "exit": 0, "start": 1788934913.070663, "end": 1788934928.407276}
|
||||
{"name": "warm-retest-0.51.0-reference", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "tools/perf/bench.py", "scanloadprobe", "--server", "/tmp/lucisv-perf-review-20260909/reference/target/release/lucisv-server", "--label", "0.51.0-reference", "--opentitan", "/Users/guoliangchen/repo/opentitan", "--storage", "/tmp/lucisv-perf-review-20260909/caches/0.51.0-reference", "--out", "/tmp/lucisv-perf-review-20260909/load-retest.jsonl", "--tries", "3"], "exit": 0, "start": 1788934928.407598, "end": 1788934946.945303}
|
||||
{"name": "warm-priming-proof", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "/tmp/lucisv-perf-review-20260909/warm_priming_probe.py"], "exit": 0, "start": 1788934946.945431, "end": 1788934957.894967}
|
||||
{"name": "symlink-lifecycle", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "python3", "/tmp/lucisv-perf-review-20260909/symlink_lifecycle.py"], "exit": 0, "start": 1788934957.895423, "end": 1788934961.194865}
|
||||
{"name": "fmt", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "cargo", "fmt", "--all", "--", "--check"], "exit": 0, "start": 1788934961.1951082, "end": 1788934963.357418}
|
||||
{"name": "clippy", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "cargo", "clippy", "--workspace", "--all-targets", "--locked", "--", "-D", "warnings"], "exit": 0, "start": 1788934963.357829, "end": 1788935088.440186}
|
||||
{"name": "tests", "command": ["tools/guard.sh", "-m", "8", "-t", "1800", "--", "cargo", "test", "--workspace", "--locked"], "exit": 0, "start": 1788935088.4404638, "end": 1788935983.462829}
|
||||
@@ -0,0 +1,11 @@
|
||||
import subprocess,pathlib,json,time,os
|
||||
out=pathlib.Path('/tmp/lucisv-perf-review-20260909')
|
||||
commands=[('warm-priming-proof',['python3',str(out/'warm_priming_probe.py')]),('symlink-lifecycle',['python3',str(out/'symlink_lifecycle.py')]),('fmt',['cargo','fmt','--all','--','--check']),('clippy',['cargo','clippy','--workspace','--all-targets','--locked','--','-D','warnings']),('tests',['cargo','test','--workspace','--locked'])]
|
||||
for label,server in [('0.51.0-reference',str(out/'reference/target/release/lucisv-server')),('0.52.0-review','/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server')]:
|
||||
commands.insert(0,('warm-retest-'+label,['python3','tools/perf/bench.py','scanloadprobe','--server',server,'--label',label,'--opentitan','/Users/guoliangchen/repo/opentitan','--storage',str(out/'caches'/label),'--out',str(out/'load-retest.jsonl'),'--tries','3']))
|
||||
for name,args in commands:
|
||||
cmd=['tools/guard.sh','-m','8','-t','1800','--']+args
|
||||
print('START',name,flush=True);started=time.time()
|
||||
with (out/(name+'.log')).open('w') as f:r=subprocess.run(cmd,stdout=f,stderr=subprocess.STDOUT,env=dict(os.environ,PYTHONDONTWRITEBYTECODE='1'))
|
||||
with (out/'verification-runs.jsonl').open('a') as f:f.write(json.dumps(dict(name=name,command=cmd,exit=r.returncode,start=started,end=time.time()))+'\n')
|
||||
print('END',name,r.returncode,flush=True)
|
||||
@@ -0,0 +1,2 @@
|
||||
{"trial": 0, "cache_directory_existed": false, "requested_cold": false, "scans": [{"n": 1, "kind": "whole", "stages": {"discovery": 206.7, "config": 0.01, "walk": 203.31, "filelist": 0.0, "sort": 0.84, "cap": 0.59, "buffers": 0.47, "order": 1.82, "cache_open": 0.02, "read": 118.65, "lookup": 0.71, "decode": 0.0, "parse": 1684.19, "encode": 186.82, "store_write": 116.94, "publish_absorb": 702.03, "publish_candidates": 243.34, "publish_includes": 17.67, "publish_overlay": 1.24, "gone": 0.82, "absorb": 213.51, "compact": 93.7, "candidates": 115.35, "includes": 8.8, "overlay": 0.2, "total": 3810.23, "since_start": 1.53}, "counts": {"read": 3976, "read_kib": 34957, "walk_dirs": 3, "stats": 0, "skipped": 3, "hits": 0, "misses": 3974, "buffers": 2, "records": 3976, "repeats": 0, "decoded_kib": 0, "written_kib": 45260, "opens": 1, "compactions": 1, "publishes": 7, "published": 3461, "first_publish": 545.29, "overlays": 2}, "memory": {"store_before_kib": 45396, "store_after_kib": 45396, "cache_entries": 3976, "cache_encoded_kib": 45260, "index_files": 3976, "unit_names": 3067, "unit_defs": 4013, "members": 91894, "hier_members": 56913, "reference_keys": 59529, "reference_sites": 457666, "defines": 1358, "instantiations": 13894, "fact_words": 345127, "fact_word_kib": 4754, "candidate_units": 50726, "candidate_macros": 658, "candidate_words": 105042, "candidate_word_kib": 1888, "include_edges": 1984, "include_known": 3976, "work_kib": 16}}], "median_ms": 160.1128340116702, "max_ms": 1536.1322090029716}
|
||||
{"trial": 1, "cache_directory_existed": true, "requested_cold": false, "scans": [{"n": 1, "kind": "whole", "stages": {"discovery": 219.99, "config": 0.03, "walk": 216.68, "filelist": 0.0, "sort": 0.84, "cap": 0.46, "buffers": 0.48, "order": 1.87, "cache_open": 89.55, "read": 122.66, "lookup": 47.58, "decode": 194.08, "parse": 0.0, "encode": 0.13, "store_write": 0.0, "publish_absorb": 455.71, "publish_candidates": 180.6, "publish_includes": 12.77, "publish_overlay": 0.64, "gone": 0.78, "absorb": 222.69, "compact": 8.81, "candidates": 118.4, "includes": 9.52, "overlay": 0.18, "total": 1774.44, "since_start": 1.43}, "counts": {"read": 3976, "read_kib": 34957, "walk_dirs": 3, "stats": 0, "skipped": 3, "hits": 3974, "misses": 0, "buffers": 2, "records": 0, "repeats": 2, "decoded_kib": 45237, "written_kib": 0, "opens": 1, "compactions": 0, "publishes": 4, "published": 3519, "first_publish": 474.1, "overlays": 2}, "memory": {"store_before_kib": 45396, "store_after_kib": 45396, "cache_entries": 3976, "cache_encoded_kib": 45260, "index_files": 3976, "unit_names": 3067, "unit_defs": 4013, "members": 91894, "hier_members": 56913, "reference_keys": 59529, "reference_sites": 457666, "defines": 1358, "instantiations": 13894, "fact_words": 345127, "fact_word_kib": 4754, "candidate_units": 50726, "candidate_macros": 658, "candidate_words": 105042, "candidate_word_kib": 1888, "include_edges": 1984, "include_known": 3976, "work_kib": 16}}], "median_ms": 3.2108339946717024, "max_ms": 713.6129999998957}
|
||||
@@ -0,0 +1,13 @@
|
||||
import sys,pathlib,argparse,json,statistics
|
||||
sys.path.insert(0,'/Users/guoliangchen/repo/verilogrustformatter/tools/perf')
|
||||
import harness,phases_r4,sites
|
||||
from lspclient import Session
|
||||
out=pathlib.Path('/tmp/lucisv-perf-review-20260909');store=out/'warm-priming-proof'
|
||||
assert not store.exists(), 'use a new proof directory for a rerun'
|
||||
server='/Users/guoliangchen/repo/verilogrustformatter/target/release/lucisv-server';root='/Users/guoliangchen/repo/opentitan'
|
||||
harness.configure(argparse.Namespace(server=server,label='0.52.0-warm-proof',opentitan=root,storage=str(store.parent),out=str(out/'unused.jsonl'),tries=1))
|
||||
for trial in range(2):
|
||||
existed=store.exists()
|
||||
with Session(server,root,str(store),scope={'index':{'scope':'workspace'}},verbose=True,cold=False) as s:
|
||||
r=phases_r4.one_session(s,100,35,phases_r4.rtl_files(1),harness.at(sites.TB,' aes #(',1,2))
|
||||
print(json.dumps(dict(trial=trial,cache_directory_existed=existed,requested_cold=False,scans=r['scans'],median_ms=statistics.median(a['ms'] for a in r['answers']),max_ms=max(a['ms'] for a in r['answers']))),flush=True)
|
||||
@@ -2706,6 +2706,64 @@ before implementation; no verifier forgiveness may be weakened for speed.
|
||||
- **QA result and lead review link:** pending —
|
||||
`docs/features/perf5r-scope-reuse/README.md`.
|
||||
|
||||
## Independent 0.52.0 review — 2026-09-09
|
||||
|
||||
Reviewed `3ceba21bb2ef4404a188b076301b170af862075b` against a freshly built
|
||||
0.51.0 reference (`126a6bc`) using the same current harness. See
|
||||
[the findings and performance assessment](../performance_052_review.md) and
|
||||
[preserved evidence](review-052-20260909/README.md). No implementation changes
|
||||
were made by this review. The completed lane records above remain historical
|
||||
records; the open findings below are follow-up work.
|
||||
|
||||
**Confirmed gains:** unchanged pinmux menu 24.3 → 0.32 ms; queued definition
|
||||
24.4 → 0.29 ms; no-symbol refusal 2,205 → 0.22 ms / zero parses; tail rename
|
||||
391.8 → 324.6 ms / 240 → 137 parses; duplicate-module refusal 2,206 → 754 ms.
|
||||
First useful definition 278.6 → 84.4 ms cold and 294.5 → 118.5 ms warm in the
|
||||
one-buffer fixture. Properly warmed fixed-load comparison, two open buffers:
|
||||
server scan 4,247 → 1,771 ms, publishes 34 → 4, 105/105 requests answered on
|
||||
both versions. Cross-folder candidate answers match the settled target in
|
||||
750/750 cases.
|
||||
|
||||
**Targets still open:** paired tail rename improvement is 17.1%, below 20%;
|
||||
warm quiet scan 1,065 ms does not reproduce <1 s; cold remains 2.89 s;
|
||||
first-after-edit pinmux is 114 ms; common-port rename 2.88 s at about 1.8 GiB
|
||||
peak process RSS. Refused extraction still costs about 807 ms. Whole-window
|
||||
request latency is valid; the harness's `mid_scan_*` and `settled_ms` fields
|
||||
have finding F3 below and must not be used as scan-only acceptance metrics.
|
||||
|
||||
### Follow-up findings — implementation agent to fill
|
||||
|
||||
Use one full experiment record per fix, including commands, hashes, cache
|
||||
setup, all samples, result parity, guard outcome and correctness tests.
|
||||
|
||||
| ID | Finding / cause | 0.52.0 baseline | Required acceptance | Owner / fix commit | Result / evidence | Status |
|
||||
|---|---|---|---|---|---|---|
|
||||
| F1 (P2) | Separate head/root directory walks lose shared identity; path-only `seen` admits two spellings of one module | Symlink fixture: 2 definitions and false ambiguous prepareRename at startup; 1 definition and accepted prepareRename after unchanged rescan | Startup/rescan/restart agree; alias-before/after-target, multiple aliases, cycle, ignores, unsaved buffer covered; real duplicate modules still ambiguous | dev | `lucisv_core::walk::DirectoryTracker` shared by the neighbourhood walk and the remaining walk (one directory identity entered once between them); `first_scope` falls back to the single canonical walk when an alias precedes the open folder or one of its ancestors, and the `HEAD_WALK_MAX` fallback now **discards** the head instead of unioning it; an alias the pre-check cannot see (`other/link -> z_real`) is met by the remaining walk, refused entry, and answered with one ordinary rescan — the canonical walk — with `conflict=1 rescan_requested=1` on the trace; an open buffer's own file is recognised under an alias by `(dev, ino)` in `overlay_buffers` alone, gated on the file **name** so an ordinary workspace stats nothing. Measured on opentitan: `stats` **0** at 0 and 1 open buffers cold and warm (58 in the 2-buffer cell, = its same-named candidates); pre-check **0.17 ms**/session; `discovery` 179.2 → 162.2 ms; warm scan 1 044 → 1 040 ms, cold 2 879 → 2 886 ms, first useful answer 82.0 → 81.9 cold / 115.6 → 117.5 warm; 100-buffer settle 1 251 → 1 218 ms; warm idle RSS 427 856 → 426 048 KiB. Nine `#[cfg(unix)]` fixtures behind one startup/rescan/restart helper in `crates/lucisv_server/src/server/tests/startup.rs`, including the sibling alias (rescan asserted once) and the genuine duplicate (still refused, same sentence). | Closed |
|
||||
| F2 (P2) | Warm `scanload` does not prime fresh storage | First nominally warm trial: 0 hits / 3,974 misses / 1,684 ms parsing; second: 3,974 hits / 0 misses | Explicit untimed prime or validated complete store; per-trial cache counters; brand-new storage test | dev | `tools/perf/phases_r4.py::prime` runs one untimed session over the same scope and buffers before a warm cell's first timed trial; `cache_hits`/`cache_misses` are recorded **per trial** and `cell_status` fails a warm cell whose trial found nothing in the store. Verified with a brand-new `--storage`, 2 tries: **3 975 / 3 975 hits, 0 / 0 misses** (0.52.0's first nominally warm trial was 0 / 3 974); a second run over the now-populated store: 3 975 / 3 974 hits, 0 misses. | Closed |
|
||||
| F3 (P2) | `settled_at` treats `wait_quiet`'s positive entry delta/request chatter as scan completion | Actual scan about 1.77 s, reported settle about 3.41 s; 105 responses labeled mid-scan, zero after-settle | Timestamp actual scan completion; retain response arrival stamps; correctly partition post-scan responses; extending an already-long request window does not move completed scan time | dev | `tools/perf/lspclient.py` stamps `scan_completed_at` in the reader thread on the indexing bar's own `$/progress` `end` (`timing: scan finished:` for a client with no bar) and keeps every end in `progress_ends`, so a row can show there was exactly one; `settled_at` reads it and its fallback asks "did a notification arrive?" by counting them rather than by testing a clock delta for zero; `summary` partitions responses on it and keeps each answer's arrival offset. Verified warm, 1 extra buffer: `scan_completed_ms` **1 774.7 / 1 507.2 ms** against the server's own trace `total` 1 767.8 / 1 499.9 (was ~3 406 for a 1 770 ms scan), `scan_ends` 1 per session, 32 mid-scan / 38 after-settle out of 70 (was 105 / 0). Widening the window 3 500 → 5 000 ms: completion unmoved at 1 781 / 1 791 ms, mid-scan 36, after-settle 38 → 64. | Closed |
|
||||
|
||||
### Remaining performance experiments — conditional, not implemented
|
||||
|
||||
| ID | Next work to measure | Fixed 0.52.0 review baseline | Candidate commit | Candidate result / memory / parity | Decision |
|
||||
|---|---|---|---|---|---|
|
||||
| N1 | Lexer/parser and dirty-buffer analysis on first action after edit | 113.6 ms first-after-edit, 0.23 ms unchanged repeat in that session | — | — | Pending |
|
||||
| N2 | Retained-analysis parse work and scope decode/merge costs | Tail 324.6 ms; scope 163 ms including 31 ms reuse decode; common port 2,883.7 ms / 1,251 parses | — | — | Pending |
|
||||
| N3 | Quiet scan decode/merge and cost per publication, after F2/F3 | Warm quiet 1,064.7 ms; cold quiet 2,886.6 ms; warmed loaded scan 1,771 ms | — | — | Pending |
|
||||
|
||||
Keep the engine as the refusal authority, content-tied KnownFacts, shared
|
||||
fence rules, lint invalidation and coherent publication contracts. No speed
|
||||
gain justifies weakening `check/` or removing necessary selected sources.
|
||||
|
||||
**Independent gates:** fmt and clippy clean; full default workspace suite
|
||||
**4,385 passed / 0 failed / 45 ignored** — 4,374 at 0.52.0 plus two
|
||||
`DirectoryTracker` unit tests in `lucisv_core` and nine alias fixtures in
|
||||
`lucisv_server`. Recorded outcomes match in 84 paired non-load rows. Corpus
|
||||
(`0098135`, its three known modified files) and release-binary hashes
|
||||
unchanged; no guard kill; load 4.1–6.8 across the timed phases. F1–F3 closed
|
||||
with regression tests and harness fixes in place; the F1 rows are in
|
||||
`~/.cache/lucisv-perf/f1/results.jsonl`, paired against a 0.52.0 server built
|
||||
from `v0.52.0` for this comparison.
|
||||
|
||||
## Experiment record — R3b-2026-09-08 (stage R3b)
|
||||
|
||||
- **Experiment ID / stage / date / owner:** `R3b-2026-09-08` / R3b (TODO
|
||||
|
||||
@@ -0,0 +1,134 @@
|
||||
# Independent review of 0.52.0 — performance follow-up implementation
|
||||
|
||||
Reviewed 2026-09-09 at `3ceba21bb2ef4404a188b076301b170af862075b`, against 0.51.0 at `126a6bcdac99e940534c87bce94a5269cdc53ae4`.
|
||||
|
||||
**The main performance improvements are reproducible, but this round needs a startup correctness fix and two benchmark fixes.** A split startup scan can index a symlinked directory twice and make a valid rename appear ambiguous. The new loaded-scan harness also mislabels an unprimed first trial as warm and miscomputes its scan-completion/within-scan classification. The latency gains below use properly warmed reruns and server-reported scan durations, avoiding those measurement errors.
|
||||
|
||||
**Status (2026-09-09): F1, F2 and F3 fixed in 0.53.0 (TODO §62; `docs/features/perf5r-first-answer/README.md`, `perf5r-publication/README.md`); N1–N3 deferred to loop 3.** No implementation was changed by this review itself. [The tracking file](perf/take5-tracking.md) records the findings and remaining goals. [Evidence, reproductions and commands](perf/review-052-20260909/README.md) are preserved separately from the implementation agent's results.
|
||||
|
||||
## Findings
|
||||
|
||||
### F1 · P2 · Split startup discovery duplicates modules behind directory aliases
|
||||
|
||||
**Where:** `crates/lucisv_server/src/state/discover.rs`, `first_scope` around lines 445–462 and the path-only filtering in `walked_rest`/`rest_of_scope`; `crates/lucisv_core/src/walk.rs::collect_files_below` creates an independent directory-identity set.
|
||||
|
||||
The regular walker visits each directory identity once and reports files under the first path spelling that reaches it. The new neighbourhood walk and the remaining root walk have separate visited sets. Their results are combined using `HashSet<PathBuf>`, which cannot recognize two paths to the same directory. Copying the ancestor ignore stack preserved exclusions but did not preserve the walk's alias/cycle identity contract.
|
||||
|
||||
**Reproduction**, using only a scratch fixture:
|
||||
|
||||
```text
|
||||
workspace/
|
||||
a_alias -> z_real
|
||||
z_real/
|
||||
child.sv # module child; endmodule
|
||||
tb.sv # module tb; child u(); endmodule
|
||||
```
|
||||
|
||||
Start with `index.scope = "workspace"`, `index.scopeDepth = 0`, and open `z_real/tb.sv`. After the startup scan settles, request definition and prepareRename at `child`.
|
||||
|
||||
| Observation | 0.51.0 | 0.52.0 |
|
||||
|---|---|---|
|
||||
| Definition after startup | One target: `a_alias/child.sv` | Two targets: alias and real path |
|
||||
| prepareRename after startup | Accepted | Refused: `child` is declared in more than one indexed file |
|
||||
| After a whole rescan, without changing source text | One target; rename accepted | One target; rename accepted |
|
||||
|
||||
The initial definition difference reproduced in **3/3 sessions per version**, and the complete startup/rescan lifecycle reproduced in another **3/3 per version**. A watched-file notification naming both fixture files triggered the whole rescan. The source bytes did not change. Thus startup and subsequent scans disagree about the same project, and the effect is user-visible beyond duplicate navigation entries: rename is blocked until a rescan.
|
||||
|
||||
**Required fix:** preserve the root walk's directory identity and path-selection policy across split discovery. Simply keeping a separate path set for each half, or deduplicating declarations by module name, is insufficient. A bounded fallback is acceptable where equivalent discovery cannot yet be guaranteed. The `HEAD_WALK_MAX` fallback also unions the independently discovered head, so increasing or lowering that limit alone does not repair the contract.
|
||||
|
||||
**Acceptance:** compare the actual index paths, definitions, prepareRename results and diagnostics after startup, a whole rescan, and restart. Cover an alias sorting before/after its target, multiple aliases, an ancestor cycle, ignore rules and an open unsaved buffer. Keep legitimate duplicate declarations ambiguous. Record the amended walker/server handshake in [topo.md](topo.md). Add this fixture to the shipped regression tests; the existing successful corpus probes do not cover it.
|
||||
|
||||
### F2 · P2 · A fresh “warm” scanload run includes a cold trial
|
||||
|
||||
**Where:** `tools/perf/phases_r4.py::load_cell`, around lines 239–249.
|
||||
|
||||
The function sets `cold=False` for a warm cell but never primes its storage. `Session.__enter__` creates a missing directory; it does not populate an index cache. Consequently a standalone `scanload` or `scanloadprobe` command with a new `--storage` directory measures a cold first trial and warm later trials under one warm label.
|
||||
|
||||
This happened in the initial paired `scanloadprobe` invocation in this review. A separate two-session proof on 0.52.0, with `cold=False` both times, recorded:
|
||||
|
||||
| Trial | Directory existed beforehand | Index cache hits / misses | Scan parse time |
|
||||
|---|---|---:|---:|
|
||||
| First | No | **0 / 3,974** | **1,684 ms** |
|
||||
| Second | Yes | **3,974 / 0** | **0 ms** |
|
||||
|
||||
The two open buffers account for the rest of the 3,976-file workspace. The initial load-probe rows remain in the evidence but are **excluded from warm comparisons**. `load-retest.jsonl` contains the properly warmed paired replacement. Other cold/warm matrix phases explicitly run their cold cells first; they are not excluded on this basis. This does not establish that every historical implementation run was unprimed; it establishes that the standalone harness cannot enforce its label.
|
||||
|
||||
**Required fix:** perform an untimed prime using the same scope, buffers and corpus before a warm cell, or explicitly validate a complete pre-existing cache. Record cache hits/misses per timed trial and test the command with a brand-new storage directory. Merely creating the directory is not a prime.
|
||||
|
||||
### F3 · P2 · scanload completion and mid-scan fields include the request window
|
||||
|
||||
**Where:** `tools/perf/phases_r4.py::settled_at`, lines 136–139; consumed by `summary` around lines 179–200.
|
||||
|
||||
The candidate's corrected warm runs report actual server scan durations of **1,778 / 1,771 / 1,765 ms**, yet `settled_ms` is **3,406 / 3,407 / 3,407 ms** and all **105** responses are classified as mid-scan, with zero after-settle answers. The fixed request window sends its last request near 3,400 ms, well after these scans end.
|
||||
|
||||
`settled_at` calls `wait_quiet` after the request window and substitutes that call's entry time whenever the returned value is positive. `wait_quiet` initializes `last` with a separate clock read after `started`, so even no new notification usually yields a tiny positive value. It also counts all notifications, including verbose request timing messages. The previously captured scan-only `quiet_at` therefore gets replaced with approximately the end of the offered-load window. This makes the faster server's completion and mid-scan classification wrong.
|
||||
|
||||
**Required fix:** timestamp scan-completion events independently of client request/timing traffic. Distinguish “no new scan event” explicitly rather than testing a clock delta for exact zero. Classify each response using that same completion boundary; retain response arrival timestamps in the raw evidence. Test a scan that finishes well before the fixed window ends, and a longer offered window with the same initial load: scan completion should remain stable while the after-settle count grows.
|
||||
|
||||
**Treatment in this review:** use `publication[].scan_total` for scan duration and ordinary wire latencies over the **entire fixed window** for request wait. Do not use `settled_ms`, `mid_scan_median_ms` or `after_settle_answers` as reliable scan-only metrics. The offered/answered counts and settled-target comparisons remain useful.
|
||||
|
||||
## Paired performance results
|
||||
|
||||
All times are milliseconds unless marked otherwise. Ordinary request cells use the median of three repeats following a first request. Startup/RSS cells use three processes. Rename rows run verbose on both versions so their parse counts and work attribution can be compared. The original 0.51.0 review's numbers are historical context; the comparison below is freshly paired.
|
||||
|
||||
The first-useful-answer target is measured with the one-buffer AES fixture. It is not a bound on every opening set or on the loaded two-buffer case below.
|
||||
|
||||
| Workload | 0.51.0 | 0.52.0 | Assessment |
|
||||
|---|---:|---:|---|
|
||||
| Pinmux comment, unchanged all-family menu | 24.3 | **0.32** | Repeated lint work removed; ≤16 ms goal met |
|
||||
| Definition queued behind that menu | 24.4 | **0.29** | Menu blocking largely removed |
|
||||
| Pinmux first menu after didChange | 137.8 | **113.6** | Improved; substantial dirty-buffer work remains |
|
||||
| Tail `state_q` rename | 391.8 | **324.6** | **17.1% lower**, 240 → 137 parses |
|
||||
| Ordinary `aes` rename | 92.0 | **93.0** | Essentially unchanged |
|
||||
| Common-port `clk_i` rename | 3,482.9 | **2,883.7** | 17.2% lower; still a long blocking command |
|
||||
| Duplicate-module refusal | 2,206.5 | **754.0** | 66% lower; 3,975 → 14 parses |
|
||||
| No-symbol refusal | 2,204.6 | **0.22** | Preflight succeeds; 3,975 → 0 parses |
|
||||
| First useful definition, cold | 278.6 | **84.4** | ≤200 ms goal met at this cursor |
|
||||
| First useful definition, warm | 294.5 | **118.5** | ≤200 ms goal met at this cursor |
|
||||
| Quiet workspace scan, cold | 2,884.9 | **2,886.6** | Unchanged; 2.3 s aspiration remains unmet |
|
||||
| Quiet workspace scan, warm | 1,074.0 | **1,064.7** | Essentially unchanged; sub-second result not reproduced |
|
||||
| Warm idle RSS, MiB | 419.8 | **418.0** | Prior memory gain retained |
|
||||
| Connect-missing-ports resolve | 132.9 | **130.2** | Similar; no broad refactor speedup claimed |
|
||||
| Successful extract edit computation | 148.5 | **146.7** | Similar; captured edit matches |
|
||||
| Refused extraction at inline-site selection | 790.1 | **806.6** | Still about 0.8 s; no demonstrated improvement |
|
||||
|
||||
The initial tail rename on 0.52.0 was 359 ms before the 325 ms repeat median. Common-port peak process RSS remained about **1.8 GiB** (1.79 → 1.78 GiB in these samples). Some refusal peaks rose in this run; for example, the heavily used new-name collision rose about 5%, while no-symbol and duplicate-module refusal peaks fell substantially. These sampled peaks do not establish a leak or statistically significant regression, but they do not support an unconditional claim that every request's peak memory always decreases.
|
||||
|
||||
The implementation ledger already acknowledges the ≥20% **paired** tail-rename goal was missed at 17.4%. This rerun agrees at 17.1%. Comparing against the older 398 ms report to obtain a larger percentage does not replace a paired comparison. The work reduction is useful and worth retaining; label the target honestly.
|
||||
|
||||
### Fixed offered load, with cache warmth corrected
|
||||
|
||||
For the normal definition cursor, **two open buffers**, one request every 100 ms, 35 requests per process, three processes per version:
|
||||
|
||||
| Metric | 0.51.0 | 0.52.0 |
|
||||
|---|---:|---:|
|
||||
| Median request wait, entire fixed window | 1,947 ms | **2.03 ms** |
|
||||
| Worst sampled request wait | 3,675 ms | **722 ms** |
|
||||
| Median server-reported scan duration | 4,247 ms | **1,771 ms** |
|
||||
| Publishes per process | 34 / 34 / 34 | **4 / 4 / 4** |
|
||||
| Requests answered | 105 / 105 offered | **105 / 105 offered** |
|
||||
| Answers differing from settled target | 0 | **0** |
|
||||
|
||||
These support the publication-cadence optimization. The request median includes answers after the candidate has completed its scan; it is not a “median while indexing” claim. The separately measured scan duration and unchanged offered load show why the complete fixed-window experience improves.
|
||||
|
||||
The cross-folder cursor was tested cold and warm with one and eleven open buffers. The candidate answered **750/750** requests and all matched the settled target; the reference produced **399 premature empty answers** among its 750 responses. Non-empty mismatches were zero on both. This confirms the empty-answer retry behavior on the sampled workload.
|
||||
|
||||
Some cross-folder maxima are higher: with one buffer, **277 → 482 ms cold** and **306 → 380 ms warm**. With eleven buffers, the cold maximum instead fell from **9,261 → 1,863 ms**. Correctness and tail delay must be reported together; a fast empty response is not a fast useful definition. The implementation's accepted single-buffer cadence tradeoff remains relevant.
|
||||
|
||||
## Implementation assessment and next actions
|
||||
|
||||
1. **Fix F1 before treating the round as fully closed.** It violates startup/rescan scope equivalence and blocks a valid rename. Preserve the performance work while repairing directory identity and adding the alias regression matrix.
|
||||
2. **Fix F2 and F3 before using scanload to accept the next optimization.** Keep explicit cold/warm setup, true scan completion, full-window latency, within-scan latency and result quality as separate measurements. Recheck any earlier cells whose cache provenance or completion metric is unclear; do not assume all historical numbers are wrong.
|
||||
3. **Keep the lint snapshot.** Its key includes the effective rules/options, line length, tab width, oracle presence and waiver contents; the slot belongs to a document revision and is cleared on overlay refresh after index mutations. The source implements the dependency contract requested in the prior plan. The remaining 114 ms first-edit cost needs buffer parse/analysis work reduction; another unchanged-result cache cannot eliminate it.
|
||||
4. **Keep the engine-owned preflight and content-tied facts reuse.** Preflight avoids index-derived early refusals, preserving the fresh-source authority of the full rename. KnownFacts comes from a store entry tied to the handed source bytes; `check/` is unchanged. The tail trace now attributes about **163 ms to initial scope construction**, including **31 ms of facts decoding**. The common-port command still parses 1,251 files and takes 2.88 s; lexer/parser work on retained analyses is the next significant target. Preserve warning/refusal/output parity and measure peak memory rather than retaining all token streams indiscriminately.
|
||||
5. **Keep startup ordering and publication cadence, subject to F1.** First-answer latency now meets the proposed target. Quiet warm throughput remains around one second, and cold throughput remains 2.9 s. Whole-index absorb/decode/candidate construction are still follow-ups, not completed gains in this review. Reduce publication cost itself before tightening cadence in a way that restores the old merge-per-burst cost.
|
||||
|
||||
## Scope and evidence
|
||||
|
||||
Both release servers were built before timing, using the same compiler and the current harness for both versions. The reference was exported to a scratch directory with `git archive`; no checkout, branch or remote was changed. All benchmark phases ran sequentially under the repository's 8 GiB / 1,800-second guard, with no build/test overlap. OpenTitan stayed at `00981352642fb65ef2b6c47143a0f6bb31fd4a97` with its same three pre-existing modified files; their hashes match the prior review. Edits were captured/discarded, and all caches were outside the corpus.
|
||||
|
||||
This review covers menu filters, queued navigation, first-after-edit requests, eight rename shapes, startup scope/cache cells, RSS, two fixed-load probes, resolved actions and command execution. CLI throughput, the eager non-resolving client and the full 101-buffer load matrix were not remeasured. Three process trials establish practical direction and reproductions, not population tail percentiles or statistical significance.
|
||||
|
||||
**Independent validation:** `cargo fmt --all -- --check` and `cargo clippy --workspace --all-targets --locked -- -D warnings` passed. The default full workspace suite (`cargo test --workspace --locked`) finished with **4,374 passed, 0 failed, 45 ignored**, including doc-test result blocks. The ignored tests were not forced on. No guard limit was hit. All **84 comparable non-load outcome rows** matched on their recorded status, fingerprint, message, titles/shapes, edit/file/create/result counts and warnings where present. This is not a new full rename-warning oracle run; the implementation's wider warning checks remain in its own QA evidence.
|
||||
|
||||
The new alias reproduction fails startup equivalence despite the existing suite passing, demonstrating a coverage gap. Final corpus status/hashes and both release-binary hashes were unchanged. One-minute load samples during the initial paired phases were approximately 3.87–5.98; small timing movements are not treated as established regressions.
|
||||
+1
-1
@@ -136,7 +136,7 @@ what a change on the pointed-to side must not silently break.
|
||||
| `lucisv ──▶ vlog_linter` | depends | The public linter API for `lucisv check` — `lint` + `LintContext`/`ParsedSource`, `apply_fixes`, `select_rules` (the CLI does not call `run` itself). Relies on: rule names stable, linting never panics/writes, findings sorted by `(span.start, span.end, rule)`. `package_exports_in(path, file, tokens, src)` (perf5-p3: the CLI census hands the linter its one `ParsedSource` for the package half as it already did for `module_interfaces`; the text form is a wrapper; an AST gate spares files that declare no package from the one-file index). |
|
||||
| `lucisv ──▶ vlog_parser` | depends | `LineIndex` / `TextRange` for lint report coordinates, plus `PARSE_STACK_SIZE` for both the named `lucisv` thread and rayon workers. (The CLI otherwise reaches the parser through the formatter and linter.) |
|
||||
| `lucisv ──▶ rayon` | depends | The worker pool. Pinned exactly; pool must keep `stack_size(vlog_parser::PARSE_STACK_SIZE)` (currently 16 MiB; recursion-limit handshake) or the parser's depth guarantee regresses to a stack overflow. |
|
||||
| `lucisv_server ──▶ lucisv_core` | depends | Same config discovery and walk as the CLI (that sameness is the point — format-on-save must agree with `lucisv --check`), `filelist::read` (index scope rung 1, `+incdir+` for the include graph), `cache::content_hash` (re-used by the persistent index cache — one FNV-1a, not two). `walk::collect_files_with` (each walked file with the length the walk's own `metadata` call already holds; `None` for an input named rather than walked) and `walk::collect_files_below(root, input, …)` (a subtree walk that carries the ancestor `.gitignore`/`--exclude` stack down and yields nothing when an ancestor the root walk would not enter blocks it) — perf5r-first-answer, 2026-09-08; `collect_files` is unchanged and a wrapper. |
|
||||
| `lucisv_server ──▶ lucisv_core` | depends | Same config discovery and walk as the CLI (that sameness is the point — format-on-save must agree with `lucisv --check`), `filelist::read` (index scope rung 1, `+incdir+` for the include graph), `cache::content_hash` (re-used by the persistent index cache — one FNV-1a, not two). `walk::collect_files_with` (each walked file with the length the walk's own `metadata` call already holds; `None` for an input named rather than walked) and `walk::collect_files_below(root, input, …)` (a subtree walk that carries the ancestor `.gitignore`/`--exclude` stack down and yields nothing when an ancestor the root walk would not enter blocks it) — perf5r-first-answer, 2026-09-08; `collect_files` is unchanged and a wrapper. Amended for F1 (2026-09-09): `walk::DirectoryTracker`, `walk::DirId`, `walk::dir_id`, `walk::collect_files_tracked` and `walk::collect_files_below_tracked` preserve directory identity, precedence ordering, and cycle detection across split discovery phases and deduplicate open buffers against aliased disk paths in `overlay_buffers`. **The tracker's promise (F1, 2026-09-09):** the two walks of one scan enter each directory identity once *between* them, so no file is discovered under two spellings and their union is the set one root walk yields — a `lucisv_core` change that gave `DirectoryTracker::enter` a different answer for a second spelling would silently un-fix F1 (pinned by the nine alias fixtures in `server/tests/startup.rs`). **`has_conflict` is server-visible:** when the remaining walk reaches an identity by a path the root walk would have preferred, `state/mod.rs::land_discovery` reads it, `Scan::wants_rescan` reports it and `server/index.rs` turns it into one ordinary rescan after the scan settles, so startup and rescan converge on the canonical spelling; the CLI still calls `collect_files` and sees none of this. |
|
||||
| `lucisv_server ──▶ vlog_parser` | depends | `tokenize`, `parse_source_tolerant`/`parse_tolerant`, `ParseDiagnostic`, `LineIndex`, `TextRange`, tokens + trivia, `defines`, `KEYWORDS` (completion keyword tier; also the source the hand-maintained VS Code grammar is test-locked to), `PARSE_STACK_SIZE` for the named `lucisv-main` thread, and `stats::parses()` (perf5-p1: a per-thread whole-file parse count, asserted by the code-action tests — a repeated offer on an unchanged buffer parses nothing). |
|
||||
| `lucisv_server ──▶ vlog_semantic` | depends | `analyze`/`Semantics` (every navigation answer), `WorkspaceIndex` (build/incremental update, units/members/defines, `instantiations_of`/`subclasses_of` edge tables, `FileFacts` codec for the persistent cache), `resolve_external` overlay, `index_order`/`IndexBuilder` (watched builds), and `files_mentioning` as a refactoring selector rung (perf5-p2, handshake 33: `module_select::hierarchical_users` — previously the semantic lints' oracle only), and `WorkspaceIndex::table_sizes() -> IndexTableSizes` (perf5-p4: a read-only walk over the tables for the scan trace's memory line — end of scan only, never on a request path; no codec change). |
|
||||
| `lucisv_server ◀──▶ vlog_semantic` | handshake | Two negotiated additions, both 2026-08-28 and both additive: **`Symbol::detail_span` / `Def::detail_span`** (where a non-ANSI port's body declaration completes the header that names it — the server's hover card and `nav::definition` both read it, and they show/jump to it in the same order), and **`Semantics::symbols_named`** (name → declarations, built in `analyze`, in declaration order — the server replaced two scan-every-symbol loops with it and the *first-match tie-break must stay declaration order* or hover's choice between two live declarations of one name changes). `docs/features/port-detail-spans/README.md`. |
|
||||
|
||||
@@ -5,6 +5,12 @@ 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.53.0 — 2026-09-09
|
||||
|
||||
- A workspace with a symlinked directory alias no longer shows two
|
||||
definition targets, or refuses a valid rename as ambiguous, right after
|
||||
opening a file; startup and rescan now agree.
|
||||
|
||||
## 0.52.0 — 2026-09-09
|
||||
|
||||
- **Quicker where it counts:** a cursor move on a huge generated file
|
||||
|
||||
@@ -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.52.0**. Its platform packages include both
|
||||
The current release is **0.53.0**. Its platform packages include both
|
||||
`lucisv-server` and the `lucisv` command-line tool:
|
||||
|
||||
| Package target | Machines |
|
||||
@@ -374,6 +374,11 @@ Every nesting color is a proper VS Code theme color:
|
||||
}
|
||||
```
|
||||
|
||||
## Release 0.53.0 highlights
|
||||
|
||||
Version 0.53.0 fixes the startup scan indexing a symlink-aliased
|
||||
directory twice.
|
||||
|
||||
## Release 0.52.0 highlights
|
||||
|
||||
Version 0.52.0 is the take-5 review round: cheaper refusals, one lint
|
||||
|
||||
@@ -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.52.0",
|
||||
"version": "0.53.0",
|
||||
"publisher": "guoliangchen",
|
||||
"author": "Guoliang Chen",
|
||||
"license": "MIT",
|
||||
|
||||
+24
-1
@@ -85,6 +85,18 @@ class Session:
|
||||
self.server_requests = [] # every server->client request, answered
|
||||
self.applied = [] # captured workspace/applyEdit pushes, in order
|
||||
self.pending = {} # id -> (method, sent_at) for in-flight requests
|
||||
#: The `perf_counter` instant each indexing bar came *down*, stamped by
|
||||
#: the reader thread where the bytes land. One entry per scan: the
|
||||
#: server puts one bar up per scan and takes it down when that scan
|
||||
#: lands (`server/progress.rs`), and a mid-scan publish sends no `end`.
|
||||
#: A probe reads `scan_completed_at` — the first of them — and checks
|
||||
#: this list's length to prove that first `end` was the scan's.
|
||||
self.progress_ends = []
|
||||
#: When the session's **scan** finished, independent of anything the
|
||||
#: client sent. Review finding F3: a request window's own chatter is
|
||||
#: not a scan event, so the settle instant is taken from the server's
|
||||
#: own end-of-scan message and never from "the last thing we heard".
|
||||
self.scan_completed_at = None
|
||||
#: id -> the `perf_counter` instant the reader thread parsed the
|
||||
#: response. Stamped where the bytes land rather than where a caller
|
||||
#: gets round to looking, so a probe holding many requests in flight
|
||||
@@ -317,9 +329,20 @@ class Session:
|
||||
self.server_requests.append(message["method"])
|
||||
elif "method" in message and "id" not in message:
|
||||
self.notifications.append(message)
|
||||
if message["method"] == "window/logMessage":
|
||||
if message["method"] == "$/progress":
|
||||
params = message.get("params") or {}
|
||||
value = params.get("value") or {}
|
||||
if value.get("kind") == "end":
|
||||
self.progress_ends.append(time.perf_counter())
|
||||
if self.scan_completed_at is None:
|
||||
self.scan_completed_at = self.progress_ends[-1]
|
||||
elif message["method"] == "window/logMessage":
|
||||
text = message.get("params", {}).get("message", "")
|
||||
self.log_messages.append(text)
|
||||
# The `--verbose` line the bar's own `end` is followed by —
|
||||
# the fallback for a client that showed no bar at all.
|
||||
if text.startswith("timing: scan finished:") and self.scan_completed_at is None:
|
||||
self.scan_completed_at = time.perf_counter()
|
||||
found = TIMING_LINE.search(text)
|
||||
if found:
|
||||
self.timings.append((found.group(1), float(found.group(2))))
|
||||
|
||||
+86
-16
@@ -126,16 +126,27 @@ def drain_answers(s, answers, origin):
|
||||
|
||||
|
||||
def settled_at(s, quiet_at, origin):
|
||||
"""Milliseconds from `origin` to the session's **last** notification.
|
||||
"""Milliseconds from `origin` to the moment the **scan** ended.
|
||||
|
||||
Not "when the probe stopped asking, minus a quiet window": the offered load
|
||||
runs for a fixed window that may end before the session does or long after
|
||||
it, so both halves are taken into account — the last chatter the send loop
|
||||
saw, and anything `wait_quiet` sees after it.
|
||||
The scan's own event and nothing else (review finding F3). The old form
|
||||
took the last notification of any kind after the request window, and a
|
||||
`--verbose` server logs one line per request — so a probe that offered
|
||||
load for 3.5 s recorded a 3.4 s "settle" for a scan that ended at 1.77 s,
|
||||
and then classified every response as mid-scan. `Session.scan_completed_at`
|
||||
is stamped by the reader thread on the indexing bar's own `end`, which no
|
||||
request can move.
|
||||
|
||||
The fallback is for a session that saw no such event at all — and "nothing
|
||||
more arrived" is asked by counting notifications, never by testing a clock
|
||||
delta for exact zero.
|
||||
"""
|
||||
if s.scan_completed_at is not None:
|
||||
return (s.scan_completed_at - origin) * 1000.0
|
||||
entered = time.perf_counter()
|
||||
before = len(s.notifications)
|
||||
more = s.wait_quiet(QUIET)
|
||||
last = entered + more / 1000.0 if more > 0.0 else quiet_at
|
||||
s.drain()
|
||||
last = entered + more / 1000.0 if len(s.notifications) > before else quiet_at
|
||||
return (last - origin) * 1000.0
|
||||
|
||||
|
||||
@@ -146,17 +157,21 @@ def one_session(s, rate_ms, ticks, extra, params):
|
||||
answers = []
|
||||
sent, jitter, quiet_at = offer(s, rate_ms, ticks, params, origin, answers)
|
||||
unanswered = drain_answers(s, answers, origin)
|
||||
# One measurement under two names: `settled_ms` is the row field every
|
||||
# earlier series carries, and it now holds what it always claimed to —
|
||||
# when this session's scan ended.
|
||||
settle = settled_at(s, quiet_at, origin)
|
||||
settled_answer = s.request("textDocument/definition", params)[1].get("result")
|
||||
scans = traces(s)
|
||||
return {
|
||||
"sent": sent,
|
||||
"jitter": jitter,
|
||||
"settle": settle,
|
||||
"scan_completed_ms": settle,
|
||||
"scan_ends": len(s.progress_ends),
|
||||
"answers": answers,
|
||||
"unanswered": unanswered,
|
||||
"settled_answer": settled_answer,
|
||||
"scans": scans,
|
||||
"scans": traces(s),
|
||||
}
|
||||
|
||||
|
||||
@@ -175,17 +190,28 @@ def publication(scans):
|
||||
return out
|
||||
|
||||
|
||||
def counts_of(run):
|
||||
"""One session's first traced scan's `counts`, or nothing."""
|
||||
scans = run.get("scans") or []
|
||||
return (scans[0].get("counts") if scans else None) or {}
|
||||
|
||||
|
||||
def summary(runs):
|
||||
"""Every session's rows folded into the one the cell records."""
|
||||
latencies = sorted(a["ms"] for run in runs for a in run["answers"])
|
||||
inside = sorted(a["ms"] for run in runs for a in run["answers"]
|
||||
if a["at"] <= run["settle"])
|
||||
if a["at"] <= run["scan_completed_ms"])
|
||||
mid = len(inside)
|
||||
mismatched = sum(1 for run in runs for a in run["answers"]
|
||||
if a["result"] and a["result"] != run["settled_answer"])
|
||||
unsettled = sum(1 for run in runs for a in run["answers"]
|
||||
if a["result"] != run["settled_answer"])
|
||||
answered = len(latencies)
|
||||
# Per **timed trial**, never per cell: a cell whose first trial is the one
|
||||
# that filled the store is exactly what finding F2 was about, and one
|
||||
# number for the cell would hide it again.
|
||||
cache_hits = [counts_of(run).get("hits", 0) for run in runs]
|
||||
cache_misses = [counts_of(run).get("misses", 0) for run in runs]
|
||||
return {
|
||||
"ms": latencies,
|
||||
"latency_median_ms": statistics.median(latencies) if latencies else 0.0,
|
||||
@@ -200,12 +226,16 @@ def summary(runs):
|
||||
"mismatched_answers": mismatched,
|
||||
"unsettled_answers": unsettled,
|
||||
"settled_ms": [run["settle"] for run in runs],
|
||||
"scan_completed_ms": [run["scan_completed_ms"] for run in runs],
|
||||
"scan_ends": [run["scan_ends"] for run in runs],
|
||||
"cache_hits": cache_hits,
|
||||
"cache_misses": cache_misses,
|
||||
"tick_jitter_ms": max((run["jitter"] for run in runs), default=0.0),
|
||||
"publication": [publication(run["scans"]) for run in runs],
|
||||
}
|
||||
|
||||
|
||||
def cell_status(got):
|
||||
def cell_status(got, cache=None):
|
||||
"""A cell is a finding when an answer disagreed or a request went missing."""
|
||||
if not got["ms"]:
|
||||
return "error", "no request was answered at all"
|
||||
@@ -214,6 +244,13 @@ def cell_status(got):
|
||||
got["mismatched_answers"])
|
||||
if got["unanswered_requests"]:
|
||||
return "error", "%d requests were never answered" % got["unanswered_requests"]
|
||||
# Finding F2: a warm label is a claim about the store, so it is checked
|
||||
# rather than asserted. A trial that parsed everything read nothing from
|
||||
# the store, and a cell that quotes it beside three warm ones is the
|
||||
# measurement error the review found, not a slow server.
|
||||
if cache == "warm" and any(hits == 0 for hits in got.get("cache_hits", [])):
|
||||
return "error", ("a warm trial found nothing in the store: hits %r, misses %r"
|
||||
% (got.get("cache_hits"), got.get("cache_misses")))
|
||||
return "ok", None
|
||||
|
||||
|
||||
@@ -224,7 +261,12 @@ NOTE = (
|
||||
"four publish_* stages, the publish count and the files published; "
|
||||
"`mismatched_answers` is the coherence contract of "
|
||||
"docs/features/index-scope/README.md, `unsettled_answers` the review §2 "
|
||||
"gate (every answer, empty ones included, equal to the settled one)"
|
||||
"gate (every answer, empty ones included, equal to the settled one); "
|
||||
"`scan_completed_ms` (and `settled_ms`, the same measurement) is the "
|
||||
"server's own end-of-scan event, so `mid_scan_*` counts responses that "
|
||||
"really did arrive inside the scan; `cache_hits`/`cache_misses` are per "
|
||||
"timed trial, and a warm cell whose trial found nothing in the store is a "
|
||||
"finding rather than a number (F2/F3)"
|
||||
)
|
||||
|
||||
QUIET_NOTE = (
|
||||
@@ -234,25 +276,53 @@ QUIET_NOTE = (
|
||||
)
|
||||
|
||||
|
||||
#: Where every `scanload` session's index store lives, under `--storage`.
|
||||
STORE = "r4-load"
|
||||
|
||||
|
||||
def prime(extra):
|
||||
"""Fill the store, untimed, before a warm cell measures anything.
|
||||
|
||||
Finding F2: `Session.__enter__` *creates* the storage directory, which is
|
||||
not the same as filling it, so a `scanload` run pointed at a fresh
|
||||
`--storage` measured a cold first trial under a warm label (0 hits and
|
||||
3 974 misses, 1 684 ms of parsing, against 3 974 hits and none on the
|
||||
next). This is the missing half: one whole session over the same scope and
|
||||
the same buffers, its time thrown away, so every timed trial afterwards
|
||||
reads a store that has all of it.
|
||||
|
||||
Not a substitute for the check — `cell_status` still refuses a warm cell
|
||||
whose trials found nothing in the store, because a store that exists is
|
||||
not evidence that it is complete.
|
||||
"""
|
||||
with session("workspace", cold=False, verbose=True, storage_name=STORE) as s:
|
||||
s.initialize()
|
||||
open_buffers(s, extra)
|
||||
s.wait_quiet(QUIET)
|
||||
|
||||
|
||||
def load_cell(cache, buffers, rate, params, where=""):
|
||||
"""One cell: `--tries` fresh sessions under the same fixed offered load."""
|
||||
extra = rtl_files(buffers)
|
||||
ticks = WINDOW_MS[cache] // rate if rate else 0
|
||||
store = os.path.join(ARGS.storage, STORE)
|
||||
if cache == "warm" and not (os.path.isdir(store) and os.listdir(store)):
|
||||
prime(extra)
|
||||
runs = []
|
||||
for _ in range(ARGS.tries):
|
||||
with session("workspace", cold=(cache == "cold"), verbose=True,
|
||||
storage_name="r4-load") as s:
|
||||
storage_name=STORE) as s:
|
||||
runs.append(one_session(s, rate, ticks, extra, params))
|
||||
got = summary(runs)
|
||||
if not rate:
|
||||
# `ms` is the settle time here, and `settled_ms` is already in `got`.
|
||||
record(phase="scanload",
|
||||
row="quiet control, %s cache, %d extra buffer(s)" % (cache, buffers),
|
||||
fresh_process=True, result_count=0, rate_ms=0,
|
||||
ms=got["settled_ms"], settled_ms=got["settled_ms"],
|
||||
publication=got["publication"], open_buffers=buffers + 1,
|
||||
note=QUIET_NOTE)
|
||||
open_buffers=buffers + 1, note=QUIET_NOTE,
|
||||
**dict(got, ms=got["settled_ms"]))
|
||||
return
|
||||
status, message = cell_status(got)
|
||||
status, message = cell_status(got, cache)
|
||||
got["ms"] = got["ms"] or [0.0]
|
||||
record(phase="scanload",
|
||||
row="%sdefinition every %d ms, %s cache, %d extra buffer(s)"
|
||||
|
||||
Reference in new issue
Block a user