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/4 | 3× | ± | |
| fannkuch | 1/4 | 49× | ± | |
| mandelbrot | 1/3 | 58× | ± | 4,000 |
| n-body | 1/3 | 58× | ± | |
| spectral-norm | 1/3 | 36× | ± | |
| k-nucleotide | 1/2 | 3× | ± | |
| fasta | ± | ± | ± | |
| chameneos-redux | ± | 29× | ± | |
| 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 |
|---|---|---|---|---|---|
| binary-trees | |||||
| Ruby JRuby | 380.75 | 273.45 | 1,406,184 | 412 | 26% 32% 17% 64% |
| Ruby MRI | 1,070.44 | 1,070.38 | 457,788 | 412 | 1% 100% 1% 1% |
| fannkuch | |||||
| Ruby JRuby | 1,890.96 | 1,881.31 | 92,472 | 340 | 12% 6% 34% 48% |
| Ruby MRI | 6,779.96 | 6,779.55 | 1,888 | 340 | 0% 100% 0% 0% |
| mandelbrot N = 4,000 reduced workload | |||||
| Ruby JRuby | 218.15 | 217.18 | 90,084 | 313 | 0% 1% 99% 1% |
| Ruby MRI | 737.09 | 737.05 | 1,564 | 313 | 75% 24% 0% 0% |
| n-body | |||||
| Ruby JRuby | 1,414.44 | 1,407.52 | 96,632 | 1137 | 1% 1% 99% 1% |
| Ruby MRI | 3,982.80 | 3,982.55 | 1,652 | 1137 | 0% 100% 0% 0% |
| spectral-norm | |||||
| Ruby JRuby | 898.94 | 896.95 | 95,456 | 292 | 0% 18% 82% 0% |
| Ruby MRI | 2,251.47 | 2,251.33 | 2,676 | 292 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Ruby JRuby | 523.73 | 509.53 | 423,736 | 420 | 38% 61% 2% 2% |
| Ruby MRI | 843.59 | 843.54 | 147,980 | 420 | 0% 0% 0% 100% |
| fasta | |||||
| Ruby JRuby | 526.26 | 523.53 | 200,928 | 744 | 0% 8% 92% 0% |
| Ruby MRI | 630.13 | 630.12 | 245,868 | 732 | 0% 41% 1% 58% |
| chameneos-redux | |||||
| Ruby JRuby | 325.18 | 149.26 | 57,096 | 928 | 44% 43% 56% 56% |
| Ruby MRI | 131.29 | 131.28 | 1,956 | 928 | 100% 0% 0% 0% |
| pidigits | |||||
| Ruby JRuby | 69.70 | 67.36 | 101,248 | 518 | 2% 1% 99% 2% |
| Ruby MRI | 53.81 | 53.81 | 13,924 | 518 | 0% 0% 0% 100% |
| regex-dna | |||||
| Ruby JRuby | 87.41 | 84.49 | 536,144 | 323 | 4% 1% 1% 96% |
| Ruby MRI | 58.39 | 58.39 | 254,336 | 323 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Ruby JRuby | 20.18 | 18.27 | 467,396 | 255 | 7% 6% 91% 7% |
| Ruby MRI | 10.09 | 10.09 | 197,348 | 255 | 0% 98% 0% 0% |
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