The Computer Language
22.05 Benchmarks Game

Fastest cpu secs VW Smalltalk versus Node js

Always look at the source code.

If the fastest programs are hand-written vector instructions, does the host language matter? You might be more interested in the less optimised programs — more cpu seconds, less gz source code.

fannkuch-redux
source mem gz cpu
Node js #5 85,336 1313 44.58
VW Smalltalk 54,996 916 454.21
n-body
source mem gz cpu
Node js #6 41,056 1268 8.43
VW Smalltalk 55,180 1782 110.90
spectral-norm
source mem gz cpu
Node js #7 41,524 414 5.38
Node js 41,668 319 5.45
Node js #6 90,932 999 6.20
VW Smalltalk 55,100 642 49.21
VW Smalltalk #2 246,440 1047 62.28
mandelbrot
source mem gz cpu
Node js #3 118,180 1122 16.00
Node js #2 48,484 416 28.21
Node js 43,580 373 65.26
VW Smalltalk 54,944 603 323.20
VW Smalltalk #2 178,808 929 356.29
pidigits
source mem gz cpu
Node js #4 45,096 481 1.14
VW Smalltalk #4 55,540 753 8.30
Node js #2 72,556 397 13.11
Node js #3 72,536 424 13.22
regex-redux
source mem gz cpu
Node js #3 1,045,556 668 5.97
Node js #4 985,940 463 6.24
fasta
source mem gz cpu
Node js #5 101,844 2047 6.38
VW Smalltalk 55,916 1539 30.49
Node js 50,304 809 37.60
k-nucleotide
source mem gz cpu
Node js #3 419,748 1812 43.70
Node js #2 72,156 935 112.88
Node js 621,752 1008 115.69
VW Smalltalk #5 385,252 1317 439.66
VW Smalltalk 385,732 1110 585.75
reverse-complement
source mem gz cpu
Node js #7 1,556,168 1480 4.97
Node js #2 727,572 1221 16.87
VW Smalltalk   Bad Output  
binary-trees
source mem gz cpu
Node js #6 1,322,340 744 27.83
Node js 1,173,028 711 36.72
VW Smalltalk 375,616 711 36.82
VW Smalltalk #3 375,908 930 38.72
Node js #7 1,107,220 451 40.72
VW Smalltalk

VisualWorks® 8.3
Aug 19 2017

Node js

v18.1.0