Last active
December 11, 2015 06:58
-
-
Save statonjr/4562407 to your computer and use it in GitHub Desktop.
GStore/PStore benchmarks from Maglev Ruby, MRI 1.9.3, and JRuby
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
| Mac OS X 10.8.2 | |
| 2.6 GHz i7 Processor | |
| 16 GB RAM | |
| JRUBY_OPTS="-J-Xmx1024m --1.9" | |
| ########## | |
| maglev-ruby --version | |
| maglev 1.1RC1 (ruby 1.8.7) (2012-12-06 rev 1.1RC1-29699)[Darwin x86_64] | |
| Timing MagLev and GStore (should take about 30 seconds?) | |
| maglev-ruby main.rb | |
| user system total real | |
| write 0.890000 0.030000 0.920000 ( 2.150924) | |
| read 0.000000 0.000000 0.000000 ( 0.000695) | |
| r/w 0.090000 0.030000 0.120000 ( 2.091150) | |
| rm -f pstore.db | |
| ruby --version | |
| ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin12.2.1] | |
| Timing MRI and PStore (might take several minutes?) | |
| ruby main.rb | |
| user system total real | |
| write 21.990000 0.730000 22.720000 ( 22.811819) | |
| read 4.600000 0.080000 4.680000 ( 4.692233) | |
| r/w 124.420000 2.400000 126.820000 (127.673347) | |
| rm -f pstore.db | |
| ruby --version | |
| jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_07-b10 [darwin-x86_64] | |
| Timing MRI and PStore (might take several minutes?) | |
| ruby main.rb | |
| user system total real | |
| write 14.980000 0.650000 15.630000 ( 11.865000) | |
| read 2.630000 0.030000 2.660000 ( 2.033000) | |
| r/w 68.580000 1.420000 70.000000 ( 63.351000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment