Baseline testing and benchmark testing
A baseline compares your software with its own past. A benchmark compares it with an outside standard or a rival. Learn what each tells you and how to keep the comparison fair.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: marks on a door frame. A parent marks a child's height on a door frame each birthday. The marks show growth against the child's own past. A school growth chart shows how the child compares with other children. The first is a baseline. The second is a benchmark.
Daily List is a to-do list app. Tom times how long the task list takes to open. He wants to know two things: is it slower than last month, and is it as quick as a rival app?
A is a measured result under set conditions, kept to compare later runs with. A is a measurement compared with an outside standard, a rival or a target. A like-for-like run is a repeat measurement made in the same set-up so the comparison is fair.
Tom runs the same timing on the same phone with the same list size. That is his baseline. Next month he repeats it like for like and sees whether the app slowed down.
The picture has a limit. A child grows in one direction, but software can get faster or slower for many reasons, so Tom must also record the set-up.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Telling a comparison with your own past from a comparison with the outside world, and keeping both fair.
- Door frame marks
- Growth chart
- Same spot, same shoes
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Height marks on a door frame | Performance baseline |
| A school growth chart | Benchmark test |
| Measuring at the same spot, shoes off | Like-for-like run |
| The date beside each mark | The set-up notes |
WHERE THIS PICTURE STOPS
- A child grows in one direction, but software can get faster or slower.
- A door frame needs no notes about the set-up, but a test result does.
- A growth chart is built from many children, while a rival app is one example.
HOOK
Own past, outside world.
REMEMBER IT THIS WAY
A contrast: two neighbours told apart by one test.
Baseline asks: is it slower than last month? Benchmark asks: is it as quick as a rival app?
| In the trick | What it stands for |
|---|---|
| Baseline | a measured result under set conditions, kept to compare later runs with |
| Benchmark | compared with an outside standard, a rival or a target |
TELL A FRIEND
Marks on a door frame show growth against the child's own past, and a growth chart shows it against other children.
OFTEN MIXED UP WITH Performance testing ideas: load, stress, spike, soak. The performance ideas lesson names the kinds of . This lesson is about comparing the results, with your own past or with the outside world.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Market practice
Benchmark testing vs baseline testing: differences and similarities (HDWEBSOFT blog) ↗ — HDWEBSOFT · Blog: baseline testing records current performance as a reference to compare later runs with, and benchmark testing compares performance with predefined standards or competitors (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Performance testing services: baseline and benchmark testing (Kualitatem) ↗ — Kualitatem · Vendor service page: baseline testing sets a reference point in a stable environment before changes, and benchmark testing measures against outside standards (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Percentiles vs averages (ClickHouse engineering resources) ↗ — ClickHouse · Registry entry: a few slow requests can lift the mean while the median barely moves, so percentiles describe the slow tail better. Used for the advice to keep more than one number in a baseline. Not reopened in this run.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Test types (Grafana k6 documentation) ↗ — Grafana Labs · Registry entry for the k6 documentation on test types. Used only for the idea that a performance test should be run again under the same settings to compare. Not reopened in this run.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.