The Computer Language
Benchmarks Game

all OCaml programs & measurements

The OCaml native-code compiler, version 4.05.0

source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 746 ?
binary-trees  #2 0.04  14 ? 746 0.10 80% 75% 50% 60%
binary-trees  #2 9.82  21 115,804 746 28.90 90% 96% 39% 72%
source secs N mem gz cpu cpu load
binary-trees  #5  7 ? 456 ?
binary-trees  #5 0.07  14 ? 456 0.06 0% 100% 100% 29%
binary-trees  #5 22.99  21 151,700 456 22.96 1% 100% 0% 1%
source secs N mem gz cpu cpu load
chameneos-redux  2.41  60,000 6,956 1279 3.73 39% 36% 42% 36%
chameneos-redux  25.06  600,000 6,872 1279 38.76 44% 38% 36% 36%
chameneos-redux  246.09  6,000,000 10,528 1279 381.54 44% 42% 38% 33%
source secs N mem gz cpu cpu load
chameneos-redux  #3 6.84  60,000 11,392 1146 10.05 45% 26% 35% 40%
chameneos-redux  #3 67.77  600,000 9,728 1146 99.90 32% 33% 34% 46%
chameneos-redux  #3 675.17  6,000,000 7,684 1146 984.34 30% 46% 38% 31%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.52  10 1,364 473 0.52 0% 0% 6% 100%
fannkuch-redux  #2 6.40  11 1,388 473 6.40 1% 1% 1% 100%
fannkuch-redux  #2 85.74  12 1,464 473 85.72 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.11  10 ? 1004 ? 91% 92% 100% 92%
fannkuch-redux  #4 1.28  11 ? 1004 ? 98% 98% 100% 98%
fannkuch-redux  #4 16.72  12 ? 1004 ? 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.12  10 ? 1017 ? 100% 100% 100% 100%
fannkuch-redux  #3 1.24  11 ? 1017 ? 100% 99% 99% 98%
fannkuch-redux  #3 16.23  12 ? 1017 ? 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.63  10 1,364 524 0.63 0% 3% 100% 2%
fannkuch-redux  7.54  11 1,364 524 7.53 0% 100% 1% 1%
fannkuch-redux  98.69  12 1,432 524 98.66 1% 1% 100% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.09  250,000 ? 1042 0.09 0% 10% 0% 100%
fasta  #3 0.90  2,500,000 2,524 1042 0.89 0% 0% 100% 2%
fasta  #3 8.60  25,000,000 2,540 1042 8.60 0% 1% 0% 100%
source secs N mem gz cpu cpu load
fasta  #6 0.07  250,000 ? 1161 0.06 0% 100% 13% 0%
fasta  #6 0.62  2,500,000 20,360 1161 0.62 100% 0% 0% 2%
fasta  #6 5.89  25,000,000 201,740 1161 5.88 100% 1% 0% 2%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.47  250,000 42,464 1205 1.01 34% 80% 32% 83%
k-nucleotide  #2 3.81  2,500,000 49,676 1205 8.05 80% 82% 35% 23%
k-nucleotide  #2 33.67  25,000,000 392,488 1205 78.69 31% 31% 89% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.28  250,000 35,272 1789 0.68 52% 41% 93% 71%
k-nucleotide  #3 2.14  2,500,000 344,204 1789 5.81 39% 99% 43% 94%
k-nucleotide  #3 19.69  25,000,000 259,992 1789 54.82 71% 90% 50% 70%
source secs N mem gz cpu cpu load
k-nucleotide  0.75  250,000 21,076 870 0.75 0% 99% 1% 0%
k-nucleotide  6.81  2,500,000 73,744 870 6.80 2% 0% 1% 100%
k-nucleotide  65.92  25,000,000 416,204 870 65.86 0% 1% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.22  1,000 1,420 444 0.22 100% 5% 5% 4%
mandelbrot  #6 3.47  4,000 2,572 444 3.46 0% 1% 100% 1%
mandelbrot  #6 55.11  16,000 2,636 444 55.10 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.10  1,000 ? 710 0.15 78% 70% 78% 75%
mandelbrot  0.90  4,000 3,064 710 3.37 98% 99% 97% 98%
mandelbrot  13.78  16,000 8,300 710 54.76 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.78  2,098 7,480 2156 0.77 0% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 1,228 1239 0.22 96% 0% 5% 4%
n-body  2.17  5,000,000 1,292 1239 2.17 0% 0% 100% 1%
n-body  21.67  50,000,000 1,276 1239 21.66 1% 100% 0% 1%
pidigits  #2 Make Error  2,000
pidigits  Make Error  2,000
pidigits  #4 Make Error  2,000
pidigits  #3 Make Error  2,000
source secs N mem gz cpu cpu load
regex-redux  #2 0.21  50,000 1,424 622 0.20 100% 5% 5% 5%
regex-redux  #2 2.48  500,000 102,492 622 2.37 100% 2% 0% 1%
regex-redux  #2 24.92  5,000,000 968,548 622 24.89 1% 1% 1% 100%
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  0.04  250,000 ? 1064 ? 67% 0% 33% 50%
reverse-complement  0.19  2,500,000 ? 1064 ? 65% 5% 42% 29%
reverse-complement  1.44  25,000,000 ? 1064 ? 32% 50% 42% 38%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 1314 ? 0% 50% 50% 67%
reverse-complement  #3 0.13  2,500,000 ? 1314 ? 38% 25% 8% 67%
reverse-complement  #3 0.75  25,000,000 ? 1314 ? 46% 53% 61% 52%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.09  250,000 ? 394 ? 100% 0% 0% 0%
reverse-complement  #2 0.75  2,500,000 21,028 394 0.52 1% 0% 1% 100%
reverse-complement  #2 5.07  25,000,000 210,132 394 5.06 100% 1% 0% 1%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.04  250,000 ? 2064 0.03 25% 0% 0% 100%
reverse-complement  #4 0.19  2,500,000 ? 2064 0.18 11% 16% 100% 5%
reverse-complement  #4 1.50  25,000,000 138,776 2064 1.49 7% 3% 100% 5%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.13  500 ? 907 0.06 79% 73% 67% 64%
spectral-norm  #3 1.40  3,000 4,124 907 3.95 86% 91% 88% 87%
spectral-norm  #3 4.36  5,500 5,072 907 15.48 92% 91% 93% 91%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.14  500 ? 377 0.13 0% 100% 0% 0%
spectral-norm  #2 4.67  3,000 2,744 377 4.67 1% 100% 1% 0%
spectral-norm  #2 15.70  5,500 5,300 377 15.69 1% 1% 100% 0%
source secs N mem gz cpu cpu load
thread-ring  4.92  500,000 29,380 282 5.67 18% 26% 24% 46%
thread-ring  50.76  5,000,000 29,668 282 62.30 29% 29% 31% 30%
thread-ring  509.94  50,000,000 21,424 282 632.09 30% 30% 30% 30%
source secs N mem gz cpu cpu load
thread-ring  #2 2.37  500,000 14,992 350 2.95 32% 26% 27% 29%
thread-ring  #2 23.04  5,000,000 14,896 350 26.69 25% 29% 30% 26%
thread-ring  #2 219.69  50,000,000 12,964 350 247.40 27% 27% 25% 28%
source secs N mem gz cpu cpu load
thread-ring  #3 2.11  500,000 27,244 296 2.30 24% 13% 37% 32%
thread-ring  #3 21.24  5,000,000 27,288 296 23.48 22% 31% 34% 19%
thread-ring  #3 212.17  50,000,000 12,940 296 230.20 26% 28% 26% 26%