MaixPy Benchmark

OP #6027881
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()

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren