Skip to content

Instantly share code, notes, and snippets.

@codenothing
codenothing / performance.js
Created March 16, 2011 04:38
Semi-Detailed page load performance timings
// http://w3c-test.org/webperf/specs/NavigationTiming/
(function( window ) {
// Skip unsupported browsers
if ( ! window.performance || ! window.performance.timing ) {
return;
}
// Output
function perf(){