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 2,017.01 69,124 416 2,016.99
MicroPython #8 2,834.54 19,312 414 2,834.44
n-body
source secs mem gz cpu secs
Toit #8 536.61 68,864 1129 536.66
MicroPython #8 1,737.32 19,312 1172 1,737.25
spectral-norm
source secs mem gz cpu secs
Toit #8 308.08 70,012 329 308.08
MicroPython #8 749.59 1,051,264 334 749.52
mandelbrot
source secs mem gz cpu secs
Toit #8 1,942.05 69,176 421 1,941.96
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 81.57 420,176 965 81.57
Toit #8 485.35 69,104 728 484.93
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 104.57 1,049,356 578 104.57
MicroPython #4   Failed  
binary-trees
source secs mem gz cpu secs
Toit #8 273.67 378,948 466 273.68
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.163

MicroPython

MicroPython v1.24.0
preview.44.ge9c898cb3