-
Notifications
You must be signed in to change notification settings - Fork 61
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
Low framerate on visualization #232
Comments
So it looks like the worst comes from when dragging a node: I see in some cases requestAnimationFrame even on a powerful machine take +150ms I think there are a few things we could do here:
|
Thanks @kottkrig for reporting the issue. @jonathanKingston yes there is scope to improve, looking into it. |
I managed to get the graph vastly faster by removing the manual ticking without causing obvious bugs. My hunch is we should be doing something smarter there with ticking and rate limiting at times of stress. I also couldn't work out what the alpha stuff was doing and the documentation isn't super clear. |
I think we might have just made this worse with the latest update. We should look into querying the history in chunks before rendering to reduce the time to showing some nodes on the graph. The latest update actually crashed my browser @princiya. I don't have time at the moment to debug this though so help very much wanted here. |
I'm seeing very low framerates on my machine when looking at the visualization. It makes it very difficult to navigate inside of it.
According to the dev tools I get an average framerate of 6,65 FPS and minimum framerate of 1,66 FPS.
The text was updated successfully, but these errors were encountered: