Skip to content

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.

RepositoryLanguageFilesLOCCanontra v0.4.0 (s)Git (s)Turborepo (s)sccache (s)CodeQL (s)vs CodeQL
bottlePython309,2280.3401.4560.031N/A18.05253.1×
tomlRust16649,6982.2917.9090.1773.308279.388122.0×
requestsPython3712,0320.3352.5140.039N/A18.05453.9×
flaskPython8318,3450.6074.2120.056N/A19.06031.4×
marshmallowPython3815,7040.2861.7950.051N/A17.09359.8×
chalkJavaScript202,2150.1360.6950.140N/A22.040162.1×
clickPython9029,1210.4914.0740.095N/A19.05738.8×
ginGo9924,2260.7634.5250.0822.62625.04532.8×
jinjaPython6022,8750.3362.6990.075N/A19.05956.7×
ripgrepRust11056,3861.2164.9310.2043.493249.391205.1×
expressJavaScript14121,4921.2026.7321.365N/A26.05621.7×
richPython21351,8661.2979.8820.183N/A29.10022.4×
hugoGo936235,2249.05442.1100.8129.261266.44929.4×
deno_coreTypeScript/Rust31569,6922.79914.5151.1513.82927.0509.7×
prometheusGo844408,41712.02847.2791.55214.6401043.21786.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.