How to Measure Function Execution Time in JavaScript | CodeTrail