Tool Comparison
Live Comparative Cold Latency (Wall-Clock Seconds)
Section titled “Live Comparative Cold Latency (Wall-Clock Seconds)”Measured across all 15 repositories (v0.4.0_benchmark_comparative_summary.csv). Canontra v0.4.0 completes cold indexing 9.7× to 205.1× faster than GitHub CodeQL CLI (86.7× cold and 275.5× warm on 994-file prometheus) and runs faster than per-file git hash-object across all 15 repositories.
| Repository | Language | Files | LOC | Canontra v0.4.0 (s) | Git (s) | Turborepo (s) | sccache (s) | CodeQL (s) | vs CodeQL |
|---|---|---|---|---|---|---|---|---|---|
| bottle | Python | 30 | 9,228 | 0.340 | 1.456 | 0.031 | N/A | 18.052 | 53.1× |
| toml | Rust | 166 | 49,698 | 2.291 | 7.909 | 0.177 | 3.308 | 279.388 | 122.0× |
| requests | Python | 37 | 12,032 | 0.335 | 2.514 | 0.039 | N/A | 18.054 | 53.9× |
| flask | Python | 83 | 18,345 | 0.607 | 4.212 | 0.056 | N/A | 19.060 | 31.4× |
| marshmallow | Python | 38 | 15,704 | 0.286 | 1.795 | 0.051 | N/A | 17.093 | 59.8× |
| chalk | JavaScript | 20 | 2,215 | 0.136 | 0.695 | 0.140 | N/A | 22.040 | 162.1× |
| click | Python | 90 | 29,121 | 0.491 | 4.074 | 0.095 | N/A | 19.057 | 38.8× |
| gin | Go | 99 | 24,226 | 0.763 | 4.525 | 0.082 | 2.626 | 25.045 | 32.8× |
| jinja | Python | 60 | 22,875 | 0.336 | 2.699 | 0.075 | N/A | 19.059 | 56.7× |
| ripgrep | Rust | 110 | 56,386 | 1.216 | 4.931 | 0.204 | 3.493 | 249.391 | 205.1× |
| express | JavaScript | 141 | 21,492 | 1.202 | 6.732 | 1.365 | N/A | 26.056 | 21.7× |
| rich | Python | 213 | 51,866 | 1.297 | 9.882 | 0.183 | N/A | 29.100 | 22.4× |
| hugo | Go | 936 | 235,224 | 9.054 | 42.110 | 0.812 | 9.261 | 266.449 | 29.4× |
| deno_core | TypeScript/Rust | 315 | 69,692 | 2.799 | 14.515 | 1.151 | 3.829 | 27.050 | 9.7× |
| prometheus | Go | 844 | 408,417 | 12.028 | 47.279 | 1.552 | 14.640 | 1043.217 | 86.7× |
Scope Comparison: What Each Tool Actually Does
Section titled “Scope Comparison: What Each Tool Actually Does”These tools solve different problems. Comparing elapsed time without clarifying scope would be misleading:
| Tool | What It Checks | What Busts Its Cache or Run | How It Relates to Canontra |
|---|---|---|---|
Git (git hash-object) |
Raw file bytes (SHA-1 / SHA-256) | Any byte edit (comments, whitespace, line endings) | Replaced for semantic CI gating: Canontra provides F1..F4 so pipelines skip cosmetic edits that change Git blob hashes. |
Turborepo (turbo) |
Package file glob hashes + task runner | Any matched file byte change (text-blind) | Complementary: Turborepo schedules monorepo tasks quickly (0.03s to 1.55s), but treats comment, whitespace, or local-rename edits as cache misses. Canontra decides whether a change affects real behavior. |
Mozilla sccache |
Compiler wrapper (rustc, cc, clang) |
Preprocessor output and compiler flags | Complementary: sccache caches compiled object files for compiled languages (N/A for Python/JS). Canontra works uniformly across Python, JS/TS, Go, and Rust without invoking any compiler. |
| GitHub CodeQL | Compiler extraction + deep taint/security Datalog queries | Deep inter-procedural security vulnerability queries | Complementary: CodeQL builds full compiler databases (17s to 1,043s) for deep security scanning. Canontra does not replace CodeQL for taint SAST; it provides fast semantic fingerprints and minimal PR test slicing. |