The Computer Language
Benchmarks Game

all OCaml programs & measurements

The OCaml native-code compiler, version 4.03.0

source secs N mem gz cpu cpu load
binary-trees  #2 0.05  12 ? 784 0.03 0% 0% 17% 100%
binary-trees  #2 1.34  16 69,284 784 1.31 1% 2% 1% 100%
binary-trees  #2 39.11  20 102,832 784 39.02 1% 0% 0% 100%
source secs N mem gz cpu cpu load
binary-trees  #5 0.05  12 ? 496 0.04 20% 0% 0% 60%
binary-trees  #5 1.05  16 10,144 496 1.04 2% 0% 2% 99%
binary-trees  #5 34.05  20 139,200 496 34.00 0% 1% 1% 100%
source secs N mem gz cpu cpu load
chameneos-redux  1.06  60,000 3,180 1279 1.02 0% 0% 1% 96%
chameneos-redux  10.02  600,000 3,208 1279 10.00 0% 1% 1% 100%
chameneos-redux  99.61  6,000,000 5,468 1279 99.55 1% 0% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #3 5.26  60,000 3,568 1146 5.23 0% 0% 1% 100%
chameneos-redux  #3 52.11  600,000 3,740 1146 52.06 0% 1% 2% 100%
chameneos-redux  #3 520.64  6,000,000 3,736 1146 520.42 0% 0% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.80  10 ? 1004 ? 0% 0% 4% 100%
fannkuch-redux  #4 10.05  11 ? 1004 ? 0% 1% 1% 100%
fannkuch-redux  #4 141.28  12 ? 1004 ? 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.52  10 884 473 0.51 0% 2% 2% 98%
fannkuch-redux  #2 6.26  11 872 473 6.26 1% 0% 0% 100%
fannkuch-redux  #2 84.12  12 912 473 84.09 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  0.91  10 884 524 0.91 0% 3% 2% 100%
fannkuch-redux  11.42  11 884 524 11.42 0% 0% 1% 100%
fannkuch-redux  154.47  12 792 524 154.43 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.71  10 ? 1017 ? 1% 0% 1% 100%
fannkuch-redux  #3 8.44  11 ? 1017 ? 1% 0% 1% 100%
fannkuch-redux  #3 115.94  12 ? 1017 ? 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #6 0.09  250,000 ? 1161 0.08 0% 0% 0% 100%
fasta  #6 0.74  2,500,000 21,100 1161 0.73 0% 1% 0% 100%
fasta  #6 Failed  25,000,000
source secs N mem gz cpu cpu load
fasta  #3 0.11  250,000 ? 1042 0.10 0% 8% 0% 100%
fasta  #3 1.42  2,500,000 2,000 1042 1.41 0% 1% 3% 100%
fasta  #3 10.10  25,000,000 2,124 1042 10.10 1% 0% 0% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.70  250,000 80,116 1789 0.68 0% 0% 1% 100%
k-nucleotide  #3 6.06  2,500,000 268,548 1789 6.03 0% 1% 1% 100%
k-nucleotide  #3 Failed  25,000,000
source secs N mem gz cpu cpu load
k-nucleotide  0.67  250,000 15,840 870 0.63 0% 0% 4% 99%
k-nucleotide  5.45  2,500,000 61,824 870 5.44 1% 1% 0% 100%
k-nucleotide  Failed  25,000,000
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.68  250,000 43,624 1205 0.67 1% 0% 0% 100%
k-nucleotide  #2 5.77  2,500,000 148,336 1205 5.74 0% 2% 1% 100%
k-nucleotide  #2 Failed  25,000,000
source secs N mem gz cpu cpu load
mandelbrot  0.37  1,000 1,156 710 0.24 0% 0% 5% 97%
mandelbrot  5.37  4,000 2,308 710 5.22 0% 1% 1% 100%
mandelbrot  85.09  16,000 3,584 710 84.94 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.33  1,000 2,024 444 1.33 0% 2% 1% 100%
mandelbrot  #6 16.25  4,000 2,024 444 16.24 2% 0% 0% 100%
mandelbrot  #6 259.61  16,000 2,016 444 259.52 1% 1% 1% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.76  2,098 3,524 2156 0.75 4% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  0.85  500,000 904 1239 0.84 0% 1% 0% 100%
n-body  7.29  5,000,000 808 1239 7.28 1% 3% 2% 100%
n-body  66.45  50,000,000 912 1239 66.43 0% 1% 1% 100%
pidigits  Make Error  2,000
pidigits  #2 Make Error  2,000
pidigits  #3 Make Error  2,000
pidigits  #4 Make Error  2,000
source secs N mem gz cpu cpu load
regex-dna  #4 0.22  50,000 ? 1050 ? 9% 0% 0% 100%
regex-dna  #4 2.12  500,000 ? 1050 ? 1% 2% 0% 100%
regex-dna  #4 Failed  5,000,000
source secs N mem gz cpu cpu load
regex-dna  #2 0.16  50,000 ? 615 0.16 0% 6% 13% 100%
regex-dna  #2 1.73  500,000 46,712 615 1.73 2% 1% 1% 100%
regex-dna  #2 Failed  5,000,000
source secs N mem gz cpu cpu load
regex-dna  0.18  50,000 ? 1261 0.15 0% 0% 0% 94%
regex-dna  1.76  500,000 258,972 1261 1.74 2% 1% 0% 100%
regex-dna  Failed  5,000,000
source secs N mem gz cpu cpu load
regex-dna  #3 0.17  50,000 ? 892 0.16 0% 0% 0% 100%
regex-dna  #3 1.74  500,000 257,960 892 1.71 0% 2% 1% 100%
regex-dna  #3 Failed  5,000,000
source secs N mem gz cpu cpu load
reverse-complement  #3 0.03  250,000 ? 1314 ? 0% 0% 0% 75%
reverse-complement  #3 0.22  2,500,000 ? 1314 ? 5% 9% 0% 100%
reverse-complement  #3 2.16  25,000,000 ? 1314 ? 1% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.04  250,000 ? 394 0.03 0% 0% 0% 100%
reverse-complement  #2 0.39  2,500,000 796 394 0.38 0% 5% 5% 100%
reverse-complement  #2 4.48  25,000,000 174,948 394 4.47 0% 0% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  0.07  250,000 ? 1064 ? 14% 0% 0% 100%
reverse-complement  0.51  2,500,000 ? 1064 ? 2% 8% 2% 100%
reverse-complement  3.39  25,000,000 ? 1064 ? 2% 0% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.31  250,000 800 2064 0.31 10% 3% 0% 100%
reverse-complement  #4 0.48  2,500,000 241,708 2064 0.47 4% 0% 2% 100%
reverse-complement  #4 1.84  25,000,000 265,208 2064 1.83 1% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.31  500 ? 907 ? 3% 9% 6% 97%
spectral-norm  #3 5.76  3,000 3,944 907 5.17 2% 0% 0% 100%
spectral-norm  #3 18.93  5,500 4,588 907 17.98 0% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.16  500 ? 377 0.16 0% 0% 6% 94%
spectral-norm  #2 5.66  3,000 2,172 377 5.66 1% 1% 1% 100%
spectral-norm  #2 19.01  5,500 2,692 377 19.00 0% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 1.56  500,000 1,080 350 1.51 1% 1% 3% 97%
thread-ring  #2 15.28  5,000,000 1,060 350 15.24 0% 1% 1% 100%
thread-ring  #2 149.63  50,000,000 872 350 149.51 0% 0% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #3 1.57  500,000 4,356 296 1.54 0% 1% 1% 99%
thread-ring  #3 15.14  5,000,000 4,176 296 15.09 1% 0% 0% 100%
thread-ring  #3 151.44  50,000,000 4,160 296 151.32 0% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  3.23  500,000 2,876 282 3.21 0% 2% 1% 100%
thread-ring  32.20  5,000,000 2,884 282 32.12 0% 0% 1% 100%
thread-ring  314.54  50,000,000 2,892 282 314.29 0% 1% 1% 100%