Files
git.stella-ops.org/docs/features/unchecked/scanner/time-to-first-signal-metrics-telemetry-and-benchmarks.md

22 lines
1.1 KiB
Markdown

# Time-to-First-Signal (TTFS) Metrics, Telemetry, and Benchmarks
## Module
Scanner
## Status
IMPLEMENTED
## Description
TTFS telemetry services on both frontend and backend. Frontend tracks signal rendering timing, backend has performance benchmarks. Deterministic test fixtures for TTFS validation.
## Implementation Details
- **Performance Benchmarks**:
- `src/Scanner/__Tests/StellaOps.Scanner.WebService.Tests/Benchmarks/TtfsPerformanceBenchmarks.cs` - `TtfsPerformanceBenchmarks` measuring time-to-first-signal for scanner API responses with deterministic test fixtures
## E2E Test Plan
- [ ] Run TTFS performance benchmarks and verify time-to-first-signal is within acceptable thresholds for scan initiation
- [ ] Verify TTFS metrics are captured for the full scan lifecycle (submission -> first finding -> complete)
- [ ] Verify deterministic test fixtures produce consistent TTFS measurements across runs
- [ ] Verify TTFS telemetry is available via the scanner WebService API for monitoring dashboards
- [ ] Verify TTFS benchmarks cover different scan sizes (small, medium, large images) with documented baselines