-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
cache values and patterns in set_convert for rangebreaked axis #5659
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
Conversation
}); | ||
} | ||
|
||
|
||
for(var i = 0; i < rangebreaksIn.length; i++) { | ||
var brk = rangebreaksIn[i]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would cache against each brk group, instead of the rangebreaks array as whole, lets you get rid of the nulls and puts the cached values immediately adjacent to the raw values.
@archmoj please let me know your feedback on this, would love to know if the approach is good or if it needs changes |
Thanks @spasovski. |
Hi folks please let me know if this approach seems solid. We've been using this in our staging environment for a few weeks and haven't had any issues so far. |
Looking good to me. |
Fixes #5630
set_convert
could benefit from caching thesimpleMap
results. My team and I experienced drastic performance issues on ticking plots with rangebreaks. We are quite open to better suggestions though this approach worked quite well for us in testing.