The Computer Language
24.04 Benchmarks Game

VW Smalltalk versus Toit fastest performance

How the programs are written matters! 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 seconds, less gz source code.

fannkuch-redux
source secs mem gz cpu secs
VW Smalltalk 452.48 55,168 916 452.41
Toit 1,214.94 19,640 452 1,215.05
Toit #2 1,377.63 19,640 443 1,377.78
n-body
source secs mem gz cpu secs
VW Smalltalk 111.27 55,552 1787 111.25
Toit 647.53 19,640 1198 647.57
spectral-norm
source secs mem gz cpu secs
VW Smalltalk 49.25 55,424 649 49.25
VW Smalltalk #2 21.94 290,048 1054 62.27
Toit 338.12 19,644 318 338.15
mandelbrot
source secs mem gz cpu secs
VW Smalltalk 324.52 55,296 609 324.50
VW Smalltalk #2 102.04 189,824 935 353.57
Toit #2 1,410.72 19,640 490 1,410.83
Toit 1,614.19 19,640 387 1,614.22
pidigits
source secs mem gz cpu secs
VW Smalltalk #4 8.19 55,808 757 8.19
regex-redux
  No programs contribute your programs
fasta
source secs mem gz cpu secs
VW Smalltalk 29.04 55,296 1542 29.04
Toit 76.86 356,956 965 76.85
k-nucleotide
source secs mem gz cpu secs
VW Smalltalk #5 426.86 385,292 1323 426.80
VW Smalltalk 574.61 386,160 1116 574.54
reverse-complement
source secs mem gz cpu secs
Toit 102.68 986,100 578 102.69
VW Smalltalk   Bad Output  
binary-trees
source secs mem gz cpu secs
VW Smalltalk #3 17.22 375,936 932 37.86
VW Smalltalk 38.94 375,680 717 38.92
Toit #2 629.75 724,608 383 629.86
Toit 1,710.04 313,216 397 1,710.38
VW Smalltalk

VisualWorks® 8.3
Aug 19 2017

Toit

v2.0.0-alpha.146