PDF Export option is very slow

Stimulsoft Reports.NET discussion
Post Reply
ckannan
Posts: 7
Joined: Fri Jul 01, 2016 12:49 pm

PDF Export option is very slow

Post by ckannan »

Hi,

Our requirement is export huge records to PDF. We have monitoring that, huge time is consumed while export PDF option. Hence, we have created the sample report to test the performance of Rendering and Export PDF option.

Please refer the below sample data :

No. of iteration : 100
Rport load time : 1.8 Sec
PDF export time : 24.51 Sec
Version : Stimulsoft.Net 2016.1

Export to PDF is very slow compare to MRT rendering. We have to handle the huge records. Please provide the workaround to reduce the PDF export time?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: PDF Export option is very slow

Post by Alex K. »

Hello,

We made some improvements and optimizations in that direction. Please check the last version.

If the issue still present, please send us a simple report which reproduces the issue for analysis.

Thank you.
ckannan
Posts: 7
Joined: Fri Jul 01, 2016 12:49 pm

Re: PDF Export option is very slow

Post by ckannan »

Hello,
we are using latest version 2016.1 only.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: PDF Export option is very slow

Post by HighAley »

Hello.

Could you send us the project where you check the time of the export for analysis?
We need to see your report to answer your question.

Thank you.
ckannan
Posts: 7
Joined: Fri Jul 01, 2016 12:49 pm

Re: PDF Export option is very slow

Post by ckannan »

Hi,

Please find the sample report and source to identify the time of MRT rendering and Export PDF.

We have large amount data in either XML or Dataset and extract the data one by one and export the PDF by each cases.

Note : This sample report only. we have complex report is consume more data.
Attachments
TestReport.zip
sample project
(7.88 MiB) Downloaded 201 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: PDF Export option is very slow

Post by Alex K. »

Hello,

We have checked your project.

In your project is running 1000, not 100 cycles. Those, 24 seconds is exported in 1000 PDF-files, this is a very good time.

But you can speed up the export process.
You set StiUserAccessPrivileges.None export option. In this case turned on encryption PDF-file and is forced property EmbeddedFonts = True.
If use StiUserAccessPrivileges.All export option, the export works almost in 2 times faster.

Thank you.
ckannan
Posts: 7
Joined: Fri Jul 01, 2016 12:49 pm

Re: PDF Export option is very slow

Post by ckannan »

Hi,

Thank you for valuable reply.

I have sent sample data of iteration count. Actually this is very small amount of data. We are creating separate PDF for each numbers from bulk data's(Lakhs). Hence, it will take more time to complete the process(MRT rendering and Export PDF). Is it possible to rendering the bulk data instead of each number-wise(separate file) and extract the PDF from bulk rendering. Its may reduce the time of each number-wise execution also loaded report in single times instead of each records.

We have to set the Owner password and User password to restrict the Copy of PDF content. Hence, we have use Export.StiUserAccessPrivileges.PrintDocument also Font to be embedded.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: PDF Export option is very slow

Post by HighAley »

Hello.

In the Export Settings you could find a page range setting.
You could render the whole report and then export necessary pages only.

Thank you.
ckannan
Posts: 7
Joined: Fri Jul 01, 2016 12:49 pm

Re: PDF Export option is very slow

Post by ckannan »

How can i find the number of pages available for the particular iteration in run time? Page may vary for each execution.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: PDF Export option is very slow

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
Post Reply