How to measure time taken by a function to execute
I need to get execution time in milliseconds. I originally asked this question back in 2008. The accepted answer then was to use new Date().getTime() However, we can all agree now that usin...
https://stackoverflow.com/questions/313893/how-to-measure-time-taken-by-a-function-to-execute