Skip to content

[Bug]: 9 second Obsidian Android app startup time with Sync Engine enabled #276

Description

@zzyzx-dc

Real Outcome

I've loved using the Sync Engine plugin for several months now but lately I've had very slow startup times (5-10 seconds) in the Android mobile app. I troubleshooted the mobile app thinking it was Obsidian, but I think this plugin is the culprit.

I turned off all plugins and wiped workspace-mobile.json and achieved a 2 sec startup again. Then I turned them on one by one. No plugin increased the startup time until I fired up Sync Engine again.

Obsidian start-up time breakdown

2.6 sec without Sync Engine:

Obsidian version: 1.13.8 (367)
API version: 1.13.8
Operating system: Android 17 (Google Pixel 9)
Webview version: 153.0.0.0

- Total startup time: 2,688ms
- Initialization: 477ms
  - Boot: 342ms
    - Response: 10ms
    - DOM parse: 78ms
    - Script evaluation: 254ms
  - Language: 35ms
  - App setup: 100ms
- Vault (3,632 files): 1,082ms
  - Configuration: 51ms
  - Reading files: 1,002ms
  - Loading file metadata: 26ms
  - Metadata listeners: 3ms
- Workspace (9 tabs, 9 deferred): 129ms
  - Components: 28ms
    - Managers: 11ms
    - Settings: 17ms
  - Appearance: 6ms
  - Managers: 70ms
    - Metadata types: 19ms
    - Secret storage: 28ms
    - Hotkeys & commands: 23ms
  - Layout: 22ms
    - Load layout: 22ms
  - Extra: 3ms
- Core plugins: 332ms
- Community plugins (3 active): 668ms
  - Templater (2.25.0): 169ms
  - Book Search (0.7.5): 67ms
  - Front Matter Timestamps (1.5.5): 47ms
  - Other: 386ms

Then I turned on Sync Engine. I let it scan all files and perform a sync so everything was stable. Then I swiped obsidian out of memory and started it up again.

9 seconds with Sync Engine:

Note that Obsidian only credits Sync Engine with 249ms, but enabled Sync Engine raised the Reading files and Workspace time quite a bit.

Obsidian version: 1.13.8 (367)
API version: 1.13.8
Operating system: Android 17 (Google Pixel 9)
Webview version: 153.0.0.0

- Total startup time: 8,965ms
- Initialization: 517ms
  - Boot: 375ms
    - Response: 16ms
    - DOM parse: 72ms
    - Script evaluation: 287ms
  - Language: 37ms
  - App setup: 105ms
- Vault (3,633 files): 5,505ms
  - Configuration: 46ms
  - Reading files: 5,425ms
  - Loading file metadata: 30ms
  - Metadata listeners: 4ms
- Workspace (9 tabs, 8 deferred): 1,618ms
  - Components: 28ms
    - Managers: 11ms
    - Settings: 17ms
  - Appearance: 6ms
  - Managers: 68ms
    - Metadata types: 18ms
    - Secret storage: 43ms
    - Hotkeys & commands: 7ms
  - Layout: 1,512ms
    - Load layout: 1,509ms
    - Finalize: 2ms
  - Extra: 4ms
- Core plugins: 354ms
- Community plugins (4 active): 971ms
  - Sync Engine (3.1.6): 249ms
  - Templater (2.25.0): 160ms
  - Book Search (0.7.5): 48ms
  - Front Matter Timestamps (1.5.5): 24ms
  - Other: 490ms

Expected Outcome

Sync Engine does not slow down app load time.

Backend

Nextcloud

Steps to Reproduce

As above - enable the Sync Engine app and witness slow load time.

Logs

Sync Engine log:


Generated at: 2026-09-12 16:03:17
Plugin version: 3.1.6
Obsidian API version: 1.13.8
Operating system: Android

Trigger: manual
Started at: 2026-09-12 16:03:03
Ended at: 2026-09-12 16:03:06
Duration: 2.35 s
Outcome: noop
Logs:

INFO - Sync triggered by manual started.
INFO - Asymmetric storage ignored orphaned Adrianople red.md.
INFO - Asymmetric storage ignored orphaned Untitled.md.
INFO - Asymmetric storage ignored orphaned projects/.
INFO - Local 3703 item(s), remote 3703 item(s), record 3703 item(s).
INFO - Sync ended with result: noop.
Trigger: startup
Started at: 2026-09-12 16:02:55
Ended at: 2026-09-12 16:02:57
Duration: 1.88 s
Outcome: noop
Logs:

INFO - Sync triggered by startup started.
INFO - Asymmetric storage ignored orphaned Adrianople red.md.
INFO - Asymmetric storage ignored orphaned Untitled.md.
INFO - Asymmetric storage ignored orphaned projects/.
INFO - Local 3703 item(s), remote 3703 item(s), record 3703 item(s).
INFO - Sync ended with result: noop.
General logs:

16:02:55 - INFO - Module webdav loaded.
16:02:55 - INFO - Module smart-merge loaded.
16:02:56 - INFO - Discovered 8 module(s) from 1 source(s).

Issue Policies

  • I agree to follow this project's issue policies and confirm:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed infoAdditional information required

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions