Validated Service Worker fetch round-trip latency across redirect paths
Keep only one benchmark page open at a time so Service Worker isolation remains active for this tab.
| Query Type | Median RTT | Over baseline | Mean | p95 | MAD | Median 95% CI | Min | Max |
|---|
Redirect paths and a Service Worker no-op baseline are measured in randomized, interleaved order using fetch('/?q=...', { redirect: 'manual' }) which stops at the Service Worker’s 302 redirect response without following it. This is a client-to-worker fetch round trip, not a top-level navigation measurement. The no-op row exposes transport and scheduling overhead separately from redirect processing.
A small popup also runs up to 100 paired top-level navigations. Each pair compares a direct same-origin target with the real parser and 302 path to that same target. Their difference estimates redirect overhead while excluding destination network time.
Run with DevTools closed — Chrome adds huge instrumentation overhead to Service Worker timing. The maximum is sensitive to browser scheduling and GC pauses; use the median and percentiles for comparisons.