Regression Guide
Performance Regression Testing
Use repeatable load tests to check whether a deploy made a page or API slower, less reliable, or more error-prone.
Start a safe testWhat Performance Regression Testing Means
A performance regression happens when a change makes a website or API slower, less stable, or more likely to timeout than it was before. The feature may still work functionally, but users can feel the difference through slower responses, failed requests, or inconsistent behavior after a deploy.
A small controlled load test gives teams a practical way to verify that change. Instead of relying on a feeling that the app is faster or slower, compare the same route with the same traffic settings before and after the release.
Metrics To Compare
- p95 latency: shows whether the slower end of normal user experience changed.
- p99 latency: highlights rare but painful slowdowns, stalls, and retries.
- Error rate: shows whether more requests failed after the change.
- Timeout count: catches requests that exceeded the wait limit.
- Status codes: reveals new 4xx, 429, or 500-level patterns.
- Requests per second: helps confirm whether throughput stayed stable.
A Safe Regression Testing Workflow
- Choose one important URL or API route that represents real user behavior.
- Run a small baseline test before the deploy and download the report.
- Deploy the change.
- Run the same URL again with the same method, headers, body, concurrency, request rate, and timeout.
- Compare p95, p99, errors, timeouts, status codes, and throughput.
- If the result is worse, inspect application logs, database queries, cache behavior, and upstream services.
Example Before-And-After Result
Imagine the same checkout API is tested with 50 requests, 5 requests per second, 3 concurrent users, and a 10-second timeout before and after a deploy.
- Before deploy: p95 240ms, p99 410ms, 0 errors, 0 timeouts, 4.9 RPS.
- After deploy: p95 920ms, p99 2,100ms, 4 errors, 3 timeouts, 3.6 RPS.
That pattern is a regression signal. The endpoint still responds most of the time, but slower tail latency, new errors, and lower throughput suggest the release should be investigated before more traffic arrives.
When To Use It
Run a regression check after database changes, new middleware, authentication changes, framework upgrades, hosting changes, cache changes, or any deploy that touches a high-traffic route. The test does not need to be huge. It needs to be repeatable and safe.
Start with the homepage tool, review the sample report, then use the report guide to interpret the result.