HW Performance metrics

Hi,
I’m interested in characterizing the OpenM7. For that, I would like to have some metrics of basic measurements such as read/write accesses (sequential and random) to memory, flash and to the sd card (assuming I have the fastest supported card). My goal would be to obtain a table like this one (Latency numbers every programmer should know · GitHub) but for the OpenMV with the M7 :ugeek: .



Has anyone ever made these measurements?

Thank you.
Best,
Javier

Hi, um, you’ll need to get into the C firmware for this. In python you’ll get weird numbers. In C you’ll find a systick module which counts up every 1 ms. You can us that to benchmark. They have a method to get the current ms count and another to compare the elapsed time.

Is that good enough?