JavaScript Performance issue

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

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

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

JavaScript Performance issue

Post by pmcnulty » Mon May 13, 2019 3:58 am

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 30 times

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

Re: JavaScript Performance issue

Post by pmcnulty » Wed May 29, 2019 1:47 am

Has anybody been able to recreate this issue

User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 389
Joined: Mon Jan 15, 2018 9:01 am

Re: JavaScript Performance issue

Post by Dimitar - Tracker Supp » Wed May 29, 2019 9:06 am

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 » Mon Jun 03, 2019 10:10 pm

Hi Dimitar

That's awesome thanks very much

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 2241
Joined: Wed Jan 03, 2018 6:52 pm

Re: JavaScript Performance issue

Post by TrackerSupp-Daniel » Mon Jun 03, 2019 10:16 pm

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

Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623

Post Reply