aggiunta misura del tempo di caricamento delle cantiche

This commit is contained in:
cesare 2022-12-13 19:50:17 +01:00
parent 106f7bb0c4
commit fddcbeee3d
1 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,7 @@ $(document).ready(function() {
hideMinimap(); hideMinimap();
const start = performance.now();
showCantica('Inferno') showCantica('Inferno')
$('#cantica2').css({ 'opacity': 0.40 }); $('#cantica2').css({ 'opacity': 0.40 });
@ -43,6 +44,8 @@ $(document).ready(function() {
showCantica('Purgatorio') showCantica('Purgatorio')
showCantica('Paradiso') showCantica('Paradiso')
const end = performance.now();
console.log(`Load cantica time: ${end - start} ms`);
$("[data-cg]").hover(function() { $("[data-cg]").hover(function() {