Using my Fibonacci(24) benchmark which isn't a general purpose benchmark but what I have used to give a ballpark comparison between devices and programming languages -Python on my Pi 4B is about 130 times faster than an RP2040 running MicroPython at its default 125 MHz, but when the faster clock speed is taken into account it is only 11 times faster. That's really not that bad in my book for a device which is about the tenth of the cost.
I don't have an RP235X to test but I'll update the numbers when I do.
Code:
.----------.------------.-------.------------.-------------. | Hardware | Python | MHz | Seconds | Multiplier | |----------|------------|-------|------------|-------------| | Pi 4B | 3.11.2 | 1500 | 0.028458 | 130 10.8 | |----------|------------|-------|------------|-------------| | RP2350 | | 250 | | | | | | 125 | | | |----------|------------|-------|------------|-------------| | RP2040 | 1.23.0-309 | 250 | 1.846815 | 2 1.0 | | | | 125 | 3.694282 | 1 1.0 | `----------^------------^-------^------------^-------------'
I don't have an RP235X to test but I'll update the numbers when I do.
Statistics: Posted by hippy — Sat Oct 12, 2024 12:36 pm