Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work on performance issues #158

Open
msphair opened this issue Oct 8, 2023 · 1 comment
Open

work on performance issues #158

msphair opened this issue Oct 8, 2023 · 1 comment
Assignees
Milestone

Comments

@msphair
Copy link
Member

msphair commented Oct 8, 2023

we're having long delays when the plugin is unresponsive when adding large groups like the root as a folder group. this ticket is for investigating and then either spawning new tickets for individual fixes, or fixing it wholesale within this ticket.

considerations:

  • how best to diagnose and track performance
    • icicle charts
    • console logs with timers
    • some other software?
    • something built into obsidian api?
  • we have a few levels of caching on top of obsidian's cache
    • remove unused layers of caching (I think some containers have container-specific caching that might be obsolete)
    • ensure robustness of centralized container caching
    • ensure we're using the obsidian apis correctly and efficiently
  • we are likely drawing too much too often
    • ensure the events that trigger a redraw are being used correctly (don't redraw everything if a file that isn't drawn is moved or changed)
    • ensure that we aren't doing expensive operations in the rendering cycle
    • ensure we're only adding stuff to the dom that needs to be there (consider not adding files in collapsed folders to the dom)
@msphair msphair added this to the 0.9 milestone Oct 8, 2023
@msphair msphair self-assigned this Oct 8, 2023
@msphair msphair modified the milestones: 0.9, 1.0, 0.10 Oct 8, 2023
@robotbrad
Copy link
Member

i noticed some slow down when typing in my vault tonight, it seems to occur if you have a root folder group in oblogger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants