Posted By

cerxx on 04/15/19



Versions (?)

How to measure the js script lead time

 / Published in: JavaScript


To measure time in microseconds, you must use the standard () function. It returns a real number (time from the start of the process) in milliseconds, and the fractional part is, respectively, microseconds.

  1. var time =;
  2. // some code
  3. time = - time;
  4. console.log('????? ?????????? = ', time);

Report this snippet  

You need to login to post a comment.