x64 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 |
| binary-trees | 1/4 | 3× | ± | |
| fannkuch | 1/4 | 38× | ± | |
| mandelbrot | 1/3 | 60× | ± | |
| chameneos-redux | 1/3 | 36× | ± | |
| n-body | 1/3 | 62× | ± | |
| spectral-norm | 1/3 | 40× | ± | |
| k-nucleotide | 1/2 | 3× | ± | |
| fasta | ± | 2× | ± | |
| regex-dna | ± | 2× | ± | |
| pidigits | 2× | 10× | ± | |
| 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 | 299.45 | 299.70 | 1,981,416 | 412 | 0% 0% 0% 100% |
| Ruby MRI | 1,259.73 | 1,259.66 | 781,212 | 412 | 0% 0% 0% 100% |
| fannkuch | |||||
| Ruby JRuby | 1,819.14 | 1,819.08 | 97,672 | 340 | 0% 0% 0% 100% |
| Ruby MRI | 6,768.90 | 6,768.52 | 2,588 | 340 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Ruby JRuby | 3,635.07 | 3,634.92 | 123,396 | 313 | 0% 0% 0% 100% |
| Ruby MRI | 12,230.60 | 12,229.87 | 2,056 | 313 | 0% 0% 0% 100% |
| chameneos-redux | |||||
| Ruby JRuby | 52.86 | 52.89 | 95,612 | 928 | 0% 1% 1% 100% |
| Ruby MRI | 159.12 | 159.12 | 2,656 | 928 | 1% 0% 0% 100% |
| n-body | |||||
| Ruby JRuby | 1,407.37 | 1,407.32 | 134,624 | 1137 | 0% 0% 0% 100% |
| Ruby MRI | 4,063.79 | 4,063.54 | 2,168 | 1137 | 0% 0% 0% 100% |
| spectral-norm | |||||
| Ruby JRuby | 843.74 | 843.73 | 171,844 | 292 | 0% 0% 0% 100% |
| Ruby MRI | 2,286.91 | 2,286.77 | 4,296 | 292 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Ruby JRuby | 495.06 | 495.92 | 515,084 | 420 | 0% 0% 0% 100% |
| Ruby MRI | 857.89 | 857.84 | 166,344 | 420 | 0% 0% 0% 100% |
| fasta | |||||
| Ruby JRuby | 451.60 | 451.83 | 298,448 | 744 | 1% 0% 0% 100% |
| Ruby MRI | 658.83 | 658.82 | 197,640 | 732 | 0% 0% 1% 100% |
| regex-dna | |||||
| Ruby JRuby | 74.33 | 74.38 | 532,756 | 323 | 0% 0% 0% 100% |
| Ruby MRI | 52.97 | 52.97 | 350,232 | 323 | 0% 0% 0% 100% |
| pidigits | |||||
| Ruby JRuby | 41.92 | 41.93 | 147,644 | 518 | 0% 0% 0% 100% |
| Ruby MRI | 27.61 | 27.61 | 14,216 | 518 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Ruby JRuby | 18.69 | 18.71 | 504,424 | 255 | 0% 0% 0% 100% |
| Ruby MRI | 8.51 | 8.50 | 246,708 | 255 | 0% 0% 0% 100% |
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