Micropython platforms benchmarking

SBC CPU benchmark

SBC is based on STM32F7, but there are other CPUs on the market. Here we compare some of them to a common Python benchmark.


Since SBC is designed to run Python code, we compare the execution time of a complete Python code, known as pystone.

This benchmark has several parts to compare different Python operations like function calls, declarations, data type operations, etc.

Internally it contains less than 300 lines and looks like this:


Once executed, it measures the execution time in units of [pystones / second] and this measure can be used to compare between different platforms.
The complete source code can be found here: https://github.com/micropython/micropython-lib/blob/v1.9.3/pystone/pystone.py

After running the benchmark on different platforms, we got the following results:


In conclusion

  • The reference that we can all understand is the result from the PC platform, rated at 200 [pystones/sec].
  • The range of microcontrollers varies from 0.5 to 5 [pystones/sec] and the SBC reaches 1.9, so it can run Python roughly 100 times slower than a PC.
  • The SBC is also between the ESP32 and H7 devices, so it offers an average performance compared to the microcontrollers available on the market nowadays.

Want to learn more about GPS/RTK?

1. Our engineering team will contact you to solve any questions
2. We will keep you updated about promotions and new product releases
3.You will only hear from us when we have important news, we won’t spam your email

Chat with us
Chat with us
Questions, doubts, issues? We're here to help you!
None of our operators are available at the moment. Contact us at info@ardusimple.com, we always answer.
Our operators are busy. Contact us at info@ardusimple.com, we always answer.
Have you got question? Write to us!
This chat session has ended