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 17.29 813,492 1349 43.83 80% 66% 53% 55%
Node js 21.79 1,045,424 744 77.02 87% 91% 88% 88%
regex-redux
source secs mem gz busy cpu load
Dart 8.37 917,220 1041 13.17 24% 84% 32% 17%
Node js 10.46 789,476 668 13.29 16% 28% 74% 8%
pidigits
source secs mem gz busy cpu load
Dart 11.01 110,964 500 11.62 98% 3% 4% 1%
Node js 12.48 65,080 530 13.42 46% 2% 3% 56%
n-body
source secs mem gz busy cpu load
Dart 27.69 114,464 1409 28.19 1% 1% 99% 1%
Node js 23.25 35,112 1268 24.63 5% 0% 100% 0%
k-nucleotide
source secs mem gz busy cpu load
Dart 39.78 459,340 1502 107.60 53% 79% 52% 87%
Node js 25.81 398,104 1812 79.25 77% 77% 67% 86%
fasta
source secs mem gz busy cpu load
Dart 9.41 120,888 1403 9.84 1% 70% 30% 3%
Node js 3.40 65,372 2047 9.80 75% 64% 57% 93%
mandelbrot
source secs mem gz busy cpu load
Dart 20.98 173,508 911 57.16 83% 49% 99% 42%
Node js 6.80 88,168 1122 26.85 98% 98% 99% 99%
spectral-norm
source secs mem gz busy cpu load
Dart 16.04 119,092 462 16.65 99% 2% 1% 1%
Node js 4.37 60,716 999 16.63 97% 96% 94% 94%
fannkuch-redux
source secs mem gz busy cpu load
Dart 97.21 113,784 495 98.63 1% 0% 1% 100%
Node js 24.87 57,276 1316 98.67 99% 99% 99% 99%
reverse-complement
source secs mem gz busy cpu load
Dart 278.04 1,240,876 885 302.41 31% 15% 20% 43%
Node js 4.85 1,331,224 1307 11.63 53% 74% 66% 46%
Dart

Dart VM version: 2.7.0 (Fri Dec 6 16:26:51 2019 +0100) on "linux_x64"

Node js

v13.7.0