Thr 2018.08.30
Am seeking a processor intensive benchmark routine, that I may test the consitency of loop timing.
Found this snippet in 'C' using square roots, but I've seen, but unable to locate, other more suitable ones.
https://stackoverflow.com/questions/1861294/how-to-calculate-execution-time-of-a-code-snippet-in-c
Have a working (at least I think I do) timing mechanism, but am open to a standard benchmark routine.
Ideas anyone?
@Robin started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thr 2018.08.30
Am seeking a processor intensive benchmark routine, that I may test the consitency of loop timing.
Found this snippet in 'C' using square roots, but I've seen, but unable to locate, other more suitable ones.
https://stackoverflow.com/questions/1861294/how-to-calculate-execution-time-of-a-code-snippet-in-c
Have a working (at least I think I do) timing mechanism, but am open to a standard benchmark routine.
Ideas anyone?