The Computer Language
Benchmarks Game

Smalltalk VW programs versus Python 3

by benchmark task performance

spectral-norm
source secs mem gz cpu cpu load
Smalltalk VW 32.22 244,048 1054 82.07 84% 83% 84% 86%
Python 3 188.83 54,524 437 750.46 99% 100% 100% 99%
n-body
source secs mem gz cpu cpu load
Smalltalk VW 194.34 56,384 1805 194.29 100% 0% 0% 1%
Python 3 787.02 7,744 1181 786.82 0% 1% 0% 100%
binary-trees
source secs mem gz cpu cpu load
Smalltalk VW 31.15 375,020 938 83.72 59% 78% 64% 71%
Python 3 86.90 451,548 581 306.31 89% 97% 87% 89%
fasta
source secs mem gz cpu cpu load
Smalltalk VW 47.34 56,084 1536 47.32 100% 1% 1% 0%
Python 3 110.91 8,024 977 110.87 100% 1% 1% 1%
mandelbrot
source secs mem gz cpu cpu load
Smalltalk VW 214.93 118,764 940 151.34 28% 75% 68% 98%
Python 3 273.43 53,416 686 1,091.35 100% 100% 100% 100%
fannkuch-redux
source secs mem gz cpu cpu load
Smalltalk VW 694.43 53,736 927 694.06 1% 100% 1% 1%
Python 3 483.79 51,896 944 1,880.10 97% 94% 100% 99%
pidigits
source secs mem gz cpu cpu load
Smalltalk VW 13.37 55,996 773 13.36 1% 1% 100% 1%
Python 3 3.51 10,344 382 3.50 0% 2% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
Smalltalk VW 652.47 387,932 1303 651.61 39% 63% 34% 21%
Python 3 84.73 221,028 1937 276.97 97% 93% 91% 91%
reverse-complement
source secs mem gz cpu cpu load
Smalltalk VW 30.82 332,960 906 30.78 1% 1% 1% 100%
Python 3 2.82 265,428 800 4.18 46% 32% 20% 54%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
Python 3 0.36 40,008 486 0.39 20% 61% 25% 19%
Smalltalk VW

VisualWorks® Personal Use Edition Release 8.2 of July 15, 2016

Python 3

Python 3.6.1 (default, Apr 18 2017, 10:33:41)
[GCC 6.3.0 20170406]
--enable-optimizations --with-lto
make profile-opt