Debugging Guide

How To Debug Performance Regressions

When a deploy feels slower, use a small controlled test to confirm the regression, find the weakest metric, and rerun after each fix.

Start a safe test

Confirm The Regression First

Start by running the same test settings that produced the baseline: same URL, method, headers, request body, concurrency, request rate, duration, and timeout. A changed test scenario can make a healthy deploy look worse or hide a real problem.

Debug In The Right Order

  1. Check errors first. More 4xx, 429, or 500 responses usually matter before latency tuning.
  2. Check timeout count. Timeouts often point to queueing, slow dependencies, or overloaded workers.
  3. Compare p95 and p99. These metrics show whether the slower side of user experience changed.
  4. Review status codes. A new status-code pattern can identify auth, routing, rate-limit, or server issues.
  5. Inspect server evidence. Use logs, traces, database metrics, cache metrics, and upstream provider dashboards.
  6. Change one thing. Rerun the same load test after each fix so the improvement is measurable.

Common Regression Sources

Regression Debugging Checklist

Pair this with the performance regression testing guide and report reading guide.