The Computer Language
Benchmarks Game

Dart versus Node js fastest programs

Always look at the source code.

These are only the fastest programs. Do some of them use manually vectorized SIMD? Look at the other programs. They may seem more-like a fair comparison to you.

pidigits
source secs mem gz busy cpu load
Dart 3.37 148,780 500 3.56 11% 33% 23% 39%
Node js 6.14 66,508 530 6.25 1% 0% 77% 24%
regex-redux
source secs mem gz busy cpu load
Dart 4.93 883,796 1055 7.75 26% 66% 43% 22%
Node js 4.79 1,159,940 668 5.86 91% 2% 1% 29%
n-body
source secs mem gz busy cpu load
Dart 8.73 119,368 1311 8.85 1% 98% 1% 1%
Node js 8.39 35,548 1268 8.74 0% 2% 2% 100%
fannkuch-redux
source secs mem gz busy cpu load
Dart 12.45 149,696 1254 44.93 90% 91% 90% 90%
Node js 11.97 63,036 1313 45.89 96% 96% 95% 96%
binary-trees
source secs mem gz busy cpu load
Dart 8.82 699,256 887 30.31 84% 86% 88% 86%
Node js 6.95 1,309,892 744 21.41 76% 75% 88% 69%
k-nucleotide
source secs mem gz busy cpu load
Dart 24.37 528,468 1520 65.55 67% 69% 47% 86%
Node js 15.73 392,924 1812 43.25 91% 62% 75% 47%
fasta
source secs mem gz busy cpu load
Dart 5.26 159,292 1402 5.40 94% 2% 2% 4%
Node js 2.04 71,304 2047 6.32 75% 80% 80% 75%
mandelbrot
source secs mem gz busy cpu load
Dart 11.93 223,708 907 32.01 76% 36% 57% 98%
Node js 4.04 92,960 1122 15.95 100% 98% 98% 98%
spectral-norm
source secs mem gz busy cpu load
Dart 5.59 124,148 461 5.76 98% 1% 1% 3%
Node js 1.84 64,452 999 6.18 83% 86% 83% 83%
reverse-complement
source secs mem gz busy cpu load
Dart 40.85 6,597,368 563 47.85 27% 68% 9% 13%
Node js 2.13 1,525,096 1481 4.31 11% 70% 62% 60%
Dart

Dart SDK version: 2.12.0 (stable) (Thu Feb 25 19:50:53 2021 +0100) on "linux_x64"

Node js

v15.10.0