Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Performance & resilienceMiddleOccasionalTheory

How do a performance baseline, benchmark and load test differ?

Answer

A baseline records the current system under defined conditions so later results can be compared. A benchmark compares a system, version or configuration using a standardized workload and metric. A load test evaluates behavior under a representative workload against explicit service objectives. None is meaningful without controlled data, environment and workload assumptions.

Strong answer includes

  • comparison point versus comparative test versus workload validation
  • requires controlled conditions
  • uses service objectives rather than vague speed

Practical example

Before a database migration, the team records response times for the top 20 API endpoints under normal traffic as a baseline. After migrating, they run the same traffic pattern again and compare against the baseline to catch a regression: the search endpoint got 40 percent slower. Separately, they benchmark two candidate database configurations against each other using a fixed synthetic workload to pick the faster one, and later run a load test simulating Black Friday traffic to verify p99 latency stays under 500ms at 10x normal volume.

#baseline#benchmark#load-testing#performance

Sources

Grafana k6 documentationGrafana Labs · Performance test modelling, execution and metricsGoogle SRE booksGoogle · Reliability, SLOs, monitoring, incidents and resilience