mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
measuring how much time does autocomplete building takes
This commit is contained in:
@@ -16,7 +16,7 @@ const jumpToNote = (function() {
|
||||
});
|
||||
|
||||
await autoCompleteEl.autocomplete({
|
||||
source: noteTree.getAutocompleteItems(),
|
||||
source: await stopWatch("building autocomplete", noteTree.getAutocompleteItems),
|
||||
minLength: 0
|
||||
});
|
||||
}
|
||||
@@ -26,11 +26,6 @@ const jumpToNote = (function() {
|
||||
return link.getNodePathFromLabel(val);
|
||||
}
|
||||
|
||||
function getSelectedNoteId() {
|
||||
const notePath = getSelectedNotePath();
|
||||
return treeUtils.getNoteIdFromNotePath(notePath);
|
||||
}
|
||||
|
||||
function goToNote() {
|
||||
const notePath = getSelectedNotePath();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user