• The Arduino had the very useful "millis()" timer but the Espruino has none?
    I need an easy way to check a block of JS code with a start/stop timer in milliseconds.
    Any suggestions?

  • getTime() returns current time since system startup in seconds as a floating point number. That should do what you want.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

New-Bee Easy way to check timing execution of JavaScript block of code

Posted by Avatar for user7114 @user7114

Actions