x64 Ubuntu : Intel® Q6600® quad-core |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used.
Each chart bar shows, for one unidentified benchmark, how much the fastest Ruby JRuby program used compared to the fastest Ruby MRI program.
This table shows 3 comparisons - Time-used, Memory-used and Code-used.
Each table row shows, for one named benchmark, how much the fastest Ruby JRuby program used compared to the fastest Ruby MRI program.
| Ruby JRuby used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | Reduced N |
| binary-trees | 1/5 | 3× | ± | |
| fannkuch | 1/4 | 85× | ± | |
| mandelbrot | 1/3 | 105× | ± | |
| n-body | 1/3 | 105× | ± | |
| spectral-norm | 1/3 | 54× | ± | |
| k-nucleotide | 1/2 | 3× | ± | |
| fasta | ± | 2× | ± | |
| chameneos-redux | ± | 36× | ± | |
| pidigits | ± | 16× | ± | |
| regex-dna | 2× | 2× | ± | |
| reverse-complement | 2× | 2× | ± | |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.
For each named benchmark, measurements of the fastest Ruby JRuby program are shown for comparison against measurements of the fastest Ruby MRI program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ~ CPU Load |
|---|---|---|---|---|---|
| binary-trees | |||||
| Ruby JRuby | 347.74 | 264.08 | 2,053,612 | 412 | 20% 74% 23% 15% |
| Ruby MRI | 1,253.73 | 1,253.65 | 781,228 | 412 | 0% 0% 100% 0% |
| fannkuch | |||||
| Ruby JRuby | 1,804.83 | 1,792.36 | 220,648 | 340 | 65% 1% 1% 33% |
| Ruby MRI | 6,738.69 | 6,738.27 | 2,584 | 340 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Ruby JRuby | 3,613.29 | 3,596.58 | 217,384 | 313 | 17% 30% 30% 23% |
| Ruby MRI | 12,196.28 | 12,195.56 | 2,064 | 313 | 26% 0% 39% 34% |
| n-body | |||||
| Ruby JRuby | 1,399.40 | 1,391.41 | 228,372 | 1137 | 1% 47% 52% 0% |
| Ruby MRI | 4,058.30 | 4,058.05 | 2,168 | 1137 | 0% 0% 100% 0% |
| spectral-norm | |||||
| Ruby JRuby | 793.01 | 788.60 | 230,184 | 292 | 1% 1% 1% 99% |
| Ruby MRI | 2,247.44 | 2,247.31 | 4,288 | 292 | 0% 1% 0% 100% |
| k-nucleotide | |||||
| Ruby JRuby | 515.11 | 499.20 | 534,384 | 420 | 2% 33% 66% 2% |
| Ruby MRI | 853.73 | 853.68 | 166,340 | 420 | 0% 0% 100% 0% |
| fasta | |||||
| Ruby JRuby | 458.88 | 455.88 | 311,544 | 744 | 26% 23% 18% 34% |
| Ruby MRI | 654.81 | 654.84 | 197,644 | 732 | 0% 1% 0% 100% |
| chameneos-redux | |||||
| Ruby JRuby | 319.83 | 147.34 | 95,944 | 928 | 45% 44% 56% 54% |
| Ruby MRI | 158.27 | 158.26 | 2,656 | 928 | 0% 0% 100% 0% |
| pidigits | |||||
| Ruby JRuby | 42.41 | 40.19 | 235,772 | 518 | 2% 1% 99% 4% |
| Ruby MRI | 27.60 | 27.60 | 14,324 | 518 | 0% 0% 100% 0% |
| regex-dna | |||||
| Ruby JRuby | 81.01 | 77.02 | 551,716 | 323 | 4% 8% 92% 3% |
| Ruby MRI | 50.21 | 50.21 | 350,236 | 323 | 0% 100% 0% 0% |
| reverse-complement | |||||
| Ruby JRuby | 19.82 | 18.26 | 504,052 | 255 | 5% 42% 6% 55% |
| Ruby MRI | 8.50 | 8.50 | 246,712 | 255 | 0% 0% 100% 0% |
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_14) [amd64-java]
Home Page: 100% Pure-Java Implementation of the Ruby Programming Language
Download: http://jruby.org/download