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.

binary-trees
source secs mem gz busy cpu load
Dart 16.62 694,400 1349 45.44 79% 65% 76% 54%
Node js 19.22 1,000,628 711 61.94 80% 82% 82% 79%
regex-redux
source secs mem gz busy cpu load
Dart 8.79 924,316 1041 14.33 23% 29% 41% 71%
Node js 9.53 756,856 668 12.74 71% 24% 13% 26%
n-body
source secs mem gz busy cpu load
Dart 28.76 122,636 1409 30.80 95% 3% 9% 0%
Node js 26.28 35,412 1268 28.03 2% 0% 4% 100%
k-nucleotide
source secs mem gz busy cpu load
Dart 35.87 570,028 1502 94.57 53% 71% 72% 68%
Node js 26.32 397,472 1812 77.28 74% 71% 62% 87%
fasta
source secs mem gz busy cpu load
Dart 9.52 161,376 1403 10.18 97% 6% 3% 1%
Node js 3.62 67,488 2047 10.61 72% 75% 72% 74%
mandelbrot
source secs mem gz busy cpu load
Dart 21.09 183,592 911 58.37 44% 94% 41% 98%
Node js 6.84 88,016 1122 26.99 98% 98% 99% 98%
spectral-norm
source secs mem gz busy cpu load
Dart 16.12 134,968 489 17.72 8% 98% 1% 3%
Node js 4.40 61,768 999 16.63 93% 97% 95% 93%
pidigits
source secs mem gz busy cpu load
Dart 11.28 193,884 500 12.43 97% 4% 7% 2%
Node js 2.58 36,368 599 2.97 100% 6% 7% 2%
fannkuch-redux
source secs mem gz busy cpu load
Dart 97.00 122,260 495 102.90 81% 3% 2% 20%
Node js 19.48 58,152 1313 77.05 99% 99% 99% 99%
reverse-complement
source secs mem gz busy cpu load
Dart 255.89 1,159,448 885 293.58 13% 50% 22% 30%
Node js 4.10 1,340,368 1480 8.58 52% 56% 73% 28%
Dart

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

Node js

v14.2.0