The Computer Language
Benchmarks Game

all TypeScript programs & measurements

Version 2.6.1
node.js v9.0.0

source secs N mem gz cpu cpu load
binary-trees  #2 0.09  7 ? 591 0.09 0% 0% 10% 100%
binary-trees  #2 0.23  14 920 591 0.23 22% 8% 9% 91%
binary-trees  #2 44.87  21 657,788 591 81.58 36% 40% 66% 41%
source secs N mem gz cpu cpu load
binary-trees  0.09  7 ? 595 0.09 0% 0% 100% 0%
binary-trees  0.23  14 956 595 0.25 9% 17% 100% 8%
binary-trees  45.07  21 657,596 595 81.85 45% 38% 36% 63%
source secs N mem gz cpu cpu load
fannkuch-redux  0.98  10 30,280 621 0.98 0% 99% 2% 1%
fannkuch-redux  11.01  11 30,248 621 11.00 0% 100% 1% 0%
fannkuch-redux  147.38  12 30,400 621 147.36 0% 0% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.93  10 30,124 626 0.93 0% 3% 100% 1%
fannkuch-redux  #2 10.49  11 30,220 626 10.49 100% 1% 1% 1%
fannkuch-redux  #2 140.76  12 30,404 626 140.73 35% 2% 1% 65%
source secs N mem gz cpu cpu load
fasta  0.25  250,000 932 1429 0.25 0% 4% 100% 4%
fasta  1.76  2,500,000 32,512 1429 1.76 3% 2% 97% 0%
fasta  16.20  25,000,000 32,972 1429 16.20 3% 97% 1% 0%
k-nucleotide  Failed  250,000
source secs N mem gz cpu cpu load
mandelbrot  1.70  1,000 58,772 549 1.76 68% 2% 0% 36%
mandelbrot  11.82  4,000 409,360 549 13.53 13% 38% 58% 7%
mandelbrot  Timed Out  16,000
source secs N mem gz cpu cpu load
n-body  #2 1.01  500,000 32,872 1620 1.03 2% 3% 1% 100%
n-body  #2 9.06  5,000,000 33,608 1620 9.10 0% 68% 34% 0%
n-body  #2 91.76  50,000,000 45,696 1620 92.41 1% 45% 56% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.37  500,000 952 1510 0.37 100% 0% 3% 3%
n-body  #3 2.84  5,000,000 31,704 1510 2.84 0% 0% 1% 100%
n-body  #3 27.07  50,000,000 32,028 1510 27.07 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  0.96  500,000 33,072 1631 0.97 1% 2% 100% 1%
n-body  8.60  5,000,000 33,388 1631 8.63 87% 0% 0% 14%
n-body  85.34  50,000,000 47,892 1631 85.71 0% 39% 62% 0%
source secs N mem gz cpu cpu load
regex-redux  #2 0.13  50,000 ? 575 0.13 0% 0% 100% 0%
regex-redux  #2 0.49  500,000 43,752 575 0.49 2% 0% 100% 0%
regex-redux  #2 4.30  5,000,000 652,024 575 4.31 1% 99% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  #3 0.13  50,000 ? 766 0.13 0% 0% 100% 8%
regex-redux  #3 0.49  500,000 63,688 766 0.49 0% 2% 100% 0%
regex-redux  #3 4.11  5,000,000 567,076 766 4.13 57% 43% 6% 0%
source secs N mem gz cpu cpu load
regex-redux  0.13  50,000 ? 571 0.13 0% 0% 8% 100%
regex-redux  0.49  500,000 43,844 571 0.49 4% 0% 0% 100%
regex-redux  4.30  5,000,000 655,840 571 4.30 1% 2% 100% 0%
source secs N mem gz cpu cpu load
reverse-complement  0.17  250,000 ? 1484 0.17 11% 11% 0% 100%
reverse-complement  0.56  2,500,000 48,388 1484 0.59 2% 80% 25% 2%
reverse-complement  4.11  25,000,000 242,780 1484 4.39 2% 23% 82% 2%
source secs N mem gz cpu cpu load
spectral-norm  0.24  500 924 499 0.24 0% 4% 100% 0%
spectral-norm  4.78  3,000 32,068 499 4.78 8% 10% 100% 11%
spectral-norm  15.80  5,500 32,596 499 15.80 89% 1% 1% 12%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.60  500 32,160 499 0.61 0% 24% 78% 2%
spectral-norm  #2 17.66  3,000 33,156 499 17.68 1% 1% 100% 0%
spectral-norm  #2 59.24  5,500 39,196 499 59.33 42% 1% 1% 59%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.23  500 944 508 0.23 100% 0% 0% 9%
spectral-norm  #3 4.77  3,000 31,068 508 4.77 100% 1% 0% 0%
spectral-norm  #3 15.81  5,500 31,692 508 15.80 0% 1% 0% 100%