Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
Export to Excel Speed
posted

We use the UltraWebGridExcelExporter on just about all the grids that we have in a specific web project.  However, there is one UltraWebGrid that we have that is 57 columns and can have anywhere from 50 rows to 30K rows.   The export on this grid takes ~1m 10s per 10K rows to build the excel spreadsheet (this is only if I do it in 1000 row increments binding 1000 rows to the grid, exporting it and then binding the next 1000 and so on.).

So here is the test case..   20k rows, 57 columns wide, doing an export in 1000 row increments (Any more than 1500 rows at a time the performance goes down logrithmically).  Formatting has some background color and stringformatting and alignment.  None of the cells contain more data than a char(50).  Running IIS7 on a dl320 g6 rack server with 16gig of ram and 4 cores.  The IIS app pool is set for unlimited ram usage and does not have any recycle triggers set.   We are currently using the Infragistics35 dll set and just upgraded for the test to 2011.1.

When I run and profile the export, It takes almost 2 Gig of ram and 2min 24sec to build the workbook that ends up in a 6 meg excel file.

   I am baffled at why it takes so much resources to translate this to excel.  Yes, I know it is a lot of columns, we all know as software engineers that these things are not always under our control, client wants the columns, they get the columns. :-)    We have known about the export speed as a problem since the 2007 version we first started using.  As a result, in 2009,  we decided to build a home grown excel exporter specifically to export huge amounts of data.  It takes this same UltraWebGrid full of data and processes it into an excel formatted xml file that excel can open.    The home grown version exports the 20k rows 57 cols wide in 4 seconds.   But it produces a 70meg xml file that I have to transmit to the browser. (the down side)

Every time a new version of infragistics is released we find ourselves grabbing the new version and hoping that the performance has improved so that we can move this grid back to the infragistics exporter.

So my question is.  Is infragistics dev staff looking into the speed of this exporter?  We really like its ease of use but it is a resource animal.  We are needing to move this grid to an xlsx export from the xls export that our home grown exporter does and would much rather use yours as opposed to writing another one because of speed issues.  

Parents Reply Children
No Data