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

+19
View File
@@ -1456,6 +1456,25 @@ vbs test --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrat
work (CLI contract).
- Full CTest: **8 / 8 passed** after both slices.
## Competitor Benchmark Baseline (GCC 16.2, pin `0002e74`)
```sh
dev cpp-gcc -c bash benchmarks/compare.sh 20 --vbs build/pinned/bin/vbs
```
Observed on this host (x86_64, 32 jobs, Debug, 20 generated sources):
```
vbs-cold 2578 vbs-warm 209
cmake-config 234 cmake-cold 98 cmake-warm 9
meson-setup 438 meson-cold 232 meson-warm 166
```
The harness (`benchmarks/compare.sh`) generates one project and times each tool's cold and warm
invocations. VBS is slower on this small fixture because every invocation recompiles/probes the
description; the numbers are recorded in [22](../roadmap/22-superiority-and-gaps.md) as the
optimization target.
## 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).