excalidraw-vscode icon indicating copy to clipboard operation
excalidraw-vscode copied to clipboard

Performance issues when using several images

Open LeNouveau opened this issue 1 year ago • 2 comments

Hi,

My use case : When I'm investigating an issue, I create a document my_incident.excalidraw.svg containing screenshots and comments. It's saved localy, viewable by others and I'm free to annotate as I feel.

The only downside is that when there are too many images (~15), I have lags. The screen freezes for a while, I can't drag objects or I can't navigate on my file.

When I open the same file on https://excalidraw.io, I have no issue, it's smooth.

Can I do something about it ? Can I allocate more ressources ?

Thx for reading ! :D

LeNouveau avatar Nov 16 '23 16:11 LeNouveau

I notice these slowdowns too.

The extension serialized the drawing to the disk each time you make a change, so it's quite unoptimized, especially when you have image in your scene.

There is no simple way to solve this yet, but I'll think about it.

pomdtr avatar Nov 16 '23 16:11 pomdtr

Ok.

Thank you for the explanation. :)

LeNouveau avatar Nov 20 '23 09:11 LeNouveau