-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Subpar scattergl performance with date axis #413
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
Comments
Not surprising on my end.
The split between the two gl-vis modules happens here. You'll notice non-linear axis types are considered fancy. Moreover, converting a date to coordinate routine could be optimized. I suspect that we could potentially save off a few milliseconds in this step. |
I'll start on it early next week; an initial hunch is that dates are too expensive in JS, so for performance it's best to convert to some numeric representation (e.g. |
Yes there's a big speed difference and as mentioned by @etpinard it comes down to the fact that currently, the much slower There are several options:
|
I'm leaning towards waiting for the @jackparmer thoughts? |
@etpinard regarding the speeding options, we talked about different markers rendered by shaders. Something like this would obsolete the fancy version. I made a |
I'm not excited about waiting 3-6 months to make datetimes work in WebGL. Pared down trace options for timeseries could make a lot of sense like |
is the winner. |
#1021 purports to fix it, I'm trying to think of a test case for this. |
done in #1033 |
It seems as though scattergl with a date axis chokes around 250K points — http://codepen.io/cpsievert/pen/WwMpJW
I found that a bit surprising since ~1M points works great with non-date axes
The text was updated successfully, but these errors were encountered: