excalidraw/excalidraw-vscode

Performance issues when using several images

LeNouveau opened this issue · 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

pomdtr commented

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.

Ok.

Thank you for the explanation. :)