Product Diaryby Remnant Security

Butcher Bay Withdraws Its Ray Tracing Cost Claim

Product Diary1 min readGames

I pulled my claim that ray-traced shadows cost half a millisecond a frame, because the benchmark behind it added numbers that shouldn't be mixed.

0.52 msRetracted delta
4.37 ms vs 4.89 msInvalid pass sums
6New renderer headers
5Test programs

I pulled a performance figure out of the README for my Mac conversion of Escape from Butcher Bay today. Earlier notes claimed that optional ray-traced shadows only cost half a millisecond per frame, and that number simply doesn't hold up under scrutiny. I've stripped it out along with the surrounding frame-budget totals because I don't actually know what the shadows cost yet.

Flow diagram tracing how summing average GPU batch durations produced 4.37 ms vs 4.89 ms frame sums and led to retracting the 0.52 ms shadow claim Why the batch-sum arithmetic didn't represent frame time, documented when retracting the 0.52 ms claim on 29 November 2026.

The bug lived in how the benchmark summed GPU passes. It added up the average duration of each graphics batch sent to the GPU and treated that total as one complete frame, even though batches don't necessarily run once per frame. That meant the 4.37 ms and 4.89 ms totals behind the 0.52 ms difference weren't real frame times, so both numbers are gone from the README and draft post (the raw logs remain in the repo marked historical). I also pulled an estimated cost for the legacy graphics path that had divided an interval by an assumed frame count.

While cleaning house, I toned down two overconfident README claims as well: the frame cache isn't guaranteed to hit 100 percent in steady state, and lamps are candidate lights until I verify their shadows directly. Yesterday's 28 November entry didn't make any shadow-cost claim and stands as written.

Alongside the retraction, the renderer picked up six new headers and five small test programs covering depth copying, frame seeding, and visibility — including a check that tracks which draw last wrote depth instead of assuming pointer equality proves a scene match. The level-sweep script also grew by roughly 800 lines, though none of that new code is committed, built, or run for this entry.

Keep reading