The Computer Language
Benchmarks Game

all OCaml programs & measurements

The OCaml native-code compiler, version 4.04.0

source secs N mem gz cpu cpu load
binary-trees  #2 0.03  12 ? 784 0.06 75% 50% 33% 67%
binary-trees  #2 0.81  16 79,240 784 1.99 95% 61% 41% 56%
binary-trees  #2 23.42  20 173,568 784 70.56 84% 90% 77% 55%
source secs N mem gz cpu cpu load
binary-trees  #5 0.04  12 ? 496 0.03 0% 0% 20% 100%
binary-trees  #5 1.12  16 25,176 496 1.12 1% 3% 1% 100%
binary-trees  #5 39.26  20 260,788 496 39.20 100% 1% 0% 0%
source secs N mem gz cpu cpu load
chameneos-redux  1.66  60,000 6,364 1279 2.49 51% 22% 22% 47%
chameneos-redux  16.23  600,000 6,396 1279 26.16 33% 43% 44% 33%
chameneos-redux  160.37  6,000,000 6,372 1279 256.27 44% 32% 32% 43%
source secs N mem gz cpu cpu load
chameneos-redux  #3 6.43  60,000 7,004 1146 9.58 39% 39% 33% 35%
chameneos-redux  #3 67.83  600,000 5,148 1146 101.47 38% 36% 34% 37%
chameneos-redux  #3 698.02  6,000,000 25,568 1146 1,033.91 38% 35% 36% 37%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.52  10 2,068 473 0.52 0% 100% 0% 4%
fannkuch-redux  #2 6.37  11 1,972 473 6.36 1% 1% 1% 100%
fannkuch-redux  #2 85.22  12 4,116 473 85.20 1% 100% 1% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.11  10 ? 1004 ? 91% 100% 100% 82%
fannkuch-redux  #4 1.24  11 ? 1004 ? 100% 100% 99% 100%
fannkuch-redux  #4 16.58  12 ? 1004 ? 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.13  10 ? 1017 ? 92% 77% 93% 100%
fannkuch-redux  #3 1.23  11 ? 1017 ? 99% 99% 100% 99%
fannkuch-redux  #3 16.14  12 ? 1017 ? 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.62  10 1,976 524 0.62 3% 0% 3% 100%
fannkuch-redux  7.56  11 1,936 524 7.55 100% 1% 1% 0%
fannkuch-redux  99.19  12 2,084 524 99.16 1% 0% 1% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.10  250,000 ? 1042 0.09 0% 0% 90% 0%
fasta  #3 0.90  2,500,000 2,060 1042 0.89 2% 2% 100% 0%
fasta  #3 8.64  25,000,000 2,056 1042 8.63 0% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  #6 0.07  250,000 ? 1161 0.06 13% 0% 100% 0%
fasta  #6 0.61  2,500,000 10,508 1161 0.61 2% 98% 2% 0%
fasta  #6 5.79  25,000,000 202,460 1161 5.79 1% 2% 100% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.44  250,000 29,316 1205 0.92 74% 91% 35% 21%
k-nucleotide  #2 3.52  2,500,000 149,536 1205 8.11 33% 34% 83% 82%
k-nucleotide  #2 33.65  25,000,000 394,424 1205 78.26 75% 84% 31% 46%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.31  250,000 39,268 1789 0.64 50% 60% 58% 66%
k-nucleotide  #3 2.40  2,500,000 36,244 1789 5.69 51% 41% 83% 76%
k-nucleotide  #3 19.76  25,000,000 256,940 1789 54.18 43% 96% 43% 94%
source secs N mem gz cpu cpu load
k-nucleotide  0.74  250,000 21,832 870 0.74 100% 3% 3% 3%
k-nucleotide  6.74  2,500,000 70,836 870 6.73 100% 1% 1% 0%
k-nucleotide  65.89  25,000,000 416,980 870 65.83 1% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.22  1,000 1,060 444 0.22 0% 5% 0% 100%
mandelbrot  #6 3.47  4,000 4,116 444 3.47 100% 1% 1% 1%
mandelbrot  #6 55.22  16,000 2,056 444 55.20 1% 0% 100% 1%
source secs N mem gz cpu cpu load
mandelbrot  0.10  1,000 ? 710 0.14 80% 89% 38% 78%
mandelbrot  0.90  4,000 2,468 710 3.37 99% 98% 98% 98%
mandelbrot  13.78  16,000 7,800 710 54.76 100% 100% 100% 99%
source secs N mem gz cpu cpu load
meteor-contest  0.78  2,098 6,988 2156 0.77 3% 3% 100% 1%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 1,128 1239 0.22 4% 0% 9% 96%
n-body  2.17  5,000,000 972 1239 2.17 1% 1% 1% 100%
n-body  21.69  50,000,000 1,084 1239 21.68 1% 1% 100% 1%
pidigits  #2 Make Error  2,000
pidigits  Make Error  2,000
pidigits  #4 Make Error  2,000
pidigits  #3 Make Error  2,000
regex-redux  #2 Bad Output  50,000
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  0.03  250,000 ? 1064 ? 0% 67% 0% 100%
reverse-complement  0.19  2,500,000 ? 1064 ? 0% 0% 89% 44%
reverse-complement  1.44  25,000,000 ? 1064 ? 69% 23% 49% 18%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 1314 ? 50% 67% 50% 0%
reverse-complement  #3 0.13  2,500,000 ? 1314 ? 67% 29% 15% 31%
reverse-complement  #3 0.74  25,000,000 ? 1314 ? 63% 61% 42% 57%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.07  250,000 ? 394 ? 100% 0% 13% 0%
reverse-complement  #2 0.66  2,500,000 22,764 394 0.41 0% 0% 3% 100%
reverse-complement  #2 4.04  25,000,000 209,612 394 4.03 100% 1% 1% 0%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.03  250,000 ? 2064 0.03 25% 0% 100% 25%
reverse-complement  #4 0.19  2,500,000 ? 2064 0.18 0% 20% 0% 100%
reverse-complement  #4 1.50  25,000,000 138,936 2064 1.50 1% 7% 4% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.13  500 ? 907 0.07 64% 69% 73% 67%
spectral-norm  #3 1.40  3,000 3,920 907 3.96 89% 89% 88% 88%
spectral-norm  #3 4.46  5,500 4,792 907 15.50 90% 93% 88% 90%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.14  500 ? 377 0.13 0% 100% 7% 0%
spectral-norm  #2 4.68  3,000 2,696 377 4.67 0% 1% 100% 0%
spectral-norm  #2 15.70  5,500 4,784 377 15.69 1% 0% 100% 0%
source secs N mem gz cpu cpu load
thread-ring  4.67  500,000 29,000 282 6.10 35% 28% 29% 33%
thread-ring  46.12  5,000,000 27,000 282 60.96 31% 31% 30% 31%
thread-ring  459.95  50,000,000 26,644 282 607.27 31% 31% 31% 31%
source secs N mem gz cpu cpu load
thread-ring  #2 2.06  500,000 12,280 350 2.63 55% 4% 4% 56%
thread-ring  #2 19.28  5,000,000 14,408 350 25.31 54% 6% 6% 54%
thread-ring  #2 192.24  50,000,000 12,396 350 252.98 54% 6% 6% 55%
source secs N mem gz cpu cpu load
thread-ring  #3 2.01  500,000 27,332 296 2.58 5% 54% 56% 6%
thread-ring  #3 19.19  5,000,000 29,136 296 25.25 10% 50% 51% 10%
thread-ring  #3 187.78  50,000,000 27,300 296 247.70 3% 58% 58% 3%