Skip to content

Benchmarks & Verification Scorecard

All benchmarks are measured against locked --release builds (target/release/tts and target/release/tts-box) on Linux 6.12.115 x86_64 (AMD EPYC 9554P, 31 GiB RAM).

Gate Measured Result
External Conformance (trusted-ts-checks) 42 / 42 PASS
Workspace Line Coverage (cargo llvm-cov) 91.98% lines (91.59% functions, 89.40% regions; gate >= 90%)
Core Architecture Budget (cargo atlas) 47,731 / 50,500 token-lines (2,769 headroom; 0 violations)
Verus Kernel Proofs 143 verified (0 errors)
Lean 4 Proofs Verified (0 sorryAx)
Kani Bounded Model Checking 18 / 18 harnesses verified (0 failures)
Protocol Modeling (@tsmodel) 6 / 6 specs passing (0 stale anchors)
Differential & Red-Team Fuzz Suite 5 / 5 passed (1.19s) (180 seeded RegExp/URI/Base64 turns, 0 divergences)

Actor Memory Density & Preemption Fairness

Section titled “Actor Memory Density & Preemption Fairness”
  • 1,000 live stateful actors on 1 OS thread (tts run): 8,444 KiB total VmRSS (8.44 KiB / actor total, 4.78 KiB / actor marginal over 3,664 KiB baseline); 47.9 ms to spawn all 1,000 actors; 34.5 ms across 1,000 committed turns.
  • Hostile-neighbour fairness (--fuel=2000): An honest actor running beside concurrent infinite spin and allocation-churn actors achieves 0.049 ms p50, 0.077 ms p95, and 0.159 ms p99 latency.

Evil-Regex ReDoS Comparison (EVIL_RE = /^(a+)+$/)

Section titled “Evil-Regex ReDoS Comparison (EVIL_RE = /^(a+)+$/)”
Input: 'a'.repeat(N) + '!'

PikeVM O(|pattern| * |input|) vs. V8 backtracking (ms)

Lower is better
tts run (N = 26)0.098 ms · 30,194x faster
tts run (N = 28)0.157 ms · 75,945x faster
tts run (N = 40 / N = 100)0.150 ms / 0.093 ms · O(N) vs > 13 hrs / 10^20 yrs in Node
Node V8 (N = 26)2,955.269 ms
Node V8 (N = 28)11,911.430 ms

Host Edge, Live Reload & Durable Schedule Throughput (tts-box serve)

Section titled “Host Edge, Live Reload & Durable Schedule Throughput (tts-box serve)”
  • Per-route auth & rateLimit overrides (listen[].routes[]): /webhooks hmac-sha256 at 0.137 ms p50 (5,561.6 req/s); /api dual-secret bearer at 0.104 ms p50 (7,467.6 req/s); /public null bypass at 0.103 ms p50 (8,231.9 req/s); per-route 429 shedding at 0.075 ms p50 (9,837.4 req/s).
  • Atomic live SIGHUP reload: TLS 1.3 + allowCidrs & trustedProxies swap in 0.328 ms p50 (0 dropped connections); invalid-manifest/CIDR fail-closed rollback in 0.128 ms p50.
  • Durable schedule[] + SQLite WAL: everyMs: 50 cadence (synchronous = FULL + compactEvery: 20) at 50.553 ms p50; wal compact 20.375 ms p50; wal verify 10.088 ms p50.