james-tindal / obsidian-mindmap-nextgen

Create mind maps from your obsidian markdown files
MIT License
159 stars 7 forks source link

Serious performance issue #186

Open WilliamStone opened 1 year ago

WilliamStone commented 1 year ago

Hello verocloud, I run into serious performance issue when I edit a markdown file of 144KB. Every keystroke will delay for a few seconds to display character in editor. In delay period the editor content is not changed at all, but more keystrokes will be received and later displayed sequentially as if there is a delayed buffer. This renders Obsidian practically unusable. When I disable mindmap plugin the performance of Obsidian returns to its normal state. I used performance tool (Ctrl + Shift + I) to capture a performace profile log, and found there where a LOT of recursive wrap function calls that belongs to minimap plugin. And I even didn't insert any minimap block in this 144KB markdown file. Download the profile log and import it into Obsidian to check performance details. Thank you very much!

james-tindal commented 1 year ago

If you share a markdown file that exhibits the problem, I can have a look.