Slowdown/lag typing [Obsidian Sync + Windows]

What I’m trying to do

I notice from time to time, typing gets laggy. There is a lag between my keypress and the letter showing on the screen.

My setup

I have the following setup:

SYSTEM INFO:
	Obsidian version: v1.5.3
	Installer version: v1.4.13
	Operating system: Windows 10 Pro 10.0.22631
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
SYNC INFO:
	Vault ID: xxxxxxxxxxxxxxxxxx
	Host server: wss://sync-13.obsidian.md
	Device name: 
	Allowed file types: image, audio, video, pdf, unsupported
	Allowed special types: appearance, appearance-data, hotkey, core-plugin, core-plugin-data, community-plugin-data, app, community-plugin
	Ignored directories:
	Vault path: C:\Users\xxxx\Obsidian\Vault
	Sync logs:
		...
		1705316386063 Info  Fully synced

These are the plugins I have active:

[
  "tag-wrangler",
  "homepage",
  "nldates-obsidian",
  "obsidian-minimal-settings",
  "obsidian-style-settings",
  "cm-editor-syntax-highlight-obsidian",
  "obsidian-text-format",
  "settings-search",
  "obsidian-omnivore",
  "image-converter",
  "obsidian-excalidraw-plugin",
  "templater-obsidian",
  "dataview",
  "calendar",
  "obsidian-mind-map"
]

My computer is:

Processor	Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz   2.40 GHz
Installed RAM	32.0 GB (31.8 GB usable)
System type	64-bit operating system, x64-based processor

My Internet connection is 1 Gbps symmetrical.

PS C:\Users\xxxx> ping sync-13.obsidian.md

Pinging sync-13.obsidian.md [104.26.0.147] with 32 bytes of data:
Reply from 104.26.0.147: bytes=32 time=5ms TTL=56
Reply from 104.26.0.147: bytes=32 time=5ms TTL=56
Reply from 104.26.0.147: bytes=32 time=6ms TTL=56
Reply from 104.26.0.147: bytes=32 time=6ms TTL=56

Ping statistics for 104.26.0.147:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 5ms, Maximum = 6ms, Average = 5ms

Things I have tried

To improve things, I tried:

  • Deactivate dataview
  • Remove Tasks
  • Running Obsidian at high priority
  • Turn on and off Sync

This last is the one that fixes the lag issue.
When I PAUSE the Sync, the lag disappears.

Questions

So, I have a few questions:

  • Is there any way to increase the time between Detecting changes...
  • Does anyone have slowness issues when having Sync on?
  • Do you recommend me to remove any other plugin?
  • Any other recommendation?

Thanks!

Note

I am running Obsidian at high priority using the following:

%windir%\system32\cmd.exe /c start /high %localappdata%/Obsidian/obsidian.exe --force-color-profile=srgb

From:

I don’t know about others, but I experienced the same problem and in my case it was because of the Minimal theme and Minimal settings - as soon as I switched to another theme, all problems were gone and Obsidian is super speedy now (I hoped that a “minimal” theme would be, well, minimal, yet for some reason it slows down like crazy with some CSS snippets & basic plugins)

So before disabling plugins one by one to identify the cause like I did to no avail, maybe try switching theme and see if that’s the problem to begin with? :wink:

Wow! It goes so fast now!
The issue was as simple as removing Minimal theme developed by @kepano.

Do you recommend any other simple theme?

1 Like

So it wasn’t just me, haha, good to know! Maybe @kepano knows something about what started slowing down his theme so badly.

In the meantime, a good theme I found that works really well and looks pretty similar on my end is called “Adwaita”.

Do you have any CSS snippets?
I have one, a very simple one:

/* Callouts for Omnivore Highlights */
.callout[data-callout="yellow"] {
    --callout-color: 244, 188, 91;
    }
    .callout[data-callout="red"] {
    --callout-color: var(--callout-error);
    }
    .callout[data-callout="green"] {
    --callout-color: var(--callout-success);
    }
    .callout[data-callout="blue"] {
    --callout-color: var(--callout-info);
    }

I am trying to remove it.
Still not sure if it makes the difference.

I have a lot of CSS snippets, which work super fast with the theme Adwaita, but which were working super slow with Minimal.

I can notice Obsidian working faster with Default theme, even at File Search (the Core feature).
In my particular and simple test, it takes double the time to find 724 files using Minimal than Default.

1 Like

If you haven’t already, check for updates to the theme (there’s a button for it in Settings > Appearance). Sometimes an update fixes theme issues.

@CawlinTeffid , yes. I have this OCD :slight_smile: of daily checking updates on the app, themes and plugins.
… Always hoping there is an automated way to check the three with one click or a timer :smiley:

Yeah, automatic plugin updates would be great — or at least notifications. There are feature requests for both, if you haven’t seen/upvoted them. Surprisingly, I don’t see similar requests for theme updates (tho I believe the work for one would probably get most of the work done for the other).

Off-topic

Lots have the same idea, plugin and themes update tracker: Feature Request: Add theme updates as well · Issue #39 · swar8080/obsidian-plugin-update-tracker · GitHub

By the way, I posted the issue on Minimal’s Github: Obsidian on Windows works slower when using this theme and related plugins · Issue #688 · kepano/obsidian-minimal · GitHub

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.