How to debug a slow Obsidian?

What I’m trying to do

Have the interface not lag. The editor seems to stutter back and forth between the state I input, and its internal state.

Things I have tried

  • Turn off community plugins
  • Use a different (non-default) theme
  • Repro on the sandbox vault
  • Search forum threads for “stutter”, “typing slow”, etc.

How I repro it

I was writing this note:

Time: 17:08
| Exercise |     Weight |
| -------- | ---------- |
| Deadlift |  102.25 kg |
| Rows     |   60.00 kg |

##  Deadlift

| Weight | Reps | Bar loadout                    |
| ------ | ---- | ------------------------------ |
|  30.00 | 5    |  20 + 2 * (5)                  |
|  50.00 | 4    |  20 + 2 * (15)                 |
|  70.00 | 3    |  20 + 2 * (25)                 |
|  90.00 | 2    |  20 + 2 * (25 + 10 + 1.25)     |
| 102.25 | 5    |  20 + 2 * (25 + 10 + 5 + 1.25) |

##  Rows

| Weight | Reps | Bar loadout                    |
| ------ | ---- | ------------------------------ |
|  30.00 | 5    |  20 + 2 * (5)                  |
|  40.00 | 4    |  20 + 2 * (15)                 |
|  50.00 | 3    |  20 + 2 * (25)                 |
|  55.00 | 2    |  20 + 2 * (25 + 10 + 1.25)     |
|  60.00 | 5    |  20 + 2 * (25 + 10 + 5 + 1.25) |

If I write things a bit faster, I start seeing the stutter/lag. Merely moving my caret’s position around (literally, just randomly clicking around) is enough to provoke it.

I’ve done a perf capture (3.9 MB), but I don’t know how to read it, or what to look for.

I’m a backend web developer, so feel free to throw me to the technical deep end.

I’m on Fedora 38, using version 1.1.16. I’ve uploaded my hardware into a gist. Let me know if I should provide more details.

Stopped using Nvidia’s proprietary drivers (started using amdgpu with my integrated GPU), and this stopped happening.

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