-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Performance: scattergl lines slower than scatter lines? #4401
Comments
Thanks for writing in. Looks like for this particular dataset, the Notice that if you add One (easy) thing we could try to improve |
I tried to turn off line decimation (at least I think I did): |
I will leave here another comment regarding performance.
|
@panchyo0 it looks like we're not the only ones to discover this 🙈 @etpinard any idea why typed arrays have to go through a "data clean" step each plot refresh? That's what seems to cause the issue. Is this a D3 bug? |
@veggiesaurus |
A simple demo to help investigate the performance issue(s). |
btw, if any plotly devs have advice for improving the scattergl bench [1], i'd be glad to implement it. |
closed via #5632. |
#5632 addressed part of this. |
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson |
Hi,
everyone recommends scattergl for many points as it should perform better. I am however having troubles understanding why for rendering 100.000 points scatter is much faster than scattergl. Is this a bug?
Timings on my computer:
scattergl 1.5s
scatter 0.2s
At 15.000 points scattergl is already twice slower than scatter.
Example (open console to see the timings):
https://jsfiddle.net/tdr90ebm/
The text was updated successfully, but these errors were encountered: