The Computer Language
Benchmarks Game

Dart versus Node js fastest programs

Always look at the source code.

These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you.

n-body
source secs mem gz busy cpu load
Dart 8.32 123,536 1409 8.63 99% 3% 1% 1%
Node js 8.35 35,628 1268 8.48 1% 100% 0% 0%
regex-redux
source secs mem gz busy cpu load
Dart 4.92 914,036 1041 7.72 21% 25% 91% 20%
Node js 4.27 1,064,544 668 5.47 4% 2% 75% 47%
binary-trees
source secs mem gz busy cpu load
Dart 9.12 679,628 1349 31.09 89% 83% 83% 86%
Node js 5.83 1,204,544 711 19.61 86% 82% 84% 85%
k-nucleotide
source secs mem gz busy cpu load
Dart 24.01 515,616 1502 64.08 95% 87% 47% 38%
Node js 15.06 398,672 1812 41.57 76% 60% 48% 92%
pidigits
source secs mem gz busy cpu load
Dart 3.33 149,040 500 3.60 5% 4% 4% 95%
Node js 1.32 36,176 599 1.50 3% 2% 8% 100%
fasta
source secs mem gz busy cpu load
Dart 5.46 157,044 1403 5.65 97% 2% 3% 2%
Node js 2.04 67,420 2047 6.33 76% 85% 75% 74%
mandelbrot
source secs mem gz busy cpu load
Dart 12.00 216,820 911 32.34 37% 36% 98% 98%
Node js 4.01 86,468 1122 15.74 98% 98% 99% 98%
spectral-norm
source secs mem gz busy cpu load
Dart 5.52 123,280 462 5.65 2% 2% 1% 98%
Node js 1.68 62,068 999 6.05 89% 90% 91% 90%
fannkuch-redux
source secs mem gz busy cpu load
Dart 57.47 115,900 495 57.90 1% 0% 100% 0%
Node js 12.10 57,164 1313 47.74 98% 98% 99% 99%
reverse-complement
source secs mem gz busy cpu load
Dart 41.04 6,604,280 555 47.64 74% 19% 17% 6%
Node js 2.19 1,340,520 1480 4.46 48% 55% 50% 50%
Dart

Dart VM version: 2.8.4 (stable) (Unknown timestamp) on "linux_x64"

Node js

v14.4.0