devlow-bench: percentile-based comparison and run retries (#93950)
A few changes to devlow-bench so the comparison output is easier to read and so a couple of flaky page-load runs don't quietly poison the stats. **compare** - Show p50 / p90 / p99 instead of mean / p50 / p90, with Δ p50 and a single Mann–Whitney p-value (Welch's t-test and Δ mean are gone — the mean was dragging on bad runs). - Hoist the modal sample count into an `n = 7 per metric` banner so only the outlier rows carry `(n)`. **runner** - Each attempt's measurements are buffered locally and only merged on success. Failed runs are retried (capped at 2× warmup+n) until we have a clean n samples. - Per-variant retry line plus an end-of-run summary noting which variants recovered and which fell short. **browser** - `hardNavigation` / `reload` now throw when the navigation response is missing or non-2xx. Previously a `200`-committed-but-broken page was being recorded as a real sample. The trigger was a run where 2 of 7 cold-build attempts hit an error page, dragging the mean response size from 45 MB to 33 MB while the p50 was unchanged. <!-- NEXT_JS_LLM_PR -->
Showing
Please
register
or
sign in
to comment