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  7 ? 746 ?
binary-trees  #2 0.04  14 ? 746 0.09 67% 75% 60% 100%
binary-trees  #2 9.95  21 115,760 746 29.67 99% 73% 41% 87%
source secs N mem gz cpu cpu load
binary-trees  #5  7 ? 456 ?
binary-trees  #5 0.07  14 ? 456 0.07 100% 0% 0% 17%
binary-trees  #5 22.87  21 151,724 456 22.84 1% 0% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  2.32  60,000 6,872 1279 3.57 34% 41% 35% 42%
chameneos-redux  23.49  600,000 6,832 1279 36.35 42% 33% 40% 37%
chameneos-redux  233.26  6,000,000 6,860 1279 362.55 43% 36% 41% 35%
source secs N mem gz cpu cpu load
chameneos-redux  #3 7.13  60,000 7,528 1146 10.06 42% 44% 59% 4%
chameneos-redux  #3 66.00  600,000 7,652 1146 97.39 40% 40% 26% 39%
chameneos-redux  #3 643.36  6,000,000 7,728 1146 945.62 32% 38% 37% 39%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.54  10 1,420 473 0.54 100% 2% 0% 0%
fannkuch-redux  #2 6.41  11 1,372 473 6.40 1% 0% 100% 0%
fannkuch-redux  #2 85.59  12 1,392 473 85.57 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.11  10 ? 1004 ? 100% 100% 100% 91%
fannkuch-redux  #4 1.25  11 ? 1004 ? 100% 98% 99% 99%
fannkuch-redux  #4 16.52  12 ? 1004 ? 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.13  10 ? 1017 ? 93% 100% 92% 100%
fannkuch-redux  #3 1.28  11 ? 1017 ? 99% 99% 98% 99%
fannkuch-redux  #3 16.82  12 ? 1017 ? 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.61  10 1,380 524 0.61 0% 2% 2% 98%
fannkuch-redux  7.45  11 1,408 524 7.45 1% 1% 100% 1%
fannkuch-redux  97.97  12 1,456 524 97.94 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.10  250,000 ? 1042 0.09 100% 0% 0% 0%
fasta  #3 0.90  2,500,000 2,420 1042 0.90 1% 100% 2% 2%
fasta  #3 8.69  25,000,000 2,580 1042 8.69 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fasta  #6 0.07  250,000 ? 1161 0.06 0% 0% 100% 0%
fasta  #6 0.62  2,500,000 19,672 1161 0.62 100% 2% 2% 5%
fasta  #6 5.88  25,000,000 200,032 1161 5.88 3% 100% 1% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.43  250,000 30,672 1205 0.94 93% 25% 40% 71%
k-nucleotide  #2 3.52  2,500,000 147,024 1205 8.10 84% 33% 36% 82%
k-nucleotide  #2 34.31  25,000,000 392,376 1205 80.67 39% 83% 85% 30%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.28  250,000 34,308 1789 0.72 57% 44% 100% 67%
k-nucleotide  #3 2.24  2,500,000 335,256 1789 5.78 40% 83% 100% 37%
k-nucleotide  #3 20.02  25,000,000 261,944 1789 56.21 48% 91% 95% 48%
source secs N mem gz cpu cpu load
k-nucleotide  0.76  250,000 21,720 870 0.75 3% 100% 1% 4%
k-nucleotide  6.75  2,500,000 71,088 870 6.74 0% 1% 100% 1%
k-nucleotide  67.09  25,000,000 415,072 870 67.03 1% 100% 0% 1%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.22  1,000 576 444 0.22 0% 100% 0% 4%
mandelbrot  #6 3.47  4,000 2,540 444 3.47 0% 1% 100% 1%
mandelbrot  #6 55.23  16,000 2,632 444 55.21 100% 1% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  0.10  1,000 ? 710 0.16 70% 70% 75% 63%
mandelbrot  0.93  4,000 7,220 710 3.44 97% 97% 97% 97%
mandelbrot  13.76  16,000 8,240 710 54.76 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.77  2,098 7,208 2156 0.77 0% 0% 1% 99%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 1,204 1239 0.22 100% 0% 0% 0%
n-body  2.17  5,000,000 1,244 1239 2.17 0% 1% 1% 100%
n-body  21.68  50,000,000 1,252 1239 21.67 0% 0% 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
source secs N mem gz cpu cpu load
regex-redux  #2 0.20  50,000 ? 622 0.20 0% 0% 100% 0%
regex-redux  #2 2.47  500,000 102,444 622 2.36 100% 4% 7% 1%
regex-redux  #2 25.09  5,000,000 968,516 622 25.06 1% 54% 0% 46%
regex-redux  #4 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  0.04  250,000 ? 1064 ? 25% 100% 25% 33%
reverse-complement  0.19  2,500,000 ? 1064 ? 0% 95% 42% 0%
reverse-complement  1.48  25,000,000 ? 1064 ? 41% 26% 49% 46%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.03  250,000 ? 1314 ? 33% 33% 50% 75%
reverse-complement  #3 0.13  2,500,000 ? 1314 ? 0% 33% 46% 67%
reverse-complement  #3 0.76  25,000,000 ? 1314 ? 46% 58% 57% 49%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.04  250,000 ? 394 0.04 0% 0% 0% 100%
reverse-complement  #2 0.42  2,500,000 21,008 394 0.41 2% 2% 7% 98%
reverse-complement  #2 4.33  25,000,000 210,448 394 4.32 0% 2% 100% 1%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.04  250,000 ? 2064 0.03 25% 100% 0% 0%
reverse-complement  #4 0.19  2,500,000 ? 2064 0.19 17% 10% 0% 100%
reverse-complement  #4 1.50  25,000,000 139,580 2064 1.49 1% 100% 6% 4%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.13  500 ? 907 0.07 75% 69% 73% 71%
spectral-norm  #3 1.42  3,000 4,468 907 3.97 89% 86% 87% 86%
spectral-norm  #3 4.35  5,500 5,008 907 15.54 90% 93% 93% 93%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.13  500 ? 377 0.13 14% 100% 7% 0%
spectral-norm  #2 4.68  3,000 2,696 377 4.67 0% 1% 0% 100%
spectral-norm  #2 15.69  5,500 5,160 377 15.69 100% 0% 1% 1%
source secs N mem gz cpu cpu load
thread-ring  5.02  500,000 29,264 282 5.88 29% 24% 24% 37%
thread-ring  50.77  5,000,000 29,328 282 61.94 29% 31% 28% 29%
thread-ring  504.40  50,000,000 27,264 282 618.24 29% 29% 29% 30%
source secs N mem gz cpu cpu load
thread-ring  #2 2.27  500,000 14,896 350 2.70 33% 34% 21% 25%
thread-ring  #2 20.84  5,000,000 18,944 350 22.60 9% 40% 27% 31%
thread-ring  #2 217.32  50,000,000 12,892 350 238.49 25% 28% 24% 29%
source secs N mem gz cpu cpu load
thread-ring  #3 2.01  500,000 27,348 296 2.14 18% 29% 44% 12%
thread-ring  #3 20.84  5,000,000 27,204 296 22.14 26% 27% 26% 25%
thread-ring  #3 219.08  50,000,000 27,256 296 242.81 28% 27% 24% 26%