You are reading a single comment by @bluebie and its replies. Click here to read the full conversation.
  • I don't see any debug stuff coming out of the serial console. Loop seems to run pretty fast.

    > s = getTime(); for(var i = 0; i < 500; i++) {
    :  void(0);
    :}; e = getTime(); console.log("Seconds:" + (e-s) / 500);
    Seconds:0.00035071399
    > s = getTime(); for(var i = 0; i < 500; i++) {
    :  getTime();
    :}; e = getTime(); console.log("Seconds:" + (e-s) / 500);
    Seconds:0.00046566599
    
About

Avatar for bluebie @bluebie started