systemapic / systemapic.js

Systemapic Javascript API
https://systemapic.com
0 stars 3 forks source link

Optimize Data Library (d3) #203

Open knutole opened 8 years ago

knutole commented 8 years ago

I have 1054 files in my data library now, and it's very slow. It seems a lot of operations require a redraw of the entire list of files.

Need to go over the code and make sure there is as little redrawing as possible.

Ops that seem to trigger full redraw:

screen shot 2016-04-14 at 10 52 40 am

Also, opening the Data Library for the first time is very, very slow (over a full second for me). Perhaps we can do this "behind the scenes", so that the experience is much faster for end-user.

Need to rewrite _refresh() in chrome.data.js, see comments.

References:

https://developers.google.com/web/fundamentals/performance/rendering/