Speed up /history render #20
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Depends on data frequency, obviously.
Not sure if this is a query thing or a network asset thing.
More likely JS.
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