Part 5 in Measuring things honestly. Part 1 explained what a benchmark is.
What this is about
Say a program runs at 68.8. Is that good? You cannot tell. Fast compared with what? In what unit? On what machine?
A baseline is the thing you compare against. It is the old version, or a well-known competitor, or the same code before your change. A number beside its baseline tells a story. A number alone is only decoration.
Why it matters
People quote numbers without a baseline all the time, and it works because most readers assume the baseline is something flattering. We do not want to do that to you. So every result we publish sits next to what we measured it against.
There is a second point that is easy to miss. The baseline must be measured fresh. If you compare today's number with a baseline from last month, you are also comparing two different days on two possibly different setups.
How it works
A story told in three baselines
Our project mojo-baro is an engine for running language models on one AMD Radeon RX 7900 XTX. Its speed is counted in tokens per second, where a token is a small piece of text. Here is how one set of results unfolded, each with its baseline.
Round 1. Our engine produced 68.8 tokens per second. The well-known program llama.cpp, on the same model file with the same settings, produced 74.1. So we were at 0.93 times their speed. Behind.
Round 2. We changed how the GPU work is launched, fusing about thirty small launches per token into one. In a same-session comparison, the old way gave 67.13 and the new way gave 81.98. Against the 74.1 baseline that is 1.11 times. The first time we had passed it with no speed-up tricks on either side. Twenty of twenty prompts produced the same text before and after.
Round 3. We also moved to smaller 4-bit weights. Our engine reached 115.02 and the matching llama.cpp 4-bit baseline, measured the same way on the same twenty prompts, was 110.0.
Notice what each round did. It named a number, named the baseline, and gave the ratio. If we had said only "115", you would not know whether to clap.
Why the baseline moves
A baseline is not a fixed number. On the project page the same test on the same model with 8-bit weights shows llama.cpp at 75.46 on one day, and our earlier post had it at 74.1. They differ slightly because they were measured on different days. That is exactly why we re-measure the baseline every time, in the same session as the new number, instead of reusing an old figure.
The newest line on the page reads: 4-bit weights on both sides, 20-prompt median, llama.cpp 111.34 and mojo-baro 148.89, which is 1.34 times, measured on 2026-10-12.
A baseline that shows how far you still are
Baselines also keep us honest about goals. In our video work, the goal was a real-time factor of 1 or below, which means one second of compute for each second of video. The starting point was 27: 72 seconds of compute for 2.7 seconds of video. After a cache change the same kind of shot ran at about 8 to 10 times real time. That is a big gain from 27, and it is still far from 1. Without the baseline and the goal side by side, "we made it three times faster" would hide the fact that the goal was nowhere close.
A baseline that can end the claim
Every result on the mojo-baro page comes with a way to prove it wrong. The page says to run the same-session protocol in the repository, on the same model file. If the 20-prompt median ratio against llama.cpp comes out at 1.0 or lower, the claim fails. A baseline is what makes that test possible. With no baseline, nothing could ever fail.
The rules we use
- Measure the baseline in the same session as the new number.
- Use the same machine, the same model file, the same prompts and the same settings.
- Say what the baseline is, by name and version.
- Show the ratio, and show the two raw numbers it came from.
- If the baseline is behind us, fine. If it is ahead of us, say that too.
What does not count as a baseline
- A number from a different machine.
- A number from a different test, such as a short prompt compared with a long one.
- A number from a blog post or a vendor chart that you did not reproduce.
- Your own earlier number measured under different conditions.
Glossary
- Baseline: the reference you compare a result against.
- Ratio: one number divided by another. 1.11x means 11 percent more than the baseline.
- Token: a small piece of text that a language model reads or writes.
- tok/s: tokens per second.
- Quantization: storing the model's numbers in fewer bits, such as 4 or 8, to make them smaller and faster.
- Real-time factor: seconds of compute per second of video made.
Try it
Time any job on your computer, then change one thing and time it again. Write both numbers and the ratio. Wait a day and run the old version again. Is it the same? Now you know why we re-measure.
To see how a real project lists its baselines, open the mojo-baro page. Each row in its results table gives llama.cpp's number, our number, the ratio and the date.
What to remember
A number needs a neighbour. Put the baseline beside it, measure both together, and write down what the baseline is.

Komentarze
Brak komentarzy.
Zaloguj się aby skomentować.