Created
February 4, 2018 21:58
-
-
Save jhawthorn/898305d08ea3b2cdc5bc089bc13f7550 to your computer and use it in GitHub Desktop.
Testing out ruby's new MJIT
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
$ ruby -v | |
ruby 2.6.0dev (2018-02-05 trunk 62211) [x86_64-linux] | |
$ time =ruby --disable-gems 15b.rb | |
313 | |
=ruby --disable-gems 15b.rb 8.99s user 0.00s system 99% cpu 9.011 total | |
$ time =ruby --disable-gems --jit 15b.rb | |
313 | |
=ruby --disable-gems --jit 15b.rb 7.37s user 0.04s system 105% cpu 6.991 total | |
# See https://github.com/jhawthorn/adventofcode2017/blob/master/15b.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment