Category Archives: JavaScript

Javascript : Find script execution time

Using the script below you can find how much time it took to execute your javascript code. var startDate = new Date(); // execute your tasks here var endDate = new Date(); var timeTaken = endDate.getTime() – startDate.getTime(); alert(‘Time take … Continue reading

Posted in JavaScript, Web development | Tagged , | 4 Comments