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
1425
Performance factors for exporting a grid to PDF
posted

Hi all,

I have an application that exports a grid to PDF. I handle several events to make changes to the layotu of the grid so that it looks more like a report in the PDF document.

We've been testing the speed of generating the report and have noticed that the difference in exporting 10, 20 or 30 thousand rows does not differ (only by a few seconds - taking over 5 minutes in total). We're filtering the rows down from 30,000 to test - expecting that it would be quicker. There is also no difference between 50 and thousands of rows either...

Does anyone know what factors affect the performance of the PDF export?

Is it the number of rows (regardless of any filters), the number of columns, the number of pages it produces etc.?

We have found that collapsing any groups in the grid does speed the report generation greatly, however.

Any help will be greatly appreciated.

Cheers,

Richard

Parents
  • 469350
    Offline posted

    Hi Richard,

    Are you saying that it takes 5 minutes to export 50 rows? I can understand thousands of rows taking that much time, although it still seems pretty high and I've never seen it take that long. It also depends on the speed and RAM on the machine.

    But if you have a sample which demonstrates 50 rows taking 5 minutes to export, I'd love to see it, because there's clearly something very wrong there.

    Have you tried running it through a performance profiler?

    What version are you using?

Reply Children