|
Rank: Newbie Groups: Member
Joined: 11/13/2023 Posts: 3
|
Recently we upgraded our EO.PDF from version 23.2.14 to 23.3.84. With the latest version we are facing performance issue. The report which used to take around 2 mins now takes around 4 mins . Do you guys aware of the issue. Can you please suggest what's the issue. Below is the code which we are using to do pagination
private int GetPageCountUsingHtmlToPdfSession(string finalHTML, HtmlToPdfOptions options) { int pageCount = 0; using (HtmlToPdfSession session = HtmlToPdfSession.Create(options)) { session.ResetTrigger(); session.LoadHtml(finalHTML); Paginator paginator = session.CreatePaginator(); HtmlToPdfResult result = session.RenderAsPDF(paginator); pageCount = result.PdfDocument.Pages.Count; session.Dispose(); } return pageCount; }
|
|
Rank: Newbie Groups: Member
Joined: 3/10/2014 Posts: 7
|
I am also seeing this issue where performance is taking a massive hit. After upgrading to the latest version.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we are still working on this issue. We will reply here again when we have an update.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/10/2014 Posts: 7
|
Do you have a tentative ETA for this fix? We've had to downgrade our version which introduced blank page issues that the latest resolves. We can't move forward until the performance issue is fixed though
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Jdomsky wrote:Do you have a tentative ETA for this fix? We've had to downgrade our version which introduced blank page issues that the latest resolves. We can't move forward until the performance issue is fixed though Do you have a test page that we use? We have requested a test page from dnayak but have not received any.
|
|
Rank: Newbie Groups: Member
Joined: 3/10/2014 Posts: 7
|
What do you need as part of the test page?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
A test HTML file that we can run through the converter in order to see the significant performance difference between versions. For example, the original poster dnayak mentioned that report that used to take 2 minutes and now takes 4 minutes, so that report is what we could use for test, however we have not received any such test files from him yet.
|
|