Skip to content

Commit

Permalink
refactor: 🔥 Remove timers
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Dec 29, 2021
1 parent 0ff1ae4 commit df3b148
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1261,27 +1261,21 @@ export default class BCPlugin extends Plugin {
db.end2G();
// !SECTION Hierarchy Notes

console.time("Folder-Notes");
this.addFolderNotesToGraph(eligableAlts[BC_FOLDER_NOTE], frontms, mainG);
console.timeEnd("Folder-Notes");
console.time("Tag-Notes");
this.addTagNotesToGraph(eligableAlts[BC_TAG_NOTE], frontms, mainG);
console.timeEnd("Tag-Notes");
console.time("Link-Notes");
this.addLinkNotesToGraph(eligableAlts[BC_LINK_NOTE], frontms, mainG);
console.timeEnd("Link-Notes");

db.start1G("Traverse-Notes");
console.time("Traverse-Notes");

this.addTraverseNotesToGraph(
eligableAlts[BC_TRAVERSE_NOTE],
frontms,
mainG,
this.buildObsGraph()
);
console.timeEnd("Traverse-Notes");
console.time("Dendron-Notes");

this.addDendronNotesToGraph(frontms, mainG);
console.timeEnd("Dendron-Notes");

db.end1G();

files.forEach((file) => {
Expand Down

0 comments on commit df3b148

Please sign in to comment.