You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a benchmark for rubyboy's headless emulator (#359)
The repo is a gem so we can just use it from our Gemfile.
The rom is included.
The current loop produces results similar to our optcarrot benchmark.
cruby: ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin23]
yjit: ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +YJIT +PRISM [arm64-darwin23]
--------- ---------- ---------- --------- ---------- ------------ ----------
bench cruby (ms) stddev (%) yjit (ms) stddev (%) yjit 1st itr cruby/yjit
optcarrot 3100.0 0.6 800.8 1.7 3.599 3.871
rubyboy 2764.1 0.5 991.9 1.0 2.606 2.787
--------- ---------- ---------- --------- ---------- ------------ ----------
Legend:
- yjit 1st itr: ratio of cruby/yjit time for the first benchmarking iteration.
- cruby/yjit: ratio of cruby/yjit time. Higher is better for yjit. Above 1 represents a speedup.
0 commit comments