Ubuntu : Intel® Q6600® one 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 |
| fannkuch | 1/4 | 42× | ± | |
| mandelbrot | 1/3 | 55× | ± | |
| binary-trees | 1/3 | 3× | ± | |
| n-body | 1/3 | 56× | ± | |
| spectral-norm | 1/3 | 31× | ± | |
| chameneos-redux | 1/3 | 29× | ± | |
| k-nucleotide | 1/2 | 3× | ± | |
| fasta | ± | ± | ± | |
| pidigits | ± | 7× | ± | |
| regex-dna | ± | 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 |
|---|---|---|---|---|---|
| fannkuch | |||||
| Ruby JRuby | 1,889.54 | 1,889.46 | 78,636 | 340 | 0% 0% 0% 100% |
| Ruby MRI | 6,749.92 | 6,749.50 | 1,884 | 340 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Ruby JRuby | 3,397.58 | 3,397.39 | 85,752 | 313 | 0% 0% 0% 100% |
| Ruby MRI | 11,516.89 | 11,516.18 | 1,564 | 313 | 0% 0% 0% 100% |
| binary-trees | |||||
| Ruby JRuby | 347.77 | 348.09 | 1,184,816 | 412 | 0% 0% 0% 100% |
| Ruby MRI | 1,069.74 | 1,069.68 | 457,796 | 412 | 0% 0% 0% 100% |
| n-body | |||||
| Ruby JRuby | 1,415.48 | 1,415.40 | 91,776 | 1137 | 0% 0% 0% 100% |
| Ruby MRI | 3,997.42 | 3,997.17 | 1,648 | 1137 | 0% 0% 0% 100% |
| spectral-norm | |||||
| Ruby JRuby | 856.87 | 856.85 | 82,880 | 292 | 4% 5% 6% 100% |
| Ruby MRI | 2,222.02 | 2,221.89 | 2,676 | 292 | 0% 0% 0% 100% |
| chameneos-redux | |||||
| Ruby JRuby | 50.58 | 50.58 | 57,276 | 928 | 0% 0% 0% 100% |
| Ruby MRI | 130.64 | 130.63 | 1,944 | 928 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Ruby JRuby | 520.23 | 520.22 | 423,656 | 420 | 0% 0% 0% 100% |
| Ruby MRI | 850.30 | 850.25 | 147,984 | 420 | 0% 0% 0% 100% |
| fasta | |||||
| Ruby JRuby | 523.75 | 524.47 | 242,212 | 744 | 0% 0% 0% 100% |
| Ruby MRI | 623.67 | 623.67 | 245,848 | 732 | 0% 0% 0% 100% |
| pidigits | |||||
| Ruby JRuby | 69.04 | 69.05 | 91,068 | 518 | 0% 0% 0% 100% |
| Ruby MRI | 53.84 | 53.84 | 13,924 | 518 | 0% 0% 0% 100% |
| regex-dna | |||||
| Ruby JRuby | 86.86 | 86.92 | 538,728 | 323 | 0% 0% 0% 100% |
| Ruby MRI | 58.64 | 58.64 | 254,336 | 323 | 2% 3% 0% 100% |
| reverse-complement | |||||
| Ruby JRuby | 19.14 | 19.16 | 430,192 | 255 | 0% 0% 0% 100% |
| Ruby MRI | 9.95 | 9.96 | 197,352 | 255 | 0% 0% 0% 100% |
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) Server VM 1.6.0_16) [i386-java]
Home Page: 100% Pure-Java Implementation of the Ruby Programming Language
Download: http://jruby.org/download