Skip to content
StackDecode
System Design
16. Performance EngineeringAnimated

Performance Regression Testing

Catching slowdowns before release.

The idea

Automated benchmarks in CI compare against a baseline and fail on regressions.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

AppsCollectorMetrics (Promet…Logs (Loki)Traces (Tempo)Dashboards
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Apps emit metrics, logs and traces.

step:
1/4
at:
Apps
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Keep a baseline
  2. 2Run benchmarks in CI
  3. 3Compare results
  4. 4Fail on a significant slowdown

Where it is used

Release quality.

Watch out for

Noisy machines give false alarms.

Related