tablesort icon indicating copy to clipboard operation
tablesort copied to clipboard

Investigate performance

Open xPaw opened this issue 9 years ago • 1 comments

Sorting a table with thousands of rows takes quite a bit of time if your machine is not very powerful.

There are some interesting notes here: http://madhatted.com/2008/1/16/the-joy-of-an-optimized-complete-javascript-table-sort And could look into using document fragments: https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment

On my terrible laptop, it took about 5 seconds just to call all the appendChilds after sorting.

cc @tristen

xPaw avatar Nov 28 '15 10:11 xPaw

Perhaps this could be interesting to take a look at: https://github.com/wilsonpage/fastdom

xPaw avatar Jan 10 '16 12:01 xPaw