Repository navigation
LBA REQ 048
Proven
Deployment / benchmark (ADR-0023 Phase 1 -- the golden VM as a benchmark actor)
The system shall benchmark the golden VM by mass-compiling the public icon-editor source with LabVIEWCLI, so a fail-closed gate proves the committed benchmark result is correctly derived and cross-plane comparable.
The golden VM exists to run objective, reproducible benchmarks -- the North
Star is cross-plane comparison. A MassCompile of a pinned public source
(ni/labview-icon-editor) is a real LabVIEW workload whose machine-independent result
(VI count + bad count + success) is comparable across planes, with the compile time as
the performance metric. This replaces the deferred VI Analyzer benchmark (operator-directed).
-
LabVIEWCLI -OperationName MassCompilecompiles the icon-editorresource/source headless-as-actor (Xvfb, VI Server 3363). -
massCompileBenchmark.mjsrecords the result (directory, VI/CTL count, bad-VI count, success) plus a timing-invariantresultHashand the compile time. -
validateMassCompileReceiptfails closed unless theresultHashre-derives from the result, the verdict matches the rule, the bad-VI list is consistent with its count, and the digest is intact. - Live evidence: MassCompile of
ni/labview-icon-editorresource/onlba-goldencompiled 307 VIs/CTLs with 0 bad and "operation succeeded" in ~24s; the receipt records it.
The benchmark validator experiments/mass-compile/massCompileBenchmark.mjs
plus its self-test are gated by mass-compile-benchmark in verify-local-gates and mapped
in the RTM. Authored under the singular-requirement directive (one shall).
experiments/mass-compile/massCompileBenchmark.mjs; experiments/mass-compile/verify-mass-compile-benchmark.selftest.mjs; experiments/mass-compile/fixtures/mass-compile-benchmark-receipt.json; experiments/verify-local-gates.mjs
Proven