Benchmarking MicroPython

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

Comments (5)

zem · 8m 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.
mrheosuper · 1h 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.
mbirth · 4h 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.

snvzz · 3h ago
>pico 2w

ARM or RISC-V?

drewcoo · 5h 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.