Describe the bug
Harper plugin takes 2,500ms to load, impacting Obsidian startup time.
Before the app fully loads, it waits for all code within the plugin onload() function to execute. If there is any code in the onload function that can be executed asynchronously, after the app finishes loading, put it in onLayoutReady instead. Here's a guide for optimizing plugin performance: https://docs.obsidian.md/plugins/guides/load-time
To Reproduce
Steps to reproduce the behavior:
- Download and enable plugin.
- Restart Obsidian
Expected behavior
The app should start up with minimal delay.
Platform
Obsidian
Describe the bug
Harper plugin takes 2,500ms to load, impacting Obsidian startup time.
Before the app fully loads, it waits for all code within the plugin onload() function to execute. If there is any code in the onload function that can be executed asynchronously, after the app finishes loading, put it in
onLayoutReadyinstead. Here's a guide for optimizing plugin performance: https://docs.obsidian.md/plugins/guides/load-timeTo Reproduce
Steps to reproduce the behavior:
Expected behavior
The app should start up with minimal delay.
Platform
Obsidian