clararobayo / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

really slow rendering in browser #583

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load attached xml data (same as in Issue 137).
2. Even the initial display is really slow. 
3. Click 'next>>' in the pager.

What is the expected output? What do you see instead?
It takes about 25 seconds on 4 GB Xeon E31245 to render 10 records (about 80 
rows). A second or two for rendering would be acceptable. See attached 
screenshot.

What version of Google Refine are you using?
Tried with 2.5 and SVN trunk checkout.

What operating system and browser are you using?
Win7, Chrome 19 and Opera 11, both browsers go haywire.

In Issue 137 @tfmorris noticed that this could be caused by large number of 
null cells. Can someone verify this?

Original issue reported on code.google.com by libo...@gmail.com on 11 Jun 2012 at 12:24

Attachments:

GoogleCodeExporter commented 9 years ago
Excuse the typo - it takes 15 seconds on the screenshot, but I noticed also 
times around 30 seconds in similar cases - probably dependent on the real 
number of rows in each record.

Original comment by libo...@gmail.com on 11 Jun 2012 at 12:41

GoogleCodeExporter commented 9 years ago
I've tracked this down to the column width resizing code in data-table-view.js. 
 DataTableView._adjustDataTables() is causing an enormous amount of time to be 
spent in jQuery's cssHooks.get() method, but I'm not sure what the fix is yet.  

Quitting for now, so recording for posterity...

Original comment by tfmorris on 8 Sep 2012 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by tfmorris on 18 Sep 2012 at 5:47