Created
December 17, 2012 12:34
-
-
Save timurb/4317972 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
$ rvm current | |
ree-1.8.7-2011.03 | |
~ | |
$ ruby --version | |
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2011.03 | |
~ | |
$ ruby -rrbconfig -e 'puts RbConfig::CONFIG["CFLAGS"]' | |
-g -O2 -O3 | |
~ | |
$ time ruby -e "count = 0; while(count < 100000000); count = count + 1; end; puts count" | |
100000000 | |
ruby -e 21.56s user 0.01s system 99% cpu 21.638 total |
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
$ rvm current | |
ree-1.8.7-2011.03 | |
~ | |
$ ruby --version | |
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2011.03 | |
~ | |
$ ruby -rrbconfig -e 'puts RbConfig::CONFIG["CFLAGS"]' | |
-g -O2 | |
~ | |
$ time ruby -e "count = 0; while(count < 100000000); count = count + 1; end; puts count" | |
100000000 | |
ruby -e 24.54s user 0.01s system 99% cpu 24.570 total | |
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
$ rvm current | |
ree-1.8.7-2012.02 | |
~ | |
$ ruby --version | |
ruby 1.8.7 (2012-02-08 MBARI 8/0x6770 on patchlevel 358) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2012.02 | |
~ | |
$ ruby -rrbconfig -e 'puts RbConfig::CONFIG["CFLAGS"]' | |
-g -O2 -O3 | |
~ | |
$ time ruby -e "count = 0; while(count < 100000000); count = count + 1; end; puts count" | |
100000000 | |
ruby -e 22.43s user 0.01s system 99% cpu 22.492 total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment