Performance
Parallel policy evaluation with near-linear scaling across CPU cores. Fast scan mode for development, configurable timeouts, and detailed performance statistics.
Rego policy engine evaluates policies in parallel using Rayon, achieving near-linear scaling across CPU cores.
Use --fast for rapid feedback during development with prioritized critical policies.
Show detailed timing statistics with --show-performance for optimization insights.
Per-stage timeout controls for parsing, evaluation, reporting, and overall scan duration.
Parallel Processing
The Rego policy engine evaluates policies in parallel using Rayon, achieving near-linear scaling across CPU cores.
| Resources | Sequential | Parallel | Speedup |
|---|---|---|---|
| 10 | 59 ms | 19 ms | 3.1x |
| 100 | 548 ms | 135 ms | 4.1x |
| 500 | 2,763 ms | 705 ms | 3.9x |
| 1,000 | 5,739 ms | 1,481 ms | 3.9x |
Fast Scan Mode
Use --fast for rapid feedback during development:
- Limits scanning to high-value file types
- Reduces directory traversal depth
- Prioritizes critical policies
| |
Performance Visibility
| |
Configurable Timeouts
| Stage | Default |
|---|---|
| Parsing | 120s |
| Evaluation | 300s |
| Reporting | 180s |
| Overall scan | 600s |
See it in action
Near-linear scaling across CPU cores with parallel policy evaluation and configurable performance controls.
Ready to Secure Your Infrastructure?
Join teams already using ThreatMitigator to identify security threats in their Terraform, CloudFormation, Docker, and Helm configurations.