Chart load speed

This discussion is intended to be about the new web application for EKM Push users at http://www.encompass.io that has been beta released. Use this discussion to talk about your experiences with Encompass, including what works, what doesn't, and what could be added or improved.
Post Reply
bandtank
Posts: 16
Joined: Fri Mar 08, 2019 8:43 am

Chart load speed

Post 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

Query: https://encompass.io/api/v3/widget/4538122/data?action=data&limit=250&
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.
bandtank
Posts: 16
Joined: Fri Mar 08, 2019 8:43 am

Re: Chart load speed

Post 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.
Attachments
render.zip
(472.35 KiB) Downloaded 694 times
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: Chart load speed

Post 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: https://recordit.co

Here is a sample from RecordIt: http://recordit.co/6nbW73UXxz

Thanks again for your help,
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
bandtank
Posts: 16
Joined: Fri Mar 08, 2019 8:43 am

Re: Chart load speed

Post 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.
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: Chart load speed

Post 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.
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
Post Reply