From 317bbeeee2872f2b894c8072468250a41112433f Mon Sep 17 00:00:00 2001 From: gamebeaker Date: Mon, 23 Sep 2024 19:28:28 +0200 Subject: [PATCH] remove time meassurement of LibRenderSavedEpubs() --- plugin/js/Library.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/js/Library.js b/plugin/js/Library.js index 406d2699..51013ddf 100644 --- a/plugin/js/Library.js +++ b/plugin/js/Library.js @@ -261,7 +261,6 @@ class Library { } static LibRenderSavedEpubs(){ - var startTime = performance.now() chrome.storage.local.get(null, async function(items) { let ShowAdvancedOptions = document.getElementById("LibShowAdvancedOptionsCheckbox").checked; let CurrentLibKeys = await Library.LibGetAllLibStorageKeys("LibEpub", Object.keys(items)); @@ -376,8 +375,6 @@ class Library { for (let i = 0; i < CurrentLibKeys.length; i++) { document.getElementById("LibCover"+CurrentLibKeys[i]).src = await items["LibCover" + CurrentLibKeys[i]]; } - var endTime = performance.now() - console.log(`Call to doSomething took ${endTime - startTime} milliseconds`) }); }