-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Suggestion for faster dc.filterAll() #1322
Labels
Comments
I'm surprised that crossfilter doesn't notice when That would be the best place to fix this. However, I'd certainly take a pull request for dc.js with the above logic. Thank you! |
OK, just submitted a PR. My changes of the tests are a bit shaky - I haven't worked with this toolset before. Tests pass, but they are not overly smart. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have built a dashboard with ~10 graphs and lots of data (which, unfortunately, I cannot share). Calling
dc.filterAll()
on it is pretty slow, taking 10-15 seconds. The default implementation ofdc.filterAll()
calls.filterAll()
on each chart. Is there a reason why this couldn't be limited only to charts that actually have filters set? In my use cases, this typically applies only to a few charts. The following version works much quicker for me:I'm on
dc.js
version 2.1.4 (but the code fordc.filterAll()
seems to be identical in the current 2.1.8).The text was updated successfully, but these errors were encountered: