MaixPy läuft auf dem Kendryte K210 Risc-V Board: Beitrag "RiscV Maixduino" Wie schnell ist nun das Board? Für Micropython gibt es hier ein paar Benchmarks: https://github.com/micropython/micropython/wiki/Performance Leider gibt es bei MaixPy kein "millis()". Dehalb folgendes script:
1 | import utime |
2 | def performanceTest(): |
3 | millis = utime.ticks_ms() |
4 | endTime = millis + 10000 |
5 | count = 0 |
6 | while utime.ticks_ms() < endTime: |
7 | count += 1 |
8 | print("Count: ", count) |
9 | performanceTest() |