From f5f9d49b0b4ee6484f9c4037e65c64e68ff6d3fb Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Sat, 15 Feb 2025 09:53:55 +0100 Subject: [PATCH] chore: remove unused timing --- src/SuggestionIndex.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SuggestionIndex.ts b/src/SuggestionIndex.ts index 4125d85..bf0d4d3 100644 --- a/src/SuggestionIndex.ts +++ b/src/SuggestionIndex.ts @@ -15,7 +15,7 @@ export class SuggestionIndex { public buildNewIndex() { // console.log("Begin Rebuilding dataview suggestion index"); - const startTime = performance.now(); + // const startTime = performance.now(); const dataviewApi = getAPI(this.plugin.app); const newSuggestions: string[] = []; @@ -54,7 +54,7 @@ export class SuggestionIndex { this.suggestionsRefCount = newSuggestionsRefCount; this.suggestionsRefs = newSuggestionsRefs; - const endTime = performance.now(); + // const endTime = performance.now(); // console.log( // `Rebuilt dataview autocomplete index (${this.suggestionsList.length} elements, ${(endTime - startTime).toFixed(2)}ms)`, // );