You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
I was able to pinpoint this performance regression between dcc versions 30.1 and 30.2 which narrows it down considerably. I believe that this line is the culprit which is creating a deep copy of the layout which can be large when one has a lot of geojson data. I see that this was put in to solve a resize issue and wonder if there are other alternatives. Curious to hear your thoughts @valentijnnieman and @chriddyp.
A full deep clone is certainly overkill for the intended fix (original PR #279), though considering data#287 and all the other places plotly.js might mutate layout, I suspect it would be easier to just implement a plotly.js immutable mode plotly/plotly.js#2389 than to figure out (and maintain) a safe-yet-fast copy operation here.
chriddyp
changed the title
performance issues between 0.28.0 and 0.32.0?
performance issues between 0.28.0 and 0.32.0 - support plotly.js immutable mode
Jan 31, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Repro example produced here: https://community.plot.ly/t/dash-core-component-performance-issues-on-mapbox-graphs-between-versions/14821/6
The text was updated successfully, but these errors were encountered: