mirror of
https://github.com/dnlbauer/obsidian-dataview-autocompletion.git
synced 2026-09-10 14:15:29 +00:00
chore: remove unused timing
This commit is contained in:
@@ -15,7 +15,7 @@ export class SuggestionIndex {
|
|||||||
|
|
||||||
public buildNewIndex() {
|
public buildNewIndex() {
|
||||||
// console.log("Begin Rebuilding dataview suggestion index");
|
// console.log("Begin Rebuilding dataview suggestion index");
|
||||||
const startTime = performance.now();
|
// const startTime = performance.now();
|
||||||
const dataviewApi = getAPI(this.plugin.app);
|
const dataviewApi = getAPI(this.plugin.app);
|
||||||
|
|
||||||
const newSuggestions: string[] = [];
|
const newSuggestions: string[] = [];
|
||||||
@@ -54,7 +54,7 @@ export class SuggestionIndex {
|
|||||||
this.suggestionsRefCount = newSuggestionsRefCount;
|
this.suggestionsRefCount = newSuggestionsRefCount;
|
||||||
this.suggestionsRefs = newSuggestionsRefs;
|
this.suggestionsRefs = newSuggestionsRefs;
|
||||||
|
|
||||||
const endTime = performance.now();
|
// const endTime = performance.now();
|
||||||
// console.log(
|
// console.log(
|
||||||
// `Rebuilt dataview autocomplete index (${this.suggestionsList.length} elements, ${(endTime - startTime).toFixed(2)}ms)`,
|
// `Rebuilt dataview autocomplete index (${this.suggestionsList.length} elements, ${(endTime - startTime).toFixed(2)}ms)`,
|
||||||
// );
|
// );
|
||||||
|
|||||||
Reference in New Issue
Block a user