Skip to content

Instantly share code, notes, and snippets.

@anasnakawa
Created August 8, 2017 12:40
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 anasnakawa/2d4aa6e7af40830614b5b9a27a1c116d to your computer and use it in GitHub Desktop.
Save anasnakawa/2d4aa6e7af40830614b5b9a27a1c116d to your computer and use it in GitHub Desktop.
<script type="text/javascript">
(function() {
document.title = '';
function getNow() {
return ( Math.round( performance.now() / 10 ) / 100 );
}
document.addEventListener( 'DOMContentLoaded', function() {
document.title = 'dm:' + getNow();
});
window.addEventListener( 'load', function() {
document.title += ' ld:' + getNow();
});
document.addEventListener( 'shortpoint-render-customizations', function() {
document.title += ' br:' + getNow();
});
document.addEventListener( 'shortpoint-render-above-fold', function() {
document.title += ' af:' + getNow();
});
})();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment