Created
February 7, 2018 01:32
-
-
Save jhawthorn/c11203191914359b44380ae4abf24e55 to your computer and use it in GitHub Desktop.
This file contains 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 | |
truffleruby 0.30.2, like ruby 2.3.5 <Java HotSpot(TM) 64-Bit Server VM 1.8.0_151-b12 with Graal> [linux-x86_64] | |
$ time =ruby -e '' | |
=ruby -e '' 16.52s user 0.37s system 350% cpu 4.821 total | |
$ time =ruby --native -e '' | |
=ruby --native -e '' 0.12s user 0.03s system 98% cpu 0.159 total | |
$ time =ruby 15a.rb | |
600 | |
=ruby 15a.rb 34.36s user 0.92s system 275% cpu 12.812 total | |
$ time =ruby --native 15a.rb | |
600 | |
=ruby --native 15a.rb 20.87s user 0.46s system 100% cpu 21.306 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment