Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome - Drawio Intense Lag #3636

Closed
2 tasks done
ThePieMonster opened this issue May 31, 2023 · 20 comments
Closed
2 tasks done

Chrome - Drawio Intense Lag #3636

ThePieMonster opened this issue May 31, 2023 · 20 comments

Comments

@ThePieMonster
Copy link

ThePieMonster commented May 31, 2023

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Drawio will lag out when there are more than ~20 images present in the diagram.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Drawio diagram with at least 20 images
  2. Use the Chrome browser latest version
  3. Try clicking or panning around the diagram

Expected behavior
The web page / diagram can be moved around with lagging out.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version [21.3.6]

Desktop (please complete the following information):

  • OS: [Windows 11]
  • Browser [Chrome Version 113.0.5672.127]
@davidjgraph
Copy link
Collaborator

Can you attach the diagram you're testing with?

@imtrobin
Copy link

I'm seeing the same issue with 21.4.0

@davidjgraph
Copy link
Collaborator

Yet still no diagram....

@imtrobin
Copy link

I can't share that cos there's confidential info but it's over 10 images.

@imtrobin
Copy link

Is there something specific in the images you want to look at? Image size etc?

@ThePieMonster
Copy link
Author

I can upload a test diagram that I made which is showing signs of the slowdown. @davidjgraph
Test_Diagram.zip

@mararad
Copy link
Collaborator

mararad commented Jul 7, 2023

The attached file is 3.07 MB and it lags a bit.
Tested in Chrome Version 114.0.5735.199 (Official Build) (64-bit) and FF, diagrams.net 21.6.1 and Win 10 Pro.

@jeroenvriesman
Copy link

I see the same lagging in version v22.1.16, quite extreme/unworkable lag on a simple windows laptop (i5-1135G7, 2.4GHz, 8GB). Windows 10 enterprise 22H2.
To reproduce just create new diagram from cloud/IBM/any-example.
The lag takes the from of actual pauses I need to wait for when I try to move the drawio window.

@davidjgraph
Copy link
Collaborator

Please update and test again.

@jeroenvriesman
Copy link

Hi David,

v24.2.5 has almost the same lag. (I used the windows no-installer version).

@jeroenvriesman
Copy link

Update: I just tried version 20.8.16, same diagrams. No lag at all.
I will trey in-between versions to find the version which introduces this behaviour.

@davidjgraph
Copy link
Collaborator

If you disable extras->automatic bacukup on 24.2.5?

@jeroenvriesman
Copy link

Disabling automatic backup doesn't make any difference.

@jeroenvriesman
Copy link

Update: after trying several versions, all on the same windows 10 enterprise 22H2, i5-1135G7, 2.4GHz, 8GB the conclusion is that the lag is introduced with version 22.1.16, if I try both 22.1.15 and 22.1.16 (no-installer versions) then I see that 22.1.15 works perfectly well and 22.1.16 is unworkably slow.

@jeroenvriesman
Copy link

Another update: 22.1.16 on linux does not have this problem.
Could it be possible dat jgraph/drawio-desktop#1433 is introducing this behavior? Since it's the only change which would be interacting with the windows os differently compared to linux. A bit of a guess. If you have a windows no-installer 22.1.16 with this feature disabled I can test it. (does the code use feature flags?)

@davidjgraph
Copy link
Collaborator

davidjgraph commented Apr 24, 2024

Thanks for the detailed analysis. The key problem here is still the ability to reproduce the issue.

It might be that that release has some specific signature that an anti-virus doesn't like and scans it constantly. The fact you see it on Win and not Linux suggests something down that route. We have several million installs on win, yet just one report on a simple diagram.

Also, I don't think your issue is the same one as the OP. The result is the same, but the earlier posts are about large diagrams and those issues are fixed.

You're welcome to log another ticket, but this all sounds like a one-off issue specific to your machine, unfortunately.

@jeroenvriesman
Copy link

Hi again.

Whatever newer version of drawio I try, the problem persists.

I've attached an example drawing which shows the window-movement lag. It's just one of the IBM examples copied 5 times.

22.1.15 works perfectly well, al never versions have a performance problem which is easy to see, just try to move the drawio window on a windows PC.

The PC is definitely not a high performance one, but drawio 22.1.15 ans below works perfectly well.
lag_test_drawing.zip

@alderg
Copy link
Contributor

alderg commented Jun 6, 2024

The above test case does not slow down window movement on macOS in the online and desktop versions 24.4.14 and 24.4.13 for me. Please include the draw.io version number for your environment, as well as desktop or online, your operating system and browser and versions.

@davidjgraph
Copy link
Collaborator

This is long ticket and you're not the original poster @jeroenvriesman . I asked you politely first to log another ticket. Stop posting here and log another ticket.

@jeroenvriesman
Copy link

Ok, new ticket created.
jgraph/drawio-desktop#1780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants