Simple JavaScript execution timer
/** * Simple JavaScript execution timer * http://programming.torensma.net * * Example: * scriptTimer.startTimer(); * alert(‘Hello world!’); * scriptTimer.stopTimer(); * alert(scriptTimer.scriptRunTime); */ var scriptTimer = { scriptRunTime : 0, startTime : 0, stopTime : 0, startTimer : function(){ time = new Date(); [...]
More »
I am a .NET programmer first and foremost. But in my spare time I like to play around with PHP, Erlang, Haskell, F#,