Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript time script

var start = new Date();

//do some think that takes a while here

var runTime = new Date() - start;
console.log("Script took:"+runTime+" Milliseconds to run");
 
PREVIOUS NEXT
Tagged: #javascript #time #script
ADD COMMENT
Topic
Name
8+6 =