<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : MergeDocument performance</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : MergeDocument performance]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 05:04:40 +0000</pubDate>
  <lastBuildDate>Mon, 02 Sep 2013 09:32:46 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2706</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[MergeDocument performance : I happened to see that there had...]]></title>
   <link>http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11154.html#11154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2378">ClasG</a><br /><strong>Subject:</strong> 2706<br /><strong>Posted:</strong> 02 Sep 13 at 9:32AM<br /><br />I happened to see that there had been performance enhancement to MergeDocument in the 9.15 version. I upgraded and tried again, and it almost cut the time in half again&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley32.gif" border="0" alt="Clap" title="Clap" />.<div><br></div><div>This is still to slow though (I know - whine, whine, whine...&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" />). So I rewrote the code and used&nbsp;<span style=": rgb251, 251, 253; line-height: 1.4;">MergeFileListFast as Andrew suggested. It's not ideal since the code runs on a web-server and you never know about security rights... Is the w3wp process allowed to create files...?</span></div><div><span style=": rgb251, 251, 253; line-height: 1.4;">It works on the machines I tried so far at least. Now the original 4 min 32 sec is down to...</span></div><div><br></div><div>Wait for it...</div><div><br></div><div><div>Wait for it...</div></div><div><br></div><div>less than 20 seconds&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley3.gif" border="0" alt="Shocked" title="Shocked" />.</div><div><br></div><div>Hurrah for&nbsp;<span style=": rgb251, 251, 253; line-height: 1.4;">MergeFileListFast&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley20.gif" border="0" alt="Thumbs Up" title="Thumbs Up" />.</span></div><div><span style=": rgb251, 251, 253; line-height: 1.4;"><br></span></div><div><span style=": rgb251, 251, 253;"><span style="line-height: 1.4;">It would be great to have the same speed (or at least close to it) in MergeDocument. Or the possibility to do the same with variants - MergeVariantListFast. That couldn't be to hard to implement&nbsp;<img src="http://www.quickpdf.org/forum/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" />.</span></span></div><div><span style=": rgb251, 251, 253;"><span style="line-height: 1.4;"><br></span></span></div><div><span style=": rgb251, 251, 253;"><span style="line-height: 1.4;">Thanks again Andrew for all your help.</span></span></div><span style="font-size:10px"><br /><br />Edited by ClasG - 02 Sep 13 at 9:34AM</span>]]>
   </description>
   <pubDate>Mon, 02 Sep 2013 09:32:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11154.html#11154</guid>
  </item> 
  <item>
   <title><![CDATA[MergeDocument performance : Thank you so much for your help....]]></title>
   <link>http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11149.html#11149</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2378">ClasG</a><br /><strong>Subject:</strong> 2706<br /><strong>Posted:</strong> 27 Aug 13 at 1:40PM<br /><br />Thank you so much for your help. The modified file cut the time for a 162 page document from 4 min 34 sec to 2 min 44 sec <img src="http://www.quickpdf.org/forum/smileys/smiley32.gif" border="0" alt="Clap" title="Clap" />. A great improvement. Unfortunately this is still too long.<img src="http://www.quickpdf.org/forum/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /><div><br><div>We've been using Crystal Reports to generate the reports before, but when the issuer of the form to fill decided to change the layout again, we decided to try to use their original (PDF) directly instead of re-creating it in CR, and therefore have started using QuickPDF. The problem is that the customers are used to the time to generate the reports that CR needed, and that's under 20 sec for (roughly) the same data. It also gives us trouble because the customers web-servers normally time out after 2 minutes. So I've been working on implementing a asynchronous asp page to solve the time out problem and that now works. Problem is that the customers still can't understand why reports take almost ten time as long to generate.</div></div><div><br></div><div>Thanks again for your big help Andrew. But we're still hoping there is some way of improving performance additionally. Either by optimizing our code or if the MergeDocument could be optimized some how...</div>]]>
   </description>
   <pubDate>Tue, 27 Aug 2013 13:40:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11149.html#11149</guid>
  </item> 
  <item>
   <title><![CDATA[MergeDocument performance : Clas,I have optimised your PDF...]]></title>
   <link>http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11093.html#11093</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2706<br /><strong>Posted:</strong> 14 Aug 13 at 1:39PM<br /><br />Clas,<div><br></div><div>I have optimised your PDF file a little by removing some of the fonts. &nbsp;Many of these fonts were not being used. &nbsp;Some of the formfields were using Verdana font but I have changed this to the embedded Helvetica version so the fields will look slightly different but the file size has been reduced considerably. &nbsp;If you prefer to use Verdana then all the t formfields would all need to be changed to Verdana. &nbsp;This can be done quite quickly in Acrobat Pro.</div><div><br></div><div>http://www.filedropper.com/fk3059stripped</div><div><br></div><div>I would be interested to see how much improvement this will make. &nbsp;Also - Are yo loading the PDF's from a file or from a stream ? &nbsp;Are you merging the documents in memory ? &nbsp;If you are using the disk then you could use MergeFileListFast to merger 50 or so files together in one operation.</div><div><br></div><div><span style="line-height: 1.4;">Andrew.</span></div><div><span style="line-height: 1.4;"><br></span></div>]]>
   </description>
   <pubDate>Wed, 14 Aug 2013 13:39:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11093.html#11093</guid>
  </item> 
  <item>
   <title><![CDATA[MergeDocument performance : Hi Andrew.We&amp;#039;re using 9.14...]]></title>
   <link>http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11092.html#11092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2378">ClasG</a><br /><strong>Subject:</strong> 2706<br /><strong>Posted:</strong> 14 Aug 13 at 10:37AM<br /><br />Hi Andrew.<div><br></div><div>We're using 9.14 at the moment. I've re-uploaded the file. It got the same ID so the link works again.&nbsp;<span style="line-height: 1.4;">The PDF's got some 200+ fields.</span></div><div><br></div><div>Thanks for your effort,</div><div>Clas</div>]]>
   </description>
   <pubDate>Wed, 14 Aug 2013 10:37:35 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11092.html#11092</guid>
  </item> 
  <item>
   <title><![CDATA[MergeDocument performance : Clas,Which version of QPL are...]]></title>
   <link>http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11091.html#11091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2706<br /><strong>Posted:</strong> 14 Aug 13 at 2:45AM<br /><br />Clas,<div><br></div><div>Which version of QPL are you using ?&nbsp;</div><div><br></div><div>The filedropper link to your file is no longer working so I have no idea how large/complex your PDF file is. &nbsp;It would be helpful for me to be able to test with the actual file so it would be good if you could post an updated link in this thread.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Wed, 14 Aug 2013 02:45:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11091.html#11091</guid>
  </item> 
  <item>
   <title><![CDATA[MergeDocument performance : Hi.I&amp;#039;m loading a 2 page PDF...]]></title>
   <link>http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11089.html#11089</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2378">ClasG</a><br /><strong>Subject:</strong> 2706<br /><strong>Posted:</strong> 13 Aug 13 at 1:44PM<br /><br />Hi.<div><br></div><div>I'm loading a 2 page PDF as a form (template) filling it with data and then adding it to a main document using MergeDocument (unless it's the first iteration in which it's stored as the main document). This is repeated until all data has been handled. This has been working fine but now as the amount of data is growing, performance is becoming an issue.</div><div><br></div><div>I tried a 71 entry data block, generating a 142 page PDF and for each "page" the MergeDocument took longer and longer time, ending up taking 4.56 seconds. The first merge took about 1/10 of a second.</div><div><br></div><div>Any input on how to speed things up would be greatly apprec<span style="line-height: 1.4;">iated.</span></div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">Thanks in advance,</span></div><div><span style="line-height: 1.4;">Clas</span></div><div><br></div><div>PS. To get a basic idea of the code, see my post&nbsp;<a href="http://www.quickpdf.org/forum/topic2647.html" rel="nofollow">http://www.quickpdf.org/forum/topic2647.html</a>.</div>]]>
   </description>
   <pubDate>Tue, 13 Aug 2013 13:44:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/mergedocument-performance_topic2706_post11089.html#11089</guid>
  </item> 
 </channel>
</rss>