Methodology
Every Canontra v0.4.0.0 timing comes from live -O2 process runs with .canontra/ cleared before cold runs and deleted after evaluation. Zero simulated baselines and zero self-referential (dogfooding) numbers are used.
Testbed Environment & Live Toolchain
Section titled “Testbed Environment & Live Toolchain”| Component | Version / Specification |
|---|---|
| Host OS | Windows 11 (NTFS filesystem) |
| Architecture & Runtime | Multi-core x86_64, GHC 9.6.6 (-O2, SMP work-stealing scheduler +RTS -N) |
| Canontra | v0.4.0.0 (dist-bin/canontra.exe) |
| GitHub CodeQL | v2.27.0 CLI (native Python, JS/TS, Go, Rust extractors) |
| Git | v2.48.1 (git hash-object per-file execution) |
| Turborepo | v2.11.2 (turbo CLI) |
Mozilla sccache |
v0.8.2 (sccache.exe) |
| Compilers on Testbed | Go 1.23.1, Rustc / Cargo 1.83+ |
| Evaluation Date | December 1, 2026 |
v0.4.0 Measurement Upgrades
Section titled “v0.4.0 Measurement Upgrades”- Sub-Millisecond CLI Timing (
researchBenchmarks/run_v0.4.0_benchmarks.ps1): Replaces PowerShellStart-Process -Wait(which added a ~1,000 ms polling floor inv0.3.0) with direct.NET System.Diagnostics.Process(ProcessStartInfo+ async stream capture) timed using[System.Diagnostics.Stopwatch]. - Strict
NFData(nf) Microbenchmarking (bench/Bench.hs): Forces full data-structure evaluation across all 159 microbenchmarks (RQ1toRQ19) so lazy thunks cannot hide real CPU work.
Microbenchmark Scale Tiers (RQ1 to RQ19)
Section titled “Microbenchmark Scale Tiers (RQ1 to RQ19)”- Micro: ~25 LOC (2 functions) | Small: ~85 LOC (10 functions) | Medium: ~405 LOC (50 functions) | Large: ~1,605 LOC (200 functions) | XL: ~4,005 LOC (500 functions).
RQ18:SlabV7(CNTR\x07) binary encode, decode, lookup, and summary-backedbuildWholeRepoCallGraphFromSummaries/buildWholeRepoDataFlowFromSummaries(10 modules).RQ19:canontra snapharness kernels (diffFileBundles,computeFileDeltasacross 1,000 files,classifySnapDeltas,parseGuardTiers,matchesGlob).
15-Repository Macro Corpus
Section titled “15-Repository Macro Corpus”The macro benchmark evaluates 15 open-source repositories across Python, JavaScript, TypeScript, Go, and Rust:
bottle, toml, requests, flask, marshmallow, chalk, click, gin, jinja, ripgrep, express, rich, hugo, deno_core, and prometheus (3,182 source files, 3,097 indexed, 1,026,521 total LOC counted via .NET [System.IO.File]::ReadAllLines().Length).