Skip to content

Performance & Benchmarks

Benchmarks live in tests/Benchmarks/ and track:

  • throughput stability,
  • fan-out behavior,
  • cold vs warm profiles,
  • explain overhead,
  • secret-path performance,
  • push vs pull isolation,
  • CI regression gates.

Benchmark Files

FileFocus
benchmark.5.sustained-mutation.test.tssustained mutation throughput
benchmark.6.fanout-sensitivity.test.tsfan-out sensitivity
benchmark.7.cold-warm-profiles.test.tscold/warm/steady profile split
benchmark.8.explain-overhead.test.tsexplain overhead budget
benchmark.9.secret-scope-impact.test.tssecret/public latency envelope
benchmark.10.push-vs-pull.test.tseager vs lazy write/read isolation
benchmark.11.secret-push-vs-pull.test.tssecret/public push-read isolation
benchmark.regression-gate.test.tsCI pass/fail thresholds

Run examples:

bash
node tests/Benchmarks/benchmark.5.sustained-mutation.test.ts
node tests/Benchmarks/benchmark.10.push-vs-pull.test.ts
node tests/Benchmarks/benchmark.11.secret-push-vs-pull.test.ts
node tests/Benchmarks/benchmark.regression-gate.test.ts

For detailed benchmark analysis and latest result tables, see: