Instruction Count vs Wall Time: What the New MP3 Speed Claims Show
A speed claim can count instructions or read a clock. Two remade_ffmpeg_rs MP3 pull requests do both, and the gap between their numbers is the lesson.

Does a 42% cut in instructions mean software runs 42% faster?
No. The rusty_mp3 encoder pull request cut instructions by 40.6% to 43.5%, and a separate timed run on a different input measured the encoder 1.43 times faster than before. The inputs differ, so neither number converts to the other. Instruction counts show work removed. Only a clock shows time saved.
Every speed claim is a number with a method behind it, and the method decides what the number can tell you. Two remade_ffmpeg_rs pull requests from 4 December 2026 make a handy pair to read side by side. Both speed up the rusty_mp3 codec, and they measure it two different ways, which is the instruction count vs wall time split in a nutshell.
The original write-up of the work is on remadewithrust.com. This page takes a different question: how do you read a claim like this when you don't build codecs for a living?
Instruction Count vs Wall Time: Two Ways To Measure Speed
An instruction count tallies how many machine instructions a program executes for a fixed job. Wall time is what a stopwatch reads. They move together often, and they are not the same thing. A program can execute fewer instructions and still wait on memory. It can also execute more and finish sooner, if those instructions are cheap.
The counting tool in these pull requests is callgrind, part of Valgrind. Its strength is repeatability: run the same binary twice and the count is the same. That is rare in performance work, where timings wobble with the machine's mood. Its weakness, which the pull requests state themselves, is that it counts instructions and does not price cache or branch behaviour.
That is why the better claims carry both. A count tells you work was removed. A clock tells you whether the removal reached the stopwatch. If you only get one, know which, and say so out loud. It is a small habit, and it is part of what Trust means for a technology you can't inspect yourself: you can ask how the number was made.
What The Two MP3 Pull Requests Counted
The encoder pull request (283) merged on the morning of 4 December. The decoder one (286) merged at 10:11 AM MST the same day and shipped in rusty_mp3 1.2.4 within the hour. The image below is drawn only from numbers printed in those two pull requests.

The Encoder Count
Three test streams, a vocal, a guitar and a speech clip, dropped from 633.0, 710.8 and 469.1 million instructions to 365.4, 401.7 and 278.8 million. That is 42.3%, 43.5% and 40.6% fewer. The pull request ties the saving to a handful of changes: a smarter search over Huffman tables, an FFT without bounds checks, a quicker bit writer and a cheaper region scan.
The Decoder Count
Two LAME-made streams went from 47.5 to 40.5 million instructions (14.8% fewer) and from 98.4 to 79.4 million (19.4% fewer). Most of that came from clearing less memory, plus a second lookup table for rare long codewords. The percentages are smaller than the encoder's, and the pull request lists the two pieces of work it left undone.
Why The Output Check Matters
A speed-up that quietly changes the audio is a different product. Both pull requests report 28 output hashes identical, covering 19 encodes and 9 decodes, and the encoder one checks them after every step. That is the property that makes the counts worth reading: the same job, done with less work. It says nothing about how the encoder compares with LAME for sound quality, and the crate's own README concedes LAME still scores higher on a perceptual metric.
What A Clock Added, And What To Ask Of Any Claim
The decoder pull request also contains a README commit with timed runs. They are the clock half of the story, and the gap between the two halves is the whole instruction count vs wall time lesson. They come with conditions attached.
The Timed Runs
The conditions: Linux under WSL2, one pinned core of an Intel Core i7-14650HX, FFmpeg 8.0.1, 20 rotating rounds, medians. A 10-minute encode took 3.95 s against 5.66 s for rusty_mp3 1.2.2, the release before the encoder change, which the README calls 1.43 times faster. A 60-minute decode took 3.17 s against 7.21 s for FFmpeg's own decoder. The encoder's 1.43 times sits next to a 42% instruction cut. The two aren't the same measurement, since the inputs differ, so don't try to convert one into the other.
What Stays Unmeasured
No other CPU is measured. The callgrind runs don't name their machine. Both changes are released now, the encoder in rusty_mp3 1.2.3 and the decoder in 1.2.4, but every number here is still the project's own. None of that makes the numbers wrong. It sets the edge of what they can support.
A Short Checklist For Your Own Reading
Next time a project announces "X% faster", ask five things. Instructions or seconds? A count can mislead where a clock would not, and the reverse. Which hardware? Timings from one laptop core say little about a phone. How many runs, and which statistic? One lucky run is an anecdote, while 20 rounds and a median is a method. Against what baseline? "Faster" needs a "than what". Did the output stay identical? A speed-up that changes the result is a different product. The Remade with Rust pages answer most of those in the open, as do earlier reads such as the honest-speed notes on the HEVC decoder and the Minerva CPU benchmark. For the wider pipeline these crates sit in, see remade_ffmpeg_rs on MATA, the Freedom Guide, or the Learn index.
FAQ
Short answers already in this article.
What is callgrind, and why would a project count with it?
Callgrind is a Valgrind tool that counts the instructions a program executes. The rusty_mp3 pull requests use it because a re-run of the same binary gives the same count, so a small change shows up cleanly. It does not model cache misses or branch mispredictions.
What does byte-identical output prove about a speed-up?
It proves the faster code produced the same bytes as the old code on the test inputs: 28 hashes matched in the encoder pull request, 19 encodes and 9 decodes. So the speed-up did not buy itself by changing the result. It does not prove the output is good compared with another encoder.
Why does the decoder pull request carry extra caveats?
Its own text says Valgrind counts a zero-fill instruction per byte, so the first three decoder steps overstate the time saved. It also lists two pieces of decoder work it did not do. It merged on 4 December and shipped in rusty_mp3 1.2.4 the same day.
What should I check before trusting any software speed claim?
Ask what was measured (instructions or time), on what hardware, over how many runs, against which baseline, and whether the output stayed the same. A claim that names all five is easier to check. The rusty_mp3 README names a CPU, 20 rounds and medians. The callgrind runs do not name hardware.
Did any MATA app get faster because of this?
This page makes no such claim. rusty_mp3 is a Remade with Rust crate in the remade_ffmpeg_rs workspace, and the pull requests are about that crate. Nothing in them says a MATA app now ships the new code.

