window.addEventListener('load', (function(date){return function(){ document.body.insertAdjacentHTML('afterend', '<!-- ' + (new Date - date) + 'ms -->') }})(new Date),false)