JavaScript Performance issue

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
pmcnulty
User
Posts: 20
Joined: Wed Apr 06, 2016 11:39 pm

JavaScript Performance issue

Post by pmcnulty »

Hi
We are currently deal with large documents (1000+ pages) which we are required to place annotations on each page.
We have written a JavaScript add-on, which allows us to perform the task efficiently.

During our transition from Acrobat to PDF-Xchange, we have noticed a significant performance issue running the tool in PDF-XChange and it often comes up with the Jscript error below.
error.png
Having also run the tool in Acrobat there is a marked difference in performance between the two applications with PDF-Xchange being much slower in applying the annotations and displaying the script execution error.

I have attached sample code stamp for you to be able to test.

Although most of the time the stamping does work. for some of the larger documents the users are having to split the documents in order to stamp all the pages which is quite time consuming.
To see the effect create a blank document with 1500 pages and run the “stamping speed issue” Add-on
Attachments
SpeedIssue.zip
(8.8 KiB) Downloaded 71 times
pmcnulty
User
Posts: 20
Joined: Wed Apr 06, 2016 11:39 pm

Re: JavaScript Performance issue

Post by pmcnulty »

Has anybody been able to recreate this issue
User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1778
Joined: Mon Jan 15, 2018 9:01 am

Re: JavaScript Performance issue

Post by Dimitar - Tracker Supp »

Hello pmcnulty,

Yes, I was able to reproduce the problem at my end.

I have forwarded your script to our developers for further investigation.



Regards.
pmcnulty
User
Posts: 20
Joined: Wed Apr 06, 2016 11:39 pm

Re: JavaScript Performance issue

Post by pmcnulty »

Hi Dimitar

That's awesome thanks very much
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: JavaScript Performance issue

Post by TrackerSupp-Daniel »

:D
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply