TableExport icon indicating copy to clipboard operation
TableExport copied to clipboard

Export large table - Slow Result. - how to improve the download speed.

Open danielrpp opened this issue 7 years ago • 4 comments

Hi, I have detected a bug, on line 908 of js tableexport.js, you must replace

_nodesArray (context.rows) .map (function (val, ir)

by:

for (var i = 0; i <_nodesArray (context. rows) .length; i ++) (function (val, ir)

this helps considerably in the speed.

danielrpp avatar Apr 22 '18 14:04 danielrpp

I had a table with approx. 2,300 rows. I didn't had the patience to let it finish loading. After your fix, it took around 30 seconds. Thank you!

KMcCracken avatar May 31 '18 18:05 KMcCracken

@KMcCracken I like it to know that I have helped you!

danielrpp avatar Jun 01 '18 06:06 danielrpp

Thank you for this. The change fixed an extremely slow load for me as well.

1rlaw1 avatar Jul 02 '18 18:07 1rlaw1

Excellent catch. I have a table of ~14K rows and this caused the export to change from "Page Unresponsive" to barely 10 seconds. Thanks!

JoeMoon5 avatar Jun 28 '19 21:06 JoeMoon5