Laggy editor after win 11 upgrade

Ever since upgrading my desktop to windows 11, obsidian has been incredibly laggy when I type simple text. I’m not sure if it was simply coincidence, though. I do not have any community plugins and tried disabling many (and all) of the default ones.

I opened devtools to inspect the performance. There is 200s-900s input delay. It seems the culprit might be an extremely deprecated npm library original-fs (see screenshot below), and happens on file save calls. Since obsidian is closed source I couldn’t investigate much further.

I do not have a lot of documents; maybe a couple dozen, and 5 images.

Steps to reproduce

  1. Open a new document
  2. Type text
  3. Type three backticks for codeblock creation
  4. Witness slowness

You can reproduce the below image by opening devtools with ctrl-shift-i and going to performance tab and recording during the lag.

I have no idea how to make this reproducible, it simply isnt working on my machine.

Obsidian is NOT saving to a network drive.

Did you follow the troubleshooting guide? [Y]

Issue does not reproduce in vault. I tried disabling EVERY core plugin except for “Files” (folder viewing). I also tried disabling Vim and Convert pasted HTML to Markdown. I also tried disabling every setting under Editor. I tried restarting after doing all this.

Expected result

Typing without lag

Actual result

Slow typing

Environment

SYSTEM INFO:
Obsidian version: 1.12.4
Installer version: 1.8.9
Operating system: Windows 11 Enterprise 10.0.22631
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information

Trial with some plugins disabled:

Trial with everything disabled:

You might want to try to update the installer and see if it potentially helps ? :woman_shrugging:
(Electron has been updated since 1.8.9)

1 Like

I am not sure what this means.
Download and reinstall Obsidian.
Post a screen recording of this happening in the sandbox vault. Thanks