Files
lucisv/docs/perf/take5-review-20260908
Guoliang ChenandClaude Mythos 5.2 71d13b5fbe
ci / checks (push) Successful in 1m0s
ci / corpus (push) Successful in 18s
ci / linux (push) Successful in 6m4s
release / build-and-publish (push) Successful in 5m31s
Release 0.66.2: every source file names its author
Every tracked file that can carry a comment (880 of them) now opens with
"Author: Guoliang Chen, a Senior Digital Design Engineer" and closes with
"Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love,
luciochen.com", in the file's own comment syntax. No behaviour change: the
diff outside the version bump and changelogs is comment lines only.

- tools/stamp_author.py: writes the lines; idempotent, `--check` lists
  what is missing. Headers go under a shebang and under Markdown front
  matter.
- Left alone: test fixtures, cases and snapshots (byte-exact inputs), JSON
  and JSONL, logs, images, lockfiles, docs/site/dist (regenerated) and the
  LICENSE files (already carry the copyright line).
- tools/linux_check.sh: --help reads its header from line 3, now that the
  author line sits under the shebang.
- tools/gates.sh green on this tree: 5 545 tests, corpus 814/6 as before.

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
2026-11-24 12:11:09 -08:00
..

Independent 0.51.0 performance review evidence

Collected 2026-09-08. Interpretation and follow-up priorities are in the review; implementation result cells are in the tracker.

Files

  • provenance.json: commits, binary SHA256, compiler/OS, corpus state and modified-file SHA256.
  • results.jsonl: paired 0.50.0/0.51.0 schema-2 LSP measurements, full arrays and result fingerprints.
  • runs.jsonl: exact commands, start/end times, load samples, guard exits and corpus invariance for all 24 paired phase invocations.
  • trace-results.jsonl: candidate-only startup stages and broad rename/fallback/refusal probes. These rows must not be presented as old/new regressions.
  • cli-results.jsonl: paired CLI check timings, user/system CPU, peak RSS, diagnostic counts, output hashes and commands; candidate-only format-cache sanity probe.
  • post-runs.jsonl: CLI driver, trace and focused test commands and exits.
  • run.py, post.py, cli_probe.py: the actual scratch orchestration scripts, preserved as evidence. They contain machine-specific paths and are not project tooling.
  • build*.log, verified-*.log: release freshness checks and corrected focused test results. test-server-tests-startup.log preserves an initial invocation error: the server is a binary crate, so --lib had to be corrected to --bin lucisv-server; no test ran in that failed invocation.

Verbose console logs and CLI stdout/stderr remain in /tmp/lucisv-perf-review-20260908. Persistent benchmark caches also remain there; they are excluded from this evidence directory. Retained JSON contains the diagnostic hashes/counts and timings needed for comparisons without adding megabytes of repeated diagnostic text to the repository.

Reproduction

Build both commits in separate clean checkouts before benchmarking. Use the current harness for both servers. runs.jsonl is the exact invocation record; replace binary, corpus, storage and output paths for another machine. For one representative candidate phase from the repository root:

tools/guard.sh -m 8 -t 1800 -- python3 tools/perf/bench.py offerkinds \
  --server target/release/lucisv-server --label candidate \
  --opentitan /Users/guoliangchen/repo/opentitan \
  --storage /tmp/lucisv-perf-repeat/candidate \
  --out /tmp/lucisv-perf-repeat/results.jsonl --tries 3

Repeat sequentially with the reference server and its own storage directory. Alternate reference/candidate order between phases. scan and rss manage their specified cold/warm cache cells. No benchmark should overlap a build, test suite or another benchmark. Always use the guard. Do not apply captured workspace edits or format the corpus in place.

In the ordinary request rows, ms[0] is first and ms[1:] are repeats. Fresh-process and first-after-change rows instead contain independent trials; use all samples. offerqueue has leader/follower fields and must not be reduced as if its two ms values were repeats. scanserve is a response-paced probe, not a fixed offered-load throughput benchmark. Its zero mismatch count allows empty interim answers. refactor rows saying “offer is a command” contain a zero placeholder, not an executed command measurement; use execute instead. capture means the edit reached applyEdit and the client refused to write it; refused means no edit was produced. RSS is KiB, CLI peak RSS is bytes, and CLI process timings are seconds. Three samples support prioritization, not percentile or significance claims.