Verified latency benchmarks
Per-request release measurements for typical, clean and secret-dense workloads.
Summary
Measured per request in release with 20,000 samples per scenario:
| Scenario | P50 | P95 | P99 |
|---|---|---|---|
| Typical ~2 KB prompt | 0.0255 ms | 0.0353 ms | 0.0470 ms |
| Clean 64 KB text | 0.413 ms | 0.447 ms | 0.651 ms |
| Secret-dense 8 KB content | 1.050 ms | 1.217 ms | 1.468 ms |
| Secret-dense 64 KB content | 8.92 ms | 9.94 ms | 10.9 ms |
The typical prompt is the dominant workload. Secret-saturated payloads are deliberately adversarial: they trigger many rules and validators per byte.
Methodology
The source is masking_engine/benches/latency_percentiles.rs in the Rust program. Each request is timed with Instant, 2,000 warm-up iterations are discarded, and 20,000 samples are sorted to calculate P50, P95 and P99 using nearest-rank.
cargo bench --bench latency_percentiles -- --nocapture
Results depend on CPU, operating system and binary version. These figures come from TigerMole 1.6.10, a release build run on October 30, 2026 on an AMD Ryzen 7 2700X with Windows 10.
How to read the numbers
We do not publish “sub-2 ms” as a universal guarantee. On a typical workload, measured overhead is a few hundredths of a millisecond. Clean text up to 64 KB reached 0.447 ms P95. Secret-dense content costs more, so that workload is shown explicitly instead of being hidden behind a headline number.