docs(badapple): benchmark the r5.01 compiler output

This commit is contained in:
arti committed 2026-11-01 11:49:25 +02:00
1 parent 2e3875da3b
commit 0d9435f650
1 file changed
+12
+12
View File
@@ -115,6 +115,18 @@ and `gspcg` exit 139 at teardown but still write valid output files.
`gspa` 5.01 accepted `entry.asm`/`fill.asm` (including `sp`); the `b15`
round-trip difference does not affect this demo.
Speed A/B in MAME, 600 records with `BA_PACE=0` (takeover at ~frame 2505):
| build | status frame | processing frames |
|---|---|---|
| 1987, no optimizer | 3,922 | ~1,417 |
| r5.01, no optimizer | 3,856 | ~1,351 |
| r5.01, `MOVIE.C` at `-O2` | **3,605** | **~1,100** |
So the r5.01 compiler alone is ~5 % faster here, and the practical r5.01
recipe is **~29 % faster** than the 1987 build. MAME's TMS34010 interpreter
is not silicon; this is a relative measurement, not a unit-cycle claim.
## Regression
The no-env MAME baseline at 200 frames is unchanged: