Very simple JavaScript tuning

I noticed that a piece of JavaScript code takes a long time to execute. So, i created a simple time stamp code to help me better understand how much time the code takes to execute: var startTime = new Date(); // do some processing var endTime = new Date(); var timeDiff = endTime.getTime() – startTime.getTime(); […]

Read more "Very simple JavaScript tuning"