Coder Social home page Coder Social logo

Comments (9)

jeroenvriesman avatar jeroenvriesman commented on September 13, 2024 1

Update, I found the cause by measuring the cpu/mem/net stats when moving teh drawio window.
In is indeed related to https://github.com/jgraph/drawio-desktop/1433.
drawio is updating the config.json continuously when the window is moving. For a local filesystem or a high performance network this is fine, but when the config.json is on a network with lower throughput and/or higher latency (for example , working over a company vpn ) this causes the severe lag in window operations like moving or resizing.
Possible solutions:
a) a feature to turn off writing the window position to the json.
b) a feature to choose a local location for the config.json (we also have diskless clients, so this doesn't solve all the problems)
c) make the write to the config.json asynchronous so write latency doesn't affect the application

I think option c is the most general solution. Maybe option a is easy to implement, it would just disable 1433 which is not that important.

from drawio-desktop.

davidjgraph avatar davidjgraph commented on September 13, 2024

We have millions of users on windows, if it were a widespread issue this repo would be underwater. There's something specific to your machine.

Either something like a virus checker that doesn't like a new signature on later releases, or the storage used doesn't like a write or flush change in 22.1.5.

from drawio-desktop.

davidjgraph avatar davidjgraph commented on September 13, 2024

We still cannot repeat. I would suggest to find an alternative tool given the problems you're having.

from drawio-desktop.

davidjgraph avatar davidjgraph commented on September 13, 2024

Cool, thanks for taking the time to investigate and report back.

from drawio-desktop.

m-mohamedin avatar m-mohamedin commented on September 13, 2024

Will be fixed in the next release
Thanks for the report

from drawio-desktop.

jeroenvriesman avatar jeroenvriesman commented on September 13, 2024

Thanks for the fix Mohamed.
Only writing the window info upon close is a indeed a better idea than my suggestion.

from drawio-desktop.

davidjgraph avatar davidjgraph commented on September 13, 2024

Fix in 24.6.1

from drawio-desktop.

Iorek73 avatar Iorek73 commented on September 13, 2024

Hello, still seeing extreme lag in 24.7.8 desktop windows installer.
i7, 32GB RAM, Diagram has ~50 tables.

from drawio-desktop.

alderg avatar alderg commented on September 13, 2024

Are you moving or resizing the window? Is it faster with a blank diagram?

from drawio-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.