The issue!maybe Bug,The mermaid render slowly when the number of file is a little large

Steps to reproduce

The sizeof my respository is approximate 1GB,I clear all content in the folder .obsidian,but when I scroll the page within the mermaid diagram,It sometimes stuck and it not swift.When launch the plugin and theme and css,the condition will deterirorate

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

Scroll swift and no stuck

Actual result

awful and stuck

Environment

1.8.9


Additional information

null

Can you provide a note where what you describe happens in the sandbox vault?