The Computer Language
24.11 Benchmarks Game

Toit versus MicroPython 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
Toit #8 1,936.53 69,028 416 1,936.51
MicroPython #8 2,834.54 19,312 414 2,834.44
n-body
source secs mem gz cpu secs
Toit #8 501.82 69,228 1129 501.81
MicroPython #8 1,737.32 19,312 1172 1,737.25
spectral-norm
source secs mem gz cpu secs
Toit #8 327.38 70,224 329 327.37
MicroPython #8 749.59 1,051,264 334 749.52
mandelbrot
source secs mem gz cpu secs
Toit #8 1,768.67 69,096 421 1,768.59
MicroPython #3 2,831.24 19,076 319 2,831.02
MicroPython #8 5,227.94 19,500 392 5,226.91
fasta
source secs mem gz cpu secs
Toit 75.89 420,512 965 75.88
Toit #8 403.45 68,952 728 402.86
MicroPython #8 624.75 19,312 730 624.46
k-nucleotide
source secs mem gz cpu secs
Toit #8   Timed Out  
MicroPython #8   Timed Out  
reverse-complement
source secs mem gz cpu secs
Toit 102.69 1,049,580 578 102.68
MicroPython #4   Failed  
binary-trees
source secs mem gz cpu secs
Toit #8 270.28 379,512 466 270.30
MicroPython #8 792.67 1,051,080 535 792.51
pidigits
  No programs contribute your programs
regex-redux
  No programs contribute your programs
Toit

v2.0.0-alpha.174

MicroPython

MicroPython v1.24.0
preview.44.ge9c898cb3