perf(config): memoize descriptor hashes by stat fingerprint; generate plugin tests
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 5s
VoidBuildSystem CI / fuzz-clang (push) Failing after 4s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 10s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 58s

This commit is contained in:
faumaray committed 2026-12-05 12:33:56 +03:00
1 parent 09fd3cce39
commit e135ae3023
6 files changed
+306 -35

No files matched your search

+14
View File
@@ -1727,6 +1727,20 @@ VOID_INCLUDE_DIR=/tmp/opencode/vl-pin/include dev cpp -c bash fuzz/run.sh 30
- `RegistryTests.worker_cli_leases_publishes_and_reports_result` **passed** (1.54 s): the idle worker ran for >= 900 ms, renewal succeeded, and a wrong token was rejected.
- Full CTest: **8 / 8 passed** in 302.11 s.
## Warm-Build Latency (GCC 16.2, pin `0002e74`)
- Descriptor identity inputs and cached headers are hashed only when their stat fingerprint
(size + mtime, persisted in `.vbs/config/identity_cache.json` / `.headers.json`) changes.
Legacy hash-only metadata is upgraded in place.
- Descriptor check on the benchmark project: **~106 ms before, ~0.8 ms warm after** (the first
run seeds the memo once).
- `benchmarks/compare.sh` (20 sources): **vbs-warm 92 ms** (was ~209 ms), cmake-warm 8 ms,
meson-warm 175 ms; vbs-cold 2580 ms, cmake-cold 97 ms, meson-cold 246 ms.
- `vbs ide plugin --editor vscode` emits `test/extension.test.js` and `npm test`; running the
generated harness with Node 24 against a mocked VS Code API prints
`extension tests passed: 6 commands`.
- Full CTest: **8 / 8 passed** in 288.56 s.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).