Skip to content
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 issues with scatter plot visual on render #18

Open
kdayno opened this issue Feb 27, 2023 · 2 comments
Open

Performance issues with scatter plot visual on render #18

kdayno opened this issue Feb 27, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kdayno
Copy link
Owner

kdayno commented Feb 27, 2023

  • Scatter plot visual takes over 15 seconds to load due to callbacks
@kdayno kdayno added the bug Something isn't working label Feb 27, 2023
@kdayno kdayno self-assigned this Feb 27, 2023
@kdayno
Copy link
Owner Author

kdayno commented Mar 9, 2023

Potential fixes:

  • Set index on the dataframe to speed up the ".isin" method for conditionally filter the dataframe
  • Use dcc.Store component to store dataset client side

UPDATE: Attempted both fixes but neither resolved the issue

@kdayno
Copy link
Owner Author

kdayno commented Mar 31, 2023

Potential fix:

  • Use memoization to cache the dataset

UPDATE:

  • This option could not be implemented because the app is a multi-page app which caused difficulty when trying to import the cache object into the home page. An issue has been created on Dash's official GitHub repo - Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant