The Computer Language
23.03 Benchmarks Game

VW Smalltalk versus Python 3 fastest performance

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 462.75 55,112 916 530.77
Python 3 #6 913.87 11,080 385 913.83
Python 3 #4 285.20 14,264 950 1,123.47
n-body
source secs mem gz cpu secs
VW Smalltalk 113.02 55,444 1782 113.00
Python 3 383.12 11,096 1196 383.11
Python 3 #2 402.59 11,096 1242 402.57
spectral-norm
source secs mem gz cpu secs
VW Smalltalk 49.48 55,336 642 49.48
VW Smalltalk #2 21.87 247,432 1047 62.48
Python 3 #8 78.36 15,704 407 311.22
Python 3 #6 315.69 11,200 328 315.68
Python 3 #7 89.17 15,516 417 352.71
mandelbrot
source secs mem gz cpu secs
VW Smalltalk 324.58 55,124 603 324.55
VW Smalltalk #2 102.40 190,452 929 353.48
Python 3 #7 155.28 14,244 688 616.01
Python 3 #2   Timed Out  
Python 3 #5   Failed  
pidigits
source secs mem gz cpu secs
Python 3 #3 1.25 13,564 567 1.25
Python 3 #5 1.39 11,428 363 1.39
Python 3 #4 4.21 11,096 342 4.21
VW Smalltalk #4 8.06 55,768 753 8.06
regex-redux
source secs mem gz cpu secs
Python 3 #2 1.38 168,144 1403 2.65
Python 3 8.02 460,684 512 14.90
fasta
source secs mem gz cpu secs
VW Smalltalk 29.07 55,220 1539 29.07
Python 3 #2 49.99 11,088 1121 49.99
Python 3 #3 50.28 11,088 1003 50.27
Python 3 58.84 11,092 817 58.84
Python 3 #5 33.40 827,232 1947 61.49
k-nucleotide
source secs mem gz cpu secs
Python 3 #3 44.13 262,348 1967 165.01
Python 3 58.56 379,464 607 211.98
Python 3 #8 69.21 505,836 655 214.24
VW Smalltalk #5 423.68 385,100 1317 423.42
VW Smalltalk 578.93 385,940 1110 578.89
reverse-complement
source secs mem gz cpu secs
Python 3 #3 4.96 508,412 796 4.95
Python 3 #5 3.72 1,500,212 954 6.76
Python 3 8.53 1,986,544 479 8.53
Python 3 #2 8.58 1,788,056 434 8.58
Python 3 #6 6.17 2,484,084 814 9.23
Python 3 #4 12.04 4,002,656 335 12.04
VW Smalltalk   Bad Output  
binary-trees
source secs mem gz cpu secs
VW Smalltalk 38.58 375,420 711 38.57
VW Smalltalk #3 17.36 375,848 930 40.61
Python 3 #2 104.73 271,980 338 104.72
Python 3 #5 35.33 274,884 660 125.79
Python 3 #4 34.53 276,752 472 125.93
Python 3 35.93 276,952 589 126.44
Python 3 #3 50.99 672,016 1238 142.94
VW Smalltalk

VisualWorks® 8.3
Aug 19 2017

Python 3

Python 3.11.1