bench: add a VBS vs CMake vs Meson comparison harness with a baseline
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s

This commit is contained in:
faumaray committed 2026-12-05 07:30:45 +03:00
1 parent 1e670cb96b
commit 4bd2999b49
5 files changed
+150 -1

No files matched your search

+17 -1
View File
@@ -85,7 +85,23 @@ Concrete work this implies:
8. CI on real runners, sanitizer jobs, parser fuzzing.
9. Remote execution workers.
## 6. Acceptance gates
## 6. Observed baseline (2026-12-05, x86_64, GCC 16.2, Debug, `benchmarks/compare.sh 20`)
20 generated sources, 32 cores, wall-clock milliseconds:
| Tool | cold | warm/no-op |
| --- | --- | --- |
| VBS (`vbs build`) | 2578 | 209 |
| CMake + Ninja (configure / build) | 234 (configure) | 98 cold build, 9 warm |
| Meson (`setup` / `compile`) | 438 (setup) | 232 cold, 166 warm |
Interpretation: for a tiny project VBS pays for descriptor compilation, snapshot capture and
toolchain probing on every CI invocation, so its cold and warm times are higher than Ninja's
no-op. This is the clear performance target: cache the compiled descriptor and toolchain probe
across invocations, and keep snapshot work proportional to changed files. Larger fixtures are
needed before drawing scaling conclusions.
## 7. Acceptance gates
- Every platform claim has an observed run on that platform (or under Wine, clearly labelled).
- A package generator is accepted only when its output installs and runs from a clean machine image.