Created
April 14, 2010 09:54
-
-
Save andywenk/365629 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a really simple performance test | |
// use this with firebug | |
var start = (new Date()).getMilliseconds(); | |
// function or script stuff | |
var end = (new Date()).getMilliseconds(); | |
var diff = end - start; | |
console.log('start: ' + start + ' end: ' + end + ' diff: ' + diff); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment