How to improve performance of Windows Desktop app

634 views
Skip to first unread message

Matthew Halpin

unread,
Mar 28, 2022, 5:53:24 PM3/28/22
to diagrams.net Q&A
Hi.
Are there any articles or tips available about how to speed up Drawio desktop application performance (Windows)? I'm on 17.2.1

The Machine I am on  has AMD Ryzen Threadripper PRO 3955WX (16-Cores, 3900 Mhz, 16 Cores, 32 Logical Processors) and Nvidia Quadro RTX 4000 GPU.

Generally this machine is very fast with CAD, Revit, Blender, etc. But, from the time you hover over an object in Drawio desktop to the time the cursor changes is nearly a full 2 seconds. So, very unresponsive when copying, dragging, etc. It's the same for zooming and panning. Even key commands seem to have a lag of two seconds or so.  I have Drawio set for High Performance using the GPU, is that what is recommended? Should I run it as admin? Does it matter what my default browser is? What else can I do to speed performance? I'll note that it didn't seem to be this slow on previous versions. Also note that all my files are synced to google drive, but "available offline" so I assume that wouldn't slow it down.

Thanks in advance for your help.

diagrams.net Q&A

unread,
Mar 28, 2022, 6:36:31 PM3/28/22
to diagrams.net Q&A
Exactly which windows is it?

Matthew Halpin

unread,
Mar 28, 2022, 7:30:21 PM3/28/22
to diagrams.net Q&A
Good question, I probably should have included that initially. Windows 10 Pro 10.0.19042 Build 19042

--
You received this message because you are subscribed to a topic in the Google Groups "diagrams.net Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drawio/wuFm0Kigp5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drawio+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/drawio/9873855e-2542-40f6-b243-6d40514e5493n%40googlegroups.com.

Matthew Halpin

unread,
May 18, 2022, 1:04:14 AM5/18/22
to diagrams.net Q&A
Just for anyone that might stumble on this... I did extensive troubleshooting of this issue and had the same delay. So I got really curious and installed the latest Drawio on my Linux laptop, opened the same file and lo and behold, the delay is there in Linux as well! I then rolled back my version on Windows by opening a portable older version of Drawio (14.5.1), opened the same file and it is fast and snappy, no delay. As far as I can tell,  the newer software is simply slower and less responsive than it used to be.

diagrams.net Q&A

unread,
May 18, 2022, 8:14:51 AM5/18/22
to diagrams.net Q&A
Is this for any diagram, or is the size of the diagram the main factor?

Rahav Dor

unread,
May 18, 2022, 10:04:56 AM5/18/22
to diagrams.net Q&A
INTERESTING. I'm on a similar quest for best practices on macOS, struggling with rendering time. Mostly when switching between the app tabs. My diagrams are large with lots of shapes and comment boxes). Same behavior for the desktop app and browser.

See my related post: "Context switching between Cache last page (tab)".

I hope someone with intimate knowledge of the app architecture would answer. Knowing what is the app doing when switching tabs (for example: does it read the entire XML file? does it keep it in memory and I need an even faster CPU? ...?) could put us on a path.

Have you tried using different sheet sizes?

Matthew Halpin

unread,
May 18, 2022, 7:07:31 PM5/18/22
to diagrams.net Q&A
The specific diagram I used to troubleshoot this is 22mb, but that is on the small side for me, they go up to 35mb depending on the content.

diagrams.net Q&A

unread,
May 20, 2022, 12:41:11 PM5/20/22
to diagrams.net Q&A
Is it possible to share one of those big (20MB+) files with us? sup...@diagrams.net

Matthew Halpin

unread,
May 20, 2022, 3:31:47 PM5/20/22
to diagrams.net Q&A

Sure. Diagram sent

diagrams.net Q&A

unread,
May 24, 2022, 11:16:57 AM5/24/22
to diagrams.net Q&A
Thanks. We can reproduce the issue with that file. Tracking as https://github.com/jgraph/drawio-desktop/issues/1014
Reply all
Reply to author
Forward
0 new messages