Try sending the JSON but not rendering in Plotly. --> Does not increase speed.
Try calculating but not sending JSON.--> Does not increase speed.
- [x] Try sending the JSON but not rendering in Plotly. --> Does not increase speed.
- [x] Try calculating but not sending JSON.--> Does not increase speed.
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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