Forum: Mikrocontroller und Digitale Elektronik MaixPy Benchmark


von Christoph M. (mchris)


Lesenswert?

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()

von Christoph M. (mchris)


Lesenswert?

Ergebnis:
K210 2x400MHz Risc5 MaixPy
Count:  1,715,202

Im Vergleich zu MicroPython on Teensy 3.1: (96Mhz ARM)
Count: 1,098,681

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.