Extremely slow ios app wakeup

Steps to reproduce

  • have a bit bigger vault eg. 200 notes across folders
  • have open note open in edit mode for quick notes
  • use ios with other apps s app gets hybernated
  • activate obsidian for quick note
  • the screen is blank and it takes forever to be able to write.

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

Y

Expected result

absolute INSTANT resume of being able to write notes, nothing is acceptable that does not use advanced cache resume so no waiting is needed whatsoever, ALL ui state g read/write mode etc has to be exactly as i left the app.

Actual result

ui state takes for ever to resume being interactive

Environment

ios


You left out the result of the “show debug info” command that the bug report template asks for. Could you please post that?

Also, how many seconds is the forever that Obsidian takes to become active? In Settings > General, in the last setting, next to the toggle is a little icon that looks like a stopwatch. Tapping that will open a breakdown of the startup time.

Is the screen completely blank during this time, or are you seeing the Obsidian logo in gray (or something else)?

Obsidian isn’t guaranteed to start instantly; altho with only 200 notes I’d expect it to start quickly. (I have 6,300 files and my last startup was 3 seconds, most of which was loading the files). (Time to edit the last opened file is somewhat shorter now that Obsidian opens a temporary editor while doing the rest of its loading).

anything more than 400 ms is absolutely, totally, “cant stress this more”, unacceptable. it is not an app that is closed but that was in active use and just in the background while using other apps. 3 seconds is enough to lose a flow of thought. i would say i get consistently 1 to 3 seconds wait time.

```
SYSTEM INFO:
Operating system: ios 18.6.2 (Apple iPhone14,4)
Obsidian version: 1.10.6 (256)
API version: v1.10.6
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: dark
Community theme: Things v2.1.20
Snippets enabled: 1
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

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.
```

I’m seeing startup times of about twice that intolerable 400 ms number in my test vault with 22 files, 3 folders, and restricted mode enabled, on an iPhone 13. I’m not sure what the expected minimal load time is. That upper 3s surprises me for 200 notes. You saw that kind of number during the troubleshooting steps (restricted mode & no theme or custom CSS)?

From your report, I don’t quite understand if we are talking about the 1) app startup from zero or 2) app startup after the app has been killed by the OS to recoup memory (which is the same as one) or some other condition.

For 1. and 2. continue here: Mobile, startup: Reduce the time until the user can write