Repository navigation
Conversation
rubyboy-bench now prints a checksum of the final frame. It uses integer arithmetic only, so CRuby, YJIT and Spinel print the same value, and a different one shows that a runtime emulated incorrectly. The benchmark no longer requires the whole gem, so it loads neither SDL nor FFI and runs on machines without SDL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured at 44f834f with the frame checksum, which matched on all three runtimes. Spinel is faster than before because rubyboy-bench no longer loads SDL; CRuby and YJIT are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rubyboy-benchprints a checksum of the final frame (Checksum: N). It uses integer arithmetic only, so CRuby, YJIT and Spinel print the same value, and a different one shows that a runtime emulated incorrectly.rubyboy-benchno longer requires the whole gem, so it loads neither SDL nor FFI and runs on machines without SDL.44f834f(CRuby 113, YJIT 294, Spinel 799 FPS on an Apple M4; all three printedChecksum: 3889316277). Spinel is faster than before because the benchmark no longer loads SDL.Testing
bundle exec rake(117 examples, no RuboCop offenses)rubyboy-benchlinks only libSystemrubyboy-benchoutside the repositorywasm/test/*pass🤖 Generated with Claude Code