The Computer Language
Benchmarks Game

all OCaml programs & measurements

The OCaml native-code compiler, version 4.11.0

source secs N mem gz cpu cpu load
binary-trees  #2 0.12  7 8 751 0.01 0% 27% 27% 31%
binary-trees  #2 0.02  14 0 751 0.05 50% 50% 100% 100%
binary-trees  #2 4.04  21 152,736 751 11.10 39% 77% 68% 93%
source secs N mem gz cpu cpu load
binary-trees  #5 0.11  7 8 461 0.00 30% 42% 0% 0%
binary-trees  #5 0.03  14 0 461 0.03 0% 75% 0% 0%
binary-trees  #5 9.42  21 154,504 461 9.42 1% 0% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.38  10 2,360 473 0.26 0% 11% 81% 0%
fannkuch-redux  #2 3.13  11 1,676 473 3.12 0% 0% 100% 1%
fannkuch-redux  #2 41.32  12 1,744 473 41.31 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.17  10 23,332 1017 0.01 47% 63% 40% 61%
fannkuch-redux  #3 0.64  11 25,996 1017 0.01 100% 100% 100% 100%
fannkuch-redux  #3 8.71  12 26,456 1017 0.01 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.17  10 392 1004 0.01 56% 50% 31% 31%
fannkuch-redux  #4 0.64  11 18,848 1004 0.01 100% 98% 98% 100%
fannkuch-redux  #4 8.52  12 19,072 1004 0.01 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.41  10 2,452 524 0.30 0% 12% 80% 5%
fannkuch-redux  3.55  11 1,728 524 3.55 0% 0% 100% 1%
fannkuch-redux  46.74  12 1,748 524 46.72 1% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  #6 0.14  250,000 8 1189 0.04 0% 0% 29% 63%
fasta  #6 0.35  2,500,000 19,540 1189 0.35 3% 3% 3% 100%
fasta  #6 3.27  25,000,000 203,380 1189 3.27 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.18  250,000 8 1071 0.05 22% 47% 0% 24%
fasta  #3 0.48  2,500,000 2,628 1071 0.48 0% 100% 0% 0%
fasta  #3 4.58  25,000,000 2,696 1071 4.58 0% 100% 0% 0%
k-nucleotide  #2 Make Error  250,000
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.31  250,000 12,456 1833 0.47 56% 59% 38% 29%
k-nucleotide  #3 1.79  2,500,000 34,492 1833 3.98 36% 35% 71% 85%
k-nucleotide  #3 14.87  25,000,000 255,560 1833 40.50 48% 50% 86% 90%
k-nucleotide  Make Error  250,000
source secs N mem gz cpu cpu load
mandelbrot  #6 0.23  1,000 2,432 444 0.12 17% 70% 9% 0%
mandelbrot  #6 1.78  4,000 2,664 444 1.78 0% 100% 1% 1%
mandelbrot  #6 28.21  16,000 3,052 444 28.20 0% 0% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  0.15  1,000 2,888 717 0.16 50% 43% 27% 33%
mandelbrot  0.51  4,000 3,300 717 1.92 94% 96% 96% 96%
mandelbrot  7.56  16,000 4,620 717 30.11 100% 100% 99% 100%
source secs N mem gz cpu cpu load
n-body  0.18  500,000 2,432 1251 0.07 24% 56% 0% 0%
n-body  0.68  5,000,000 1,520 1251 0.68 0% 100% 1% 4%
n-body  6.72  50,000,000 1,464 1251 6.72 0% 100% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #7 0.14  2,000 300 593 0.03 0% 27% 29% 36%
pidigits  #7 0.26  6,000 5,544 593 0.26 0% 0% 100% 7%
pidigits  #7 0.74  10,000 6,144 593 0.74 0% 0% 100% 4%
source secs N mem gz cpu cpu load
pidigits  #5 0.29  2,000 15,672 458 0.16 11% 18% 0% 66%
pidigits  #5 1.51  6,000 19,036 458 1.51 0% 99% 1% 1%
pidigits  #5 4.36  10,000 19,200 458 4.35 0% 100% 0% 0%
source secs N mem gz cpu cpu load
regex-redux  #2 0.23  50,000 6,356 637 0.13 8% 0% 20% 78%
regex-redux  #2 1.48  500,000 118,728 637 1.44 1% 1% 0% 100%
regex-redux  #2 14.84  5,000,000 901,904 637 14.83 100% 0% 1% 1%
reverse-complement  #2 Make Error  250,000
source secs N mem gz cpu cpu load
reverse-complement  0.15  250,000 300 1368 0.00 60% 7% 7% 0%
reverse-complement  1.66  100,000,000 34,044 1368 0.00 61% 65% 61% 69%
reverse-complement  #3 Make Error  250,000
reverse-complement  #4 Make Error  250,000
source secs N mem gz cpu cpu load
spectral-norm  #2 0.15  500 2,444 377 0.05 0% 27% 31% 47%
spectral-norm  #2 1.60  3,000 2,864 377 1.60 0% 0% 100% 2%
spectral-norm  #2 5.36  5,500 3,436 377 5.36 0% 0% 100% 0%