Startup time caused by "workspace"

My startup time is generally slow, and on first startup (after I switch on the PC) I see the message “Reload in restricted mode”. Looking at the startup time breakdown, I can see that most of the time is requred by “Workspace” (the one below is quite fast, sometimes it is worse). How can I enhance this timing?

Obsidian start-up time breakdown

Obsidian version: 1.12.7
Installer version: 1.8.7
Operating system: Windows 11 Pro 10.0.26200

  • Total startup time: 20,831ms
  • Initialization: 776ms
  • Vault (986 files): 583ms
  • Workspace (9 tabs, 7 deferred): 11,794ms
  • Core plugins: 143ms
  • Community plugins (7 active): 7,536ms
    • Omnisearch (1.29.3): 4,151ms
    • Another Quick Switcher (14.6.0): 961ms
    • Style Settings (1.0.9): 725ms
    • Tasks (8.0.0): 719ms
    • Tag Wrangler (0.6.4): 398ms
    • Homepage (4.4.4): 322ms
    • Calendar (1.5.10): 121ms

In one similar thread someone found that it was the Tasks plugin. Updating the plugin solved it for them. Are your plugins up to date?

Also your Obsidian installer is wildly out of date. You should download and reinstall Obsidian.

Forum search shows a few threads to check:

https://forum.obsidian.md/search?context=topic&context_id=115004&q=startup%20slow%20workspace%20order%3Alatest&skip_context=true

Thanks for your reply. I have updated to the latest installer; plugins are always updated.

Looking at other threads, it seems like the problem I could have is that the whole vault is inside a OneDrive folder. Strange thing is that it’s slow only on first startup: if I close and reopen, it’s very fast…

Is your OneDrive folder set to always downloaded? It should be.

If none of that helps, you might want to try backing up your workspace.json settings file(s) and then deleting them so they generate fresh files. (Back them up so if the test doesn’t solve anything you can put your old layout back.)

Maybe this

I had a similar problem.

Try to disable virus scanning for specific OneDrive folders used in Wokspaces.

This was the culprit of my slow startup.

This is applicable to built in Windows antivirus and/or 3rd party. Once I have excluded specific folders from scanning the Obsidian starts like a🚀

This seems to be the problem, in fact.

I disabled the antivirus as well, and the startup is now way faster! Thank you for your help.

Hint: disable AV protection only to your vault by adding exception to exclude specific directory.