debug performance

This commit is contained in:
Stephan 2019-11-16 14:32:17 +01:00
parent 9b9b0cb1c6
commit 11b30671d4
6 changed files with 10 additions and 7 deletions

View file

@ -13,7 +13,8 @@
{% include "hippie/partials/_head_script.njk" %}
<script>
debugOn = true;
document.addEventListener('DOMContentLoaded', function () {
logPerf('Debugging performance', debugOn);
document.addEventListener('DOMContentLoaded', function () {
logPerf('Document \'DOMContentLoaded\' event fired.');
});
logPerf('On HEAD, starting...');