The Computer Language
Benchmarks Game

all TypeScript programs & measurements

Version 2.2.9
node.js v7.9.0

source secs N mem gz cpu cpu load
binary-trees  0.08  7 ? 451 0.08 100% 0% 0% 0%
binary-trees  0.24  14 1,020 451 0.24 0% 8% 5% 100%
binary-trees  52.10  21 933,224 451 52.84 42% 17% 32% 13%
source secs N mem gz cpu cpu load
binary-trees  #2 0.08  7 ? 448 0.08 100% 0% 0% 0%
binary-trees  #2 0.24  14 996 448 0.24 8% 100% 0% 0%
binary-trees  #2 51.88  21 933,276 448 52.64 48% 17% 14% 26%
source secs N mem gz cpu cpu load
fannkuch-redux  5.76  10 26,628 445 5.76 0% 1% 1% 100%
fannkuch-redux  75.81  11 26,556 445 75.78 0% 0% 100% 1%
fannkuch-redux  999.34  12 26,300 445 999.05 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 7.19  10 26,404 454 7.18 0% 0% 2% 100%
fannkuch-redux  #2 78.27  11 26,432 454 78.25 0% 1% 1% 100%
fannkuch-redux  #2 1,079.05  12 26,504 454 1,078.74 79% 18% 1% 4%
source secs N mem gz cpu cpu load
fasta  0.22  250,000 1,020 1205 0.22 100% 5% 0% 5%
fasta  1.38  2,500,000 29,708 1205 1.36 14% 0% 87% 1%
fasta  12.50  25,000,000 30,016 1205 12.50 100% 1% 1% 0%
source secs N mem gz cpu cpu load
k-nucleotide  2.20  250,000 105,700 708 2.23 1% 100% 3% 0%
k-nucleotide  18.82  2,500,000 141,108 708 18.85 99% 0% 2% 0%
k-nucleotide  184.21  25,000,000 514,760 708 184.19 1% 99% 1% 1%
source secs N mem gz cpu cpu load
mandelbrot  3.70  1,000 76,912 392 3.71 1% 100% 2% 1%
mandelbrot  51.62  4,000 374,328 392 51.54 0% 1% 72% 29%
mandelbrot  Timed Out  16,000
source secs N mem gz cpu cpu load
n-body  1.97  500,000 31,372 1462 1.96 1% 58% 43% 0%
n-body  18.63  5,000,000 31,360 1462 18.60 0% 7% 68% 27%
n-body  195.22  50,000,000 43,488 1462 194.88 100% 1% 1% 1%
source secs N mem gz cpu cpu load
n-body  #2 2.26  500,000 30,876 1453 2.26 0% 2% 4% 96%
n-body  #2 22.10  5,000,000 30,956 1453 22.08 100% 1% 1% 1%
n-body  #2 228.56  50,000,000 43,108 1453 228.17 98% 2% 1% 3%
source secs N mem gz cpu cpu load
n-body  #3 0.37  500,000 992 1348 0.36 3% 0% 14% 89%
n-body  #3 2.87  5,000,000 29,780 1348 2.87 0% 1% 1% 100%
n-body  #3 27.90  50,000,000 28,008 1348 27.89 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-redux  0.12  50,000 ? 440 0.12 0% 92% 0% 0%
regex-redux  0.48  500,000 41,780 440 0.48 2% 2% 2% 100%
regex-redux  4.19  5,000,000 438,632 440 4.22 100% 1% 2% 0%
source secs N mem gz cpu cpu load
regex-redux  #3 0.12  50,000 ? 610 0.12 0% 0% 0% 93%
regex-redux  #3 0.49  500,000 65,116 610 0.48 100% 6% 4% 0%
regex-redux  #3 4.10  5,000,000 595,456 610 4.12 0% 2% 99% 1%
source secs N mem gz cpu cpu load
regex-redux  #2 0.12  50,000 ? 440 0.12 100% 0% 8% 0%
regex-redux  #2 0.48  500,000 41,640 440 0.48 0% 0% 0% 98%
regex-redux  #2 4.19  5,000,000 438,588 440 4.21 1% 1% 100% 1%
source secs N mem gz cpu cpu load
reverse-complement  0.14  250,000 ? 1131 0.15 100% 7% 7% 0%
reverse-complement  0.53  2,500,000 47,156 1131 0.58 4% 9% 10% 96%
reverse-complement  3.69  25,000,000 244,248 1131 3.92 7% 48% 37% 18%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.26  500 984 394 0.25 11% 100% 8% 0%
spectral-norm  #3 6.00  3,000 27,932 394 6.00 1% 1% 1% 100%
spectral-norm  #3 20.79  5,500 28,288 394 20.77 0% 100% 1% 1%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.66  500 29,916 385 0.66 100% 2% 0% 0%
spectral-norm  #2 20.13  3,000 30,212 385 20.11 84% 1% 16% 0%
spectral-norm  #2 66.66  5,500 35,128 385 66.60 99% 0% 3% 1%
source secs N mem gz cpu cpu load
spectral-norm  0.25  500 3,932 383 0.25 100% 4% 4% 0%
spectral-norm  6.03  3,000 28,260 383 6.01 1% 26% 75% 0%
spectral-norm  18.74  5,500 32,956 383 18.73 1% 1% 0% 100%