Time-to-mitigation (TTM) measures the gap between the first malicious packet reaching the edge and the moment clean traffic flows again with scrubbing fully engaged. Under attack that gap is simply the duration of the outage, which is why a DDoS test reports it beside time-to-recovery rather than on its own. It is one number that hides several, and the value of measuring it is in pulling those apart.
The stages hidden inside one number
TTM is a sum, not a single event. It runs from attack onset through four stages that each add their own delay.
Detection comes first. Nothing can be filtered until the attack is seen, so mean time to detect sets the floor for everything that follows; a slow-ramp flood that stays under an anomaly threshold can stretch this stage for minutes.
Then the decision to divert, which may be an automatic rule or a human approving a change under pressure. After that comes propagation: a BGP announcement has to converge across the path, or a DNS record has to wait out its TTL, before traffic actually starts arriving at the scrubbing tier. Finally the scrubbing path itself warms up, learning the traffic and bringing filters online.
Add those together and you have the interval the origin spends exposed. A stack can be excellent at one stage and ruinous at another, so the total tells you little until it is broken down.
Why it matters under attack
TTM is the number that separates a stack which detects attacks from one which survives them. Two systems can carry the identical monitoring and the identical scrubbing capacity and still produce wildly different outages, because a long DNS TTL or a manual approval step quietly dominates the sum.
The choice of posture moves it directly. An on-demand path only diverts when an attack starts, so it always carries a cutover delay; an always-on path through a scrubbing center drives TTM toward zero at a steady-state latency and cost. Neither is free, and which trade is right is a decision you make with the measured number in hand, not an assumption. TTM measures how fast filtering begins; time-to-recovery measures how long the system then needs to settle, and the two are not the same tail.
What a DDoS test measures
A test drives a controlled attack onset and clocks TTM directly, then decomposes it stage by stage so the slowest contributor is visible rather than averaged away. The output that matters is not the headline total but the breakdown: which stage owns most of the exposure window, because that is the one worth spending on.
What a slow stage actually costs the defender, and how the interval rolls up into a resilience posture, is worked through in DDoS resilience testing.