Files
lucisv/docs/perf/review-052-20260909
..

Independent 0.52.0 review evidence — 2026-09-09

Review, findings and assessment · Tracking file

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:

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.