How to benchmark on real hardware?

How do people benchmark MonkeyC on real hardware, given that you have to avoid tripping the watchdog timer?

In many language ecosystems, there are readily available libraries for benchmarking.  MonkeyC's OSS ecosystem leaves a lot to be desired.  But I imagine there might be a `.mc` file on github that implements a simple benchmarking harness.

I imagine something like this, which I'd rather not implement myself if it's already been done:

Run code in a loop, first 100 times, then 200, keep trying higher iteration counts till tripping the watchdog.  Since the watchdog terminates the app, save results to `Properties` so you can restart the app and see the saved benchmarking results from last time.

It's not much code, but it'd still be cool if a shared implementation existed in the OSS ecosystem instead of everyone presumably writing their own.