Prime-testing
Inspired by Ralph Bacon In this video: https://www.youtube.com/watch?v=VE8-DCMXzo8&t=686s he was using a test-program fetched here: https://www.perturb.org/display/988_Arduino_calculate_prime_numbers.html
He used this progam to test different processor-boards.
I have made a small extension and have "ported" it to c and Python in order to test it on Raspberrry and microPython
The result of my testing:
Platform | Number of primes | Factor |
---|---|---|
TinyPico | 2802 | 73 |
UNO | 3850 | 100 |
ESP8266 | 28012 | 728 |
ESP32 | 180045 | 4676 |
RPi ZW | 185766 | 4825 |
RPi 3 | 3246945 | 6414 |
ESP8266 run on a Wemos D1 mini