excalidraw
excalidraw copied to clipboard
Lag with many elements
I'm having an issue with excalidraw in obsidian, firefox, chrome on laptop, tablet, phone and desktop pc with 4090 and 7950x3d. My current notes have about 4-5000 characters/elements each. and by the time i get to this point, it is almost impossible to even scroll, let alone write more notes. Is there a more efficient way to implement loading the note somehow? only loading what's in the view? If i zoom in a lot, it gets a little better, but its impossible to even write one word without the pen lagging out. I'm assuming the rest of the file is effecting the current view significantly. Due to this i may have to switch over to another solution :(
Hi, can you share your diagram? If semi-private, you can send to [email protected]
or DM me on my twitter https://twitter.com/dluzar. 🙏
It works much better on PC but still struggles when writing with pen. it'll skip for a second and mess up the text. with this document, freezes/stutters breaking my writing happens this much based on system: S22U 5G and Tab S9 Ultra : can barely even write one word without it glitching out, and it feels super laggy compared to a fresh document when just writing normally. Laptop: same as android but a little less bad Desktop: lags maybe every 4-5 words, and is much smoother than android or my laptop bc of hardware, but still feels weird drawing with pen.
bump. happens with me too.
Same behavior using Safari 17.3.1 on a MacBook M1 Pro. The lag is not present when using Chrome.
Safari
https://github.com/excalidraw/excalidraw/assets/22750424/1387002b-051a-4ba6-8d2d-8edf5aa9d1fb
Chrome
https://github.com/excalidraw/excalidraw/assets/22750424/9f78d3a6-4fd5-4150-929d-a14c31577446
Wondering if it's a kind of lack of canvas optimization from Webkit 😅
PS: stopping collaboration mode didn't make any effect.
I am experiencing the same thing, especially on my tablet, where the pen tool becomes useless with 20+ elements on screen (this number goes down as the file as a whole increases in size).
As this plugin is one of a kind in allowing free drawing in obsidian, it would be great to see a fix for this issue.
For the author's issues with their desktop every 4-5 words, I found this was solved by increasing the interval for autosave.
I am experiencing the same thing, especially on my tablet, where the pen tool becomes useless with 20+ elements on screen (this number goes down as the file as a whole increases in size).
As this plugin is one of a kind in allowing free drawing in obsidian, it would be great to see a fix for this issue.
Exactly the same here.
I have the same lagging experience when the canvas has over 2500 elements.
i found a solution and this is work on my M1 Mac 8GB with brave browser (actually chrome also can do this). I'm facing the same issue like this
Same behavior using Safari 17.3.1 on a MacBook M1 Pro. The lag is not present when using Chrome.
Safari
safari.mov Chrome
Chrome.mov Wondering if it's a kind of lack of canvas optimization from Webkit 😅
PS: stopping collaboration mode didn't make any effect.
follow this instruction with your favorite browser and then turn on hardware acceleration