Linpack benchmark for embedded systems (Arduino, ESP32 et. al.). Adapted from https://gist.github.com/projectgus/8279947
This is a project for @platformIO. But you can also open the .ino file in the Arduino IDE and not have a care in the world about what PlatformIO is.
Benchmark scores:
MCU/Board | Clock speed, MHz | float (32-bit), MFLOPS | double (64-bit), MFLOPS |
---|---|---|---|
Arduino Uno R3 | 16 | 0.077 | n/a (double-precision not available on the AVR platform) |
Arduino Due | 84 | 0.62 | 0.38 |
ESP8266 (NodeMCU V3) | 80 | 0.77 | 0.46 |
ESP32 | 160 | 13.4 | 1.98 |
- Arduino Due @ 84 MHz - 0.38 double-precision MFLOPS, 0.62 single-precision
- Espressif ESP32 @ 160 MHz - 1.98 double-precision MFLOPS, 13.4 single-precision
- Arduino Uno R3 @ 16 MHz - 0.077 MFLOPS single precision (double-precision not available on the 8-bit AVR platfrom)