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 1.9 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 1.9 program used compared to the fastest Ruby MRI program.
| Ruby 1.9 used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | Reduced N |
| binary-trees | 1/4 | 1/2 | ± | |
| spectral-norm | 1/2 | ± | ± | |
| fasta | ± | ± | ± | |
| fannkuch | ± | 2× | ± | |
| mandelbrot | ± | 2× | ± | |
| regex-dna | ± | ± | ± | |
| n-body | ± | 2× | ± | |
| k-nucleotide | ± | ± | ± | |
| reverse-complement | ± | ± | ± | |
| pidigits | ± | ± | ± | |
± 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 1.9 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 1.9 | 265.07 | 265.06 | 299,960 | 412 | 0% 0% 0% 100% |
| Ruby MRI | 1,069.74 | 1,069.68 | 457,796 | 412 | 0% 0% 0% 100% |
| spectral-norm | |||||
| Ruby 1.9 | 920.32 | 920.26 | 3,940 | 292 | 0% 0% 0% 100% |
| Ruby MRI | 2,222.02 | 2,221.89 | 2,676 | 292 | 0% 0% 0% 100% |
| fasta | |||||
| Ruby 1.9 | 443.14 | 443.20 | 174,280 | 732 | 0% 0% 0% 100% |
| Ruby MRI | 623.67 | 623.67 | 245,848 | 732 | 0% 0% 0% 100% |
| fannkuch | |||||
| Ruby 1.9 | 4,972.16 | 4,971.87 | 3,020 | 344 | 0% 7% 0% 100% |
| Ruby MRI | 6,749.92 | 6,749.50 | 1,884 | 340 | 0% 0% 0% 100% |
| mandelbrot | |||||
| Ruby 1.9 | 8,662.93 | 8,662.61 | 2,768 | 313 | 0% 0% 0% 100% |
| Ruby MRI | 11,516.89 | 11,516.18 | 1,564 | 313 | 0% 0% 0% 100% |
| regex-dna | |||||
| Ruby 1.9 | 50.77 | 50.77 | 322,520 | 323 | 0% 0% 0% 100% |
| Ruby MRI | 58.64 | 58.64 | 254,336 | 323 | 2% 3% 0% 100% |
| n-body | |||||
| Ruby 1.9 | 3,482.50 | 3,482.28 | 2,872 | 1137 | 0% 0% 0% 100% |
| Ruby MRI | 3,997.42 | 3,997.17 | 1,648 | 1137 | 0% 0% 0% 100% |
| k-nucleotide | |||||
| Ruby 1.9 | 797.00 | 797.23 | 163,236 | 420 | 0% 0% 0% 100% |
| Ruby MRI | 850.30 | 850.25 | 147,984 | 420 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Ruby 1.9 | 10.36 | 10.36 | 174,076 | 255 | 0% 0% 0% 100% |
| Ruby MRI | 9.95 | 9.96 | 197,352 | 255 | 0% 0% 0% 100% |
| pidigits | |||||
| Ruby 1.9 | 73.25 | 73.25 | 13,156 | 518 | 0% 0% 0% 100% |
| Ruby MRI | 53.84 | 53.84 | 13,924 | 518 | 0% 0% 0% 100% |
| chameneos-redux | |||||
| Ruby 1.9 | |||||
online book Programming Ruby: The Pragmatic Programmers Guide
ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]
Home Page: Ruby Core
Download: Ruby 1.9.1 released