Skip to content

Instantly share code, notes, and snippets.

@adamsanderson
Created April 22, 2011 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamsanderson/936841 to your computer and use it in GitHub Desktop.
Save adamsanderson/936841 to your computer and use it in GitHub Desktop.
Webkit Page Load Performance
// One liner to report the perceived performance of a page:
TM = window.performance.timing; console.log(window.location.toString(), TM.domInteractive - TM.unloadEventStart, TM.domComplete - TM.unloadEventStart);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment