-
Notifications
You must be signed in to change notification settings - Fork 1
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
Speed up /history render #20
Comments
Not sure if this is a query thing or a network asset thing. |
plotly.js is 5.6 MB, no wonder it takes forever. Minified version is smaller: https://plot.ly/javascript/getting-started/#download |
I think it's actually the page itself taking so long. 30 seconds for 24 hours of data? |
JS is slow but is cached after first load. |
|
It's in the database/plot creation logic. |
Cutting out the timezone conversion cuts load of the page itself from ~17s to ~4s. |
This is what is being used right now: http://arrow.readthedocs.io/en/latest/ I wonder if the for() loop itself is the issue. https://medium.com/python-pandemonium/never-write-for-loops-again-91a5a4c84baf |
Depends on data frequency, obviously.
The text was updated successfully, but these errors were encountered: