The Computer Language
Benchmarks Game

all TypeScript programs & measurements

Version 2.2.1
node.js v7.6.0

source secs N mem gz cpu cpu load
binary-trees  0.16  12 ? 475 0.16 6% 6% 6% 100%
binary-trees  1.47  16 71,808 475 1.48 1% 2% 99% 2%
binary-trees  56.23  20 890,184 475 57.19 9% 39% 46% 10%
source secs N mem gz cpu cpu load
binary-trees  #2 0.15  12 ? 470 0.15 0% 0% 94% 0%
binary-trees  #2 1.45  16 70,996 470 1.45 2% 3% 99% 0%
binary-trees  #2 56.22  20 890,440 470 57.12 70% 2% 2% 30%
source secs N mem gz cpu cpu load
fannkuch-redux  5.76  10 26,852 445 5.76 1% 100% 0% 1%
fannkuch-redux  72.14  11 26,800 445 72.12 1% 0% 3% 100%
fannkuch-redux  998.49  12 26,788 445 998.22 34% 3% 35% 29%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 6.35  10 26,800 454 6.35 0% 2% 1% 100%
fannkuch-redux  #2 77.83  11 26,792 454 77.80 3% 0% 100% 1%
fannkuch-redux  #2 1,098.14  12 26,816 454 1,097.86 0% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  0.22  250,000 996 1205 0.22 0% 0% 100% 9%
fasta  1.40  2,500,000 29,880 1205 1.40 1% 0% 100% 4%
fasta  12.81  25,000,000 30,228 1205 12.82 1% 100% 0% 1%
source secs N mem gz cpu cpu load
k-nucleotide  2.24  250,000 113,292 708 2.24 1% 2% 99% 2%
k-nucleotide  18.75  2,500,000 149,420 708 18.68 3% 16% 84% 1%
k-nucleotide  184.86  25,000,000 523,524 708 183.91 75% 2% 1% 24%
source secs N mem gz cpu cpu load
mandelbrot  3.71  1,000 75,848 392 3.72 0% 5% 98% 1%
mandelbrot  50.93  4,000 367,612 392 50.86 1% 33% 67% 1%
mandelbrot  Timed Out  16,000
source secs N mem gz cpu cpu load
n-body  1.95  500,000 30,904 1462 1.95 1% 2% 0% 100%
n-body  19.07  5,000,000 30,836 1462 19.05 1% 0% 100% 0%
n-body  192.22  50,000,000 43,020 1462 191.90 1% 66% 34% 1%
source secs N mem gz cpu cpu load
n-body  #2 2.29  500,000 30,432 1453 2.28 1% 100% 1% 0%
n-body  #2 22.37  5,000,000 30,428 1453 22.34 1% 1% 0% 100%
n-body  #2 226.44  50,000,000 42,596 1453 226.06 40% 40% 22% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.37  500,000 1,004 1348 0.36 100% 5% 0% 0%
n-body  #3 2.87  5,000,000 27,812 1348 2.87 1% 100% 0% 1%
n-body  #3 27.91  50,000,000 27,960 1348 27.90 1% 0% 100% 1%
source secs N mem gz cpu cpu load
regex-redux  0.12  50,000 ? 440 0.12 92% 0% 0% 8%
regex-redux  0.48  500,000 41,852 440 0.48 0% 100% 0% 6%
regex-redux  4.27  5,000,000 484,440 440 4.30 3% 1% 100% 1%
source secs N mem gz cpu cpu load
regex-redux  #3 0.13  50,000 ? 610 0.12 0% 100% 8% 8%
regex-redux  #3 0.48  500,000 64,600 610 0.48 98% 2% 4% 0%
regex-redux  #3 4.20  5,000,000 650,072 610 4.20 1% 100% 2% 1%
source secs N mem gz cpu cpu load
regex-redux  #2 0.12  50,000 ? 440 0.12 0% 0% 0% 92%
regex-redux  #2 0.48  500,000 41,864 440 0.48 6% 98% 0% 6%
regex-redux  #2 4.28  5,000,000 475,416 440 4.29 1% 1% 100% 1%
source secs N mem gz cpu cpu load
reverse-complement  0.19  250,000 ? 1131 0.15 0% 26% 78% 0%
reverse-complement  0.88  2,500,000 53,860 1131 0.61 13% 28% 10% 61%
reverse-complement  3.67  25,000,000 245,580 1131 3.94 99% 3% 4% 3%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.28  500 1,008 394 0.28 0% 4% 100% 0%
spectral-norm  #3 6.10  3,000 27,932 394 6.09 1% 0% 100% 2%
spectral-norm  #3 20.70  5,500 28,196 394 20.69 1% 0% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.66  500 29,960 385 0.66 3% 0% 2% 100%
spectral-norm  #2 20.42  3,000 30,472 385 20.40 91% 18% 2% 2%
spectral-norm  #2 68.34  5,500 35,048 385 68.28 100% 1% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  0.27  500 992 383 0.27 0% 4% 0% 100%
spectral-norm  5.88  3,000 28,368 383 5.88 1% 100% 2% 0%
spectral-norm  19.80  5,500 29,012 383 19.79 50% 50% 0% 1%