From 0d9435f65053a0f9fef31f24bae72d99b28de35e Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Sun, 1 Nov 2026 11:49:25 +0200 Subject: [PATCH] docs(badapple): benchmark the r5.01 compiler output --- bad-apple/REPORT.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bad-apple/REPORT.md b/bad-apple/REPORT.md index 026453d..b372acf 100644 --- a/bad-apple/REPORT.md +++ b/bad-apple/REPORT.md @@ -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: