mgmeyers / obsidian-list-callouts

Create callouts in lists in Obsidian.
GNU General Public License v3.0
301 stars 10 forks source link

Performance Issues in large files #62

Open pad-mac opened 3 months ago

pad-mac commented 3 months ago

I really love this plugin and i cannot live without it anymore. For my academic writing i work with very large comprehensive outlines, your plugin is the perfect solution to mark where improvement is needed, sources missing etc etc. However i am getting significant performance issues in large files (around 10.000 Words, where about 70% percent of the bullet points can be list callouts). Due to this typing and scrolling is extremely laggy, practically unusable. When i disable the plugin everything is smooth immediately, so other causes are impossible. Additionally sometimes the rendering of list callouts fails, either while scrolling to another section or completely for the file until reloaded. I am aware i don't have the strongest machine, but since i don't have performance drops like this with other plugins i wonder if there are any implementations that would solve this? I would be really glad if you would inquire that, as i really don't want to disable this plugin, as i cannot imagine any other workarounds. Your plugin is really an essential part of my whole academic writing process. Thank you.

danyim commented 3 months ago

I'm also running into performance issues when using this plugin, even though I love the feature for my notes.

The performance degradation is easily reproducible if you type random characters really quickly, you'll notice with this plugin enabled that the editor stutters when processing the inputs. @mgmeyers I'm really hoping you can profile what might be happening here to reduce the input lag.

csss1234 commented 3 months ago

Happens on my iPad. I can trigger list callouts to break (sometimes) but tapping my commander (plugin) button to collapse h2 headers and all lists.

mgmeyers commented 4 weeks ago

Hey all, test out the latest version of the plugin and see if it seems more performant. I've made some changes that should speed things up

IamDrowsy commented 2 weeks ago

Just tested the latest version and the perceived input lag for some bigger notes (around 4k words) went from annoyingly noticeable to not noticeable at all. Great update, thank you!