Benchmarking MicroPython

15 ibobev 6 7/31/2025, 9:41:55 PM blog.miguelgrinberg.com ↗

Comments (6)

wewewedxfgdf · 1h ago
As the author points out, performance is pretty much irrelevant - it is a rewrite of python prioritizing memory usage.
zem · 2h ago
would have been nice to see benchmarks against the equivalent c code running on the same microprocessor, not against micropython code running on different hardware. the post just told me that microprocessors are slow, not how well micropython performs.
mbirth · 7h ago
I'm missing testing the different emitters as demonstrated here: https://www.kickstarter.com/projects/214379695/micro-python-...

Not sure whether they're supported on all the architectures, though.

mrheosuper · 3h ago
Generate 2000 random numbers and sorting them using bubble sort on 160Mhz 32bit mcu takes 80 seconds ? This is exactly why micropython is a toy.
snvzz · 6h ago
>pico 2w

ARM or RISC-V?

drewcoo · 7h ago
Somehow, I don't mind that the code blew the stack because it was recursion without memoization. Blowing the stack should be a pretty clear sign to figure out why and fix it.