Skip to content

Instantly share code, notes, and snippets.

@k0kubun
Last active January 21, 2022 15:17
Show Gist options
  • Save k0kubun/d7f54d96f8e501bbbc78b927640f4208 to your computer and use it in GitHub Desktop.
Save k0kubun/d7f54d96f8e501bbbc78b927640f4208 to your computer and use it in GitHub Desktop.
$ benchmark-driver benchmark.yml --rbenv '2.0.0::2.0.0-p648 --disable-gems;2.5.3::2.5.3 --disable-gems;2.6.0-preview3::trunk --disable-gems;2.6.0-preview3+JIT::trunk --disable-gems --jit' -v --repeat-count 24
2.0.0: ruby 2.0.0p648 (2015-12-16 revision 53162) [x86_64-linux]
2.5.3: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
2.6.0-preview3: ruby 2.6.0dev (2018-10-31 trunk 65474) [x86_64-linux]
2.6.0-preview3+JIT: ruby 2.6.0dev (2018-10-31 trunk 65474) +JIT [x86_64-linux]
Calculating -------------------------------------
2.0.0 2.5.3 2.6.0-preview3 2.6.0-preview3+JIT
Optcarrot Lan_Master.nes 34.548 48.314 54.535 85.690 fps
Comparison:
Optcarrot Lan_Master.nes
2.6.0-preview3+JIT: 85.7 fps
2.6.0-preview3: 54.5 fps - 1.57x slower
2.5.3: 48.3 fps - 1.77x slower
2.0.0: 34.5 fps - 2.48x slower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment