/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® one core |
Each chart bar shows, for one unidentified benchmark, how much the fastest program used compared to the fastest Ruby 2.0 program.
These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.
Each table row shows, for one named benchmark, how much the fastest program used compared to the fastest Ruby 2.0 program.
| used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | |||||||
± read the measurements and then read the program source code.
These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.
For each named benchmark, measurements of the fastest program are shown for comparison against measurements of the fastest Ruby 2.0 program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| n-body | |||||
| Ruby 2.0 | 15.93 | 15.93 | 4,880 | 1137 | 0% 0% 1% 100% |
| spectral-norm | |||||
| Ruby 2.0 | 7.10 | 7.78 | 20,148 | 828 | 0% 1% 0% 100% |
| fannkuch-redux | |||||
| Ruby 2.0 | 21.37 | 21.38 | 4,864 | 384 | 0% 0% 1% 100% |
| regex-dna | |||||
| Ruby 2.0 | 0.47 | 0.49 | 6,336 | 417 | 0% 0% 2% 100% |
| fasta | |||||
| Ruby 2.0 | 1.98 | 1.99 | 5,924 | 772 | 0% 0% 3% 100% |
| binary-trees | |||||
| Ruby 2.0 | 0.59 | 0.59 | 4,864 | 439 | 0% 0% 2% 100% |
| k-nucleotide | |||||
| Ruby 2.0 | 7.90 | 7.90 | 46,772 | 420 | 0% 0% 0% 100% |
| pidigits | |||||
| Ruby 2.0 | 0.55 | 0.56 | 38,716 | 653 | 2% 0% 2% 98% |
| mandelbrot | |||||
| Ruby 2.0 | 18.87 | 18.88 | 4,868 | 307 | 0% 0% 0% 100% |
| reverse-complement | |||||
| Ruby 2.0 | 0.14 | 0.17 | ? | 255 | 6% 0% 0% 94% |
| fasta-redux | |||||
Remember - those are just the fastest and Ruby 2.0 programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for .
Maybe one of those other programs is fastest on a different OS/machine.
Remember - those are just the fastest and Ruby 2.0 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.