The Computer Language
Benchmarks Game

Smalltalk VW programs versus Python 3

by benchmark task performance

n-body
source secs mem gz cpu cpu load
Smalltalk VW 194.10 53,820 1652 194.04 100% 0% 1% 1%
Python 3 836.27 7,756 1181 836.06 0% 1% 1% 100%
fasta
source secs mem gz cpu cpu load
Smalltalk VW 47.92 53,860 1315 47.89 100% 1% 1% 1%
Python 3 113.03 7,860 977 112.99 1% 100% 0% 1%
spectral-norm
source secs mem gz cpu cpu load
Smalltalk VW 91.00 53,788 438 90.97 1% 1% 0% 100%
Python 3 180.01 55,892 437 714.86 99% 100% 99% 100%
binary-trees
source secs mem gz cpu cpu load
Smalltalk VW 75.98 374,740 658 75.87 10% 53% 39% 1%
Python 3 87.21 453,060 581 315.71 92% 88% 94% 90%
fannkuch-redux
source secs mem gz cpu cpu load
Smalltalk VW 713.41 55,892 838 713.05 1% 1% 29% 71%
Python 3 501.72 54,708 944 1,967.92 98% 97% 100% 99%
mandelbrot
source secs mem gz cpu cpu load
Smalltalk VW 583.99 55,640 467 583.75 0% 100% 1% 1%
Python 3 250.62 52,752 686 1,000.26 100% 100% 100% 100%
pidigits
source secs mem gz cpu cpu load
Smalltalk VW 11.76 54,064 652 11.75 0% 100% 1% 1%
Python 3 3.41 9,992 382 3.40 1% 2% 100% 1%
k-nucleotide
source secs mem gz cpu cpu load
Smalltalk VW 320.94 378,812 1153 320.56 50% 50% 0% 1%
Python 3 72.35 229,040 1937 268.72 98% 94% 91% 94%
reverse-complement
source secs mem gz cpu cpu load
Smalltalk VW 31.04 331,812 754 31.02 0% 1% 100% 1%
Python 3 2.93 265,636 800 4.28 80% 46% 21% 2%
regex-redux
source secs mem gz cpu cpu load
  No program contribute your program
Python 3 1.07 ? 486 ? 5% 75% 17% 13%
Smalltalk VW

VisualWorks® Personal Use Edition Release 8.1.1 of March 10, 2016

Python 3

Python 3.6.0 (default, Feb 5 2017, 10:29:14) [GCC 5.4.0 20160609] on linux
--enable-optimizations
make profile-opt