Obsidian Android - slow startup performance and misleading startup time breakdown
Steps to reproduce
Start Obsidian on Android.
Did you follow the troubleshooting guide? [Y]
Yes.
Expected result
Obsidian starts fast.
Performance measurements are correct with/without community plugins.
Actual result
Obsidian starts slow.
Performance measurements with/without community plugins show values which make little sense.
Environment
SYSTEM INFO:
Operating system: android 13 (Google Pixel 4a)
Obsidian version: 1.8.3 (183)
API version: v1.8.3
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: dark
Community theme: Underwater v1.6.42
Snippets enabled: 1
Restricted mode: off
Plugins installed: 18
Plugins enabled: 5
1: Text Extractor v0.5.2
2: Keyshots v2.4.0
3: Style Settings v1.0.9
4: Templater v2.9.1
5: Omnisearch v1.25.2
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
588 files, 28 folders
Additional information
Please see the following measurements:
With custom plugins
Obsidian start-up time breakdown
Operating system: android 13 (Google Pixel 4a)
Obsidian version: 1.8.3 (183)
API version: v1.8.3
- Total startup time: 3,778ms
- Initialization: 590ms
- Vault (586 files): 373ms <------ ❗
- Workspace (7 tabs, 6 deferred): 391ms
- Core plugins: 130ms
- Community plugins (6 active): 2,295ms <------ ❗
- Omnisearch (v1.25.2): 329ms
- Text Extractor (v0.5.2): 281ms
- Keyshots (v2.4.0): 187ms
- Templater (v2.9.1): 118ms
- Style Settings (v1.0.9): 87ms
- Auto Link Title (v1.5.5): 66ms
Obsidian start-up time breakdown
Operating system: android 13 (Google Pixel 4a)
Obsidian version: 1.8.3 (183)
API version: v1.8.3
- Total startup time: 3,527ms
- Initialization: 459ms
- Vault (587 files): 376ms <------ ❗
- Workspace (7 tabs, 6 deferred): 354ms
- Core plugins: 143ms
- Community plugins (6 active): 2,194ms <------ ❗
- Omnisearch (v1.25.2): 312ms
- Text Extractor (v0.5.2): 264ms
- Keyshots (v2.4.0): 169ms
- Templater (v2.9.1): 87ms
- Style Settings (v1.0.9): 85ms
- Auto Link Title (v1.5.5): 65ms
Without community plugins
Obsidian start-up time breakdown
Operating system: android 13 (Google Pixel 4a)
Obsidian version: 1.8.3 (183)
API version: v1.8.3
- Total startup time: 2,624ms
- Initialization: 541ms
- Vault (587 files): 1,488ms <------ ❗
- Workspace (7 tabs, 6 deferred): 434ms
- Core plugins: 162ms
Obsidian start-up time breakdown
Operating system: android 13 (Google Pixel 4a)
Obsidian version: 1.8.3 (183)
API version: v1.8.3
- Total startup time: 2,552ms
- Initialization: 457ms
- Vault (587 files): 1,549ms <------ ❗
- Workspace (7 tabs, 6 deferred): 409ms
- Core plugins: 137ms
Multiple questions:
- why the total time for community plugins don’t add up? The sum would be <1s, but total community time is 2.3s which is more than double
- why is vault time so much higher when I disable community plugins (>1.5s) compared to when they are enabled (0.4s)? This leads me to believe that the time tracking measurement has a bug
Please make [[Obsidian]] on [[Android]] launch as fast as on my desktop (1.1s).
From one developer to another, I can give any logs and take any measurements you may want to aid with figuring this performance issue out, except for sending you my vault. At best, I could send you my .obsidian\
folder.
I created a new topic even though others exist (this for example). If desired, I can move my topic to the other topic.