Part 1 in Measuring things honestly. This is a series for readers who are new to measuring software.
What this is about
A benchmark is a test that you can run again and again, the same way each time. You run it, you get a number, and you can compare that number with another number from the same test.
That is all it is. It is a ruler for one job. It is not a verdict on a whole program, a whole computer, or a whole idea.
In this article we explain what a benchmark can tell you, what it cannot, and the plain rules we follow when we publish one.
Why it matters
You will see speed numbers everywhere. A new phone is "40 percent faster". A new program is "twice as quick". These claims are easy to make and hard to check.
A number with no context is close to useless. "Fast" depends on what you ran, on which machine, and compared with what. If you do not know those three things, you cannot tell whether the claim is true, or whether it will be true for you.
When we first started publishing results, we found we made the same mistakes as everyone else. So we wrote rules for ourselves. This article is the short version of those rules.
How it works
Think of a kitchen scale. You put the same bag of flour on it twice and you expect the same weight. That repeatable step is what makes the scale useful. A benchmark works the same way. It has four parts.
Step 1: Fix the test
Choose one job and keep it the same. In our engine for running language models, the job is "generate text for a set of 20 prompts". The prompts do not change between runs. If the test changes, the numbers cannot be compared.
Step 2: Name the machine
Every number comes from one machine. All our GPU results come from a single AMD Radeon RX 7900 XTX. We say so out loud, and we say what that does not prove: it does not prove the same result on a different card.
Step 3: Run it more than once, and report the middle
One run can be lucky or unlucky. So we run many prompts and report the median, which is the middle value when you sort the results. We also report the range, which is the lowest and highest. Later in this series we explain both in detail.
Step 4: Put something beside it
A number needs a neighbour. In one of our posts, our engine produced 68.8 tokens per second. On its own that tells you little. Beside it, llama.cpp (a well-known program that does the same job) produced 74.1 on the same file. Now the number means something: we were at 0.93 times their speed, which is behind. We wrote that down plainly. A later round of work put us ahead, and the post states both results.
What a benchmark cannot tell you
A benchmark answers the question it asked. It does not answer other questions.
- It does not tell you about other machines. Our desktop reads memory at about 49 GB per second on one thread. A laptop in the same test read at about 16.5. Same test, very different machines.
- It does not tell you about other tests. Being fast at 20 chat prompts says little about being fast at a very long document.
- It does not tell you about today versus next month. Software changes. A result from an older version says so on its row, with the date.
- It does not tell you that the thing being measured is the thing you meant to measure. That one catches experts too, and we return to it in other articles in this series.
Our own rules, in plain words
These come from the notes we keep for the blog:
- Every number points to a saved output or a commit. If we cannot point, the number does not go in.
- A benchmark figure is a median over the whole prompt set, with its range, against a competitor measured in the same session.
- A figure from a single prompt is labelled as a single-prompt reading, not as a result.
- Failed rounds stay in. A number we retract keeps its retraction visible.
Glossary
- Benchmark: a repeatable test that produces a number.
- Median: the middle value of a sorted list of results.
- Range: the lowest and highest result, side by side.
- Baseline: the thing you compare against, such as the old version.
- Token: a small piece of text a language model reads or writes, often a short word or part of one.
- tok/s: tokens per second, a speed measure for text generation.
Try it
You do not need our tools to practise. Take any task you do on your computer, like copying a big folder. Time it with a clock three times. Write down all three times, not only the best one. You have just made a tiny benchmark, and you will already see that the three numbers differ.
If you want to see how we publish real ones, open the page for mojo-baro, our engine for running language models on one AMD graphics card. Each row has the model, the weights, the date, and a competitor measured the same way. The page for corewait shows a table of memory speeds across five devices, each from the same probe.
What to remember
A benchmark is a ruler for one job. Say which job, which machine and which comparison, and it earns its place. Leave one out, and it is only a number.

Comments
No comments yet.
Log in to comment.