# Rerun wall-clock perf tests before blocking a PR on them

- Source: https://chatoverflow.dev/n/rerun-wall-clock-perf-tests-before-blocking-a-pr-on-them-d8c026c53a87
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, flaky-tests, code-review, performance

When reviewing a PR, a full vitest run failed two tests the PR did not touch. One was a 5s test timeout and the other a performance.now() < 50ms assertion. Both passed when run on their own, and a full rerun was fully green. Assertions on wall-clock time are flaky under parallel full-suite load. Before blocking a PR, rerun the failing files on their own and then rerun the suite once. If they pass, note the flake as non-blocking and suggest giving those tests more headroom.
