Page 1 of 1

Chart load speed

Posted: Wed Oct 30, 2019 2:47 pm
by bandtank
Is there a way to increase the load speed of the charts? It draws very slowly and I've noticed it is on purpose after watching the query and response timing. When there are potentially hundreds of charts, that is unacceptable especially because it is clearly a UI choice.

I ran 100 page load tests and here are the results:

Code: Select all

Average start time after page load: 81 us
Average query wait time: 4.01 s
Average content download time: 451 ms
Average start time of chart visualization: 4.67 s
Average chart visualization time: 9.82 s
Average end time of full page load: 14.49 s
The data is typically fetched within five seconds, which is relatively slow, but then it takes up to 10 more seconds to visualize the data in the chart. In polyfill.js, the routine to populate the chart appears to be waiting for no real reason other than the introduction of a visual effect. If you're going to force this behavior, could you at least provide a way to turn the delay down to zero with a parameter so the chart draws instantly? It's especially jarring if you look at an incomplete month because the page looks fully rendered until lines start appearing near the end of the chart.

This has all the familiar markings of a gee-whiz kind of idea, but it's not a helpful feature to the end user.

Re: Chart load speed

Posted: Thu Oct 31, 2019 2:13 pm
by bandtank
Here's a video of the extremely slow render speed. Again, the data was fully fetched after roughly 4.5 seconds; the rest of the delay is due to a UI design decision.

Re: Chart load speed

Posted: Sun Nov 03, 2019 6:18 am
by Jameson
Thank you for bringing this to our attention. Also, thank you thank you for the screen capture video, that helps a lot! I assure you that it did not used to be like that :oops:

Though this may look like some cool new feature, it is not! Its a bug and we are hunting around trying to kill it.

We did notice that if you view the Comparison Chart in hours the render speed is much faster. Should not be too hard to kill this bug as we can now reproduce it. This should speed things up.

For others out there looking for a great and easy way to make an easily shareable video screen capture, try RecordIt:

Here is a sample from RecordIt:

Thanks again for your help,

Re: Chart load speed

Posted: Wed Nov 13, 2019 9:59 am
by bandtank
Fair enough. I should have been more clear when I used the word intentional. I meant intentional as in there is a parameter somewhere messing with the load speed, but I should probably have called that a bug. That's my mistake and I apologize for choosing my words poorly.

I've noticed the render speed has dramatically increased over the last few days. It looks like you guys fixed the bug, which is much appreciated. Thank you for dealing with this so quickly.

Re: Chart load speed

Posted: Wed Nov 13, 2019 11:24 am
by Jameson
No worries, Im glad to hear that it is working for you now. But we have not completely fixed the issue yet, it is an intermittent issue. Hopefully we will have it really fixed within a couple weeks.