/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® quad-core |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each chart bar shows, for one unidentified benchmark, how much the fastest Ruby JRuby program used compared to the fastest Ruby 1.9 program.
Look at speed another way - look at a box plot of Time-used data.
This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each table row shows, for one named benchmark, how much the fastest Ruby JRuby program used compared to the fastest Ruby 1.9 program.
| Ruby JRuby used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| fannkuch-redux | 1/3 | 17× | ± | |
| mandelbrot | 1/2 | 2× | ± | |
| n-body | ± | 13× | ± | |
| regex-dna | ± | 2× | ± | |
| k-nucleotide | ± | 4× | ± | |
| binary-trees | ± | 4× | ± | |
| pidigits | ± | 4× | ± | |
| fasta | 2× | 1/2 | ± | |
| spectral-norm | 2× | 3× | ± | |
| reverse-complement | 2× | 4× | ± | |
| Ruby JRuby used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | 1/3 | 1/3 | ± | ± | 2× | 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 ~ speed and size.
For each named benchmark, measurements of the fastest Ruby JRuby program are shown for comparison against measurements of the fastest Ruby 1.9 program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| fannkuch-redux | |||||
| Ruby JRuby | 1,704.46 | 1,682.65 | 56,868 | 422 | 22% 27% 26% 27% |
| Ruby 1.9 | 4,368.02 | 4,369.20 | 3,400 | 422 | 0% 0% 100% 0% |
| mandelbrot | |||||
| Ruby JRuby | 3,051.76 | 865.91 | 136,584 | 925 | 89% 88% 88% 89% |
| Ruby 1.9 | 5,296.44 | 1,330.64 | 57,684 | 925 | 100% 100% 100% 100% |
| n-body | |||||
| Ruby JRuby | 1,147.25 | 1,040.23 | 46,380 | 1137 | 30% 26% 25% 28% |
| Ruby 1.9 | 1,408.80 | 1,409.18 | 3,668 | 1137 | 88% 0% 0% 12% |
| regex-dna | |||||
| Ruby JRuby | 44.09 | 15.77 | 556,048 | 501 | 70% 86% 65% 59% |
| Ruby 1.9 | 38.14 | 17.99 | 294,228 | 501 | 91% 36% 40% 46% |
| k-nucleotide | |||||
| Ruby JRuby | 532.53 | 164.67 | 499,800 | 637 | 92% 84% 79% 70% |
| Ruby 1.9 | 586.70 | 172.64 | 126,136 | 637 | 95% 96% 75% 76% |
| binary-trees | |||||
| Ruby JRuby | 462.66 | 222.48 | 860,400 | 413 | 37% 90% 45% 37% |
| Ruby 1.9 | 226.77 | 226.88 | 210,372 | 413 | 0% 0% 0% 100% |
| pidigits | |||||
| Ruby JRuby | 26.85 | 24.97 | 46,172 | 242 | 3% 60% 41% 4% |
| Ruby 1.9 | 16.93 | 16.95 | 11,420 | 242 | 0% 0% 0% 100% |
| fasta | |||||
| Ruby JRuby | 252.04 | 251.71 | 102,036 | 987 | 24% 19% 25% 34% |
| Ruby 1.9 | 136.61 | 137.45 | 182,728 | 762 | 58% 1% 5% 37% |
| spectral-norm | |||||
| Ruby JRuby | 1,095.05 | 352.14 | 63,180 | 776 | 78% 78% 78% 78% |
| Ruby 1.9 | 660.30 | 176.82 | 18,820 | 828 | 94% 95% 93% 92% |
| reverse-complement | |||||
| Ruby JRuby | 20.99 | 17.78 | 760,600 | 255 | 9% 8% 99% 4% |
| Ruby 1.9 | 8.67 | 8.68 | 174,744 | 255 | 0% 0% 100% 0% |
| fasta-redux | |||||
Remember - those are just the fastest Ruby JRuby and Ruby 1.9 programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Ruby JRuby.
Maybe one of those other Ruby JRuby programs is fastest on a different OS/machine.
Remember - those are just the fastest Ruby JRuby and Ruby 1.9 programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.
Maybe one of those other programs is fastest on a different OS/machine.
jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (Java HotSpot(TM) Server VM 1.7.0_04) [linux-i386-java]
Home Page: 100% Pure-Java Implementation of the Ruby Programming Language
Download: http://jruby.org/download