Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

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

Post Reply
mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Mon Nov 22, 2010 11:20 pm

Hello,

I just upgraded from PDF-XChange Version 3 to Version 4 and it feels like that Version 4 is really slow.

Does anyone else feels the same way?

If it is slower how much slow should i expect?

Thanks

Mayur

User avatar
Paul - Tracker Supp
Site Admin
Posts: 5103
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Paul - Tracker Supp » Mon Nov 22, 2010 11:24 pm

Hi mpatel,

it shouldn't be particularly slower. Can you provide details to a scenario we can reproduce and test?

regards
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Mon Nov 29, 2010 5:45 pm

Here is the code that i am using for both V3.0 and V4.0 and i am trying to convert Excel(which has 36 tabs with images and data/tables) to PDF.

This code contains both V3.0 and V4.0 code but just comment/uncomment the code accordingly.
and have c:\temp\test.xls file in order to generate PDF file.

when i export in V4.0 it takes about 1 minute and 50 seconds and when i export in V3.0 it takes about 1 minute and 20 seconds.

I am not sure how much slow down should i expect when i move from V3.0 to 4.0

I appreciate your response.
Thanks

Following is the code written VS 2008

// testPDF4.cpp : Defines the entry point for the console application.
//
#pragma once

#include "stdafx.h"
#include <atlstr.h>

#include <comdef.h>

/**PDF-XChange 4.0 ***/
//V3.3 Folder 6742 Activate this line for PDFEXCHANGE 4.0 upgrade
#import "progid:PXCComLib.CPXCControlEx" rename_namespace("PXC"), named_guids

/**PDF-XChange 3.0 ***/
//#import "pxc30com.dll"
//using namespace pxc30COM;

// MFC Automation classes
#include "CApplication.h"
#include "CWorkbooks.h"
#include "CWorkbook.h"

int _tmain(int argc, _TCHAR* argv[])
{
if (!AfxOleInit())
{
printf("Inizialization COM dll problem!\n");
return FALSE;
}

AfxEnableControlContainer();
::CoInitialize(0);

CApplication* pExcelApp = NULL;

COleVariant covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);

pExcelApp = new CApplication() ;
COleException Err;
if (!pExcelApp->CreateDispatch((LPCTSTR)"Excel.Application",&Err) )
{
printf("can not create excel application\n");
delete pExcelApp ;
pExcelApp = NULL ;
return false;
}

CString filename = "c:\\temp\\test.xls";
CWorkbooks bookToPrint = pExcelApp->get_Workbooks();

//CWorkbooks bookToPrint;
bookToPrint.Open((LPCTSTR)filename,covOptional,covOptional,covOptional,covOptional,covOptional,covOptional,covOptional,
covOptional,covOptional,covOptional,covOptional,covOptional,covOptional,covOptional);

printf("workbook open\n");
CWorkbook book = pExcelApp->get_ActiveWorkbook();
if (book.m_lpDispatch)
{
/** PDF-XChange 3.0

CString PdfPrinterName = _T("PDF-XChange 3.0");
pxc30COM::IPXCControlPtr SaverObj = NULL;

CString pdfFile = "c:\\temp\\test.pdf";
HRESULT hr = SaverObj.CreateInstance(__uuidof(CPXCControl ));
SaverObj->SetParamStr(0,"Save.FullFileName",(LPCTSTR)pdfFile);
SaverObj->SetParamStr(0,"Save.ShowSaveDialog", "No");
SaverObj->SetParamStr(0, "Save.WhenExists", "Overwrite");
//SaverObj->SetParamStr(0, "Compression.Color.Method", "3"); //ZIP
//SaverObj->SetParamStr(0, "Compression.Indexed.Method", "3"); //ZIP
//SaverObj->SetParamStr(0, "Compression.Mono.Method", "2"); //ZIP

SaverObj->SetParamStr(0, "Security.Use", "0");

unsigned char c = 0;
SaverObj->SetOption(1, 4, (long*)&c);
SaverObj->Active = TRUE;
SaverObj->AutoApply = TRUE;

SaverObj->SetParamStr(0, "Save.App.Run", "none");
SaverObj->SetParamStr(0, "Reg.Key", "XXXXX-XXXXX-XXXXX");
SaverObj->SetParamStr(0, "Reg.DevCode", "XXXXX_XXXXX");

SaverObj->ApplyParams(0);

printf("printing\n");
book._PrintOut(covOptional,covOptional,covOptional,covOptional,
COleVariant((LPCTSTR)PdfPrinterName),covOptional,covOptional) ;
SaverObj.Release();
***/

/**PDF-XChange 4.0 ***/

PXC::IPXCControlExPtr m_pFactory = PXC::IPXCControlExPtr(__uuidof(PXC::CPXCControlEx));
if(m_pFactory == NULL)
return FALSE;

CString printer_name = "PDF-XChange 4.0";
// GetConfigValue("PDX-XCHANGE", "PrinterName", printer_name, &printer_name);

PXC::IPXCPrinterPtr m_pPrinter = m_pFactory->Printer[L"", (LPCTSTR)printer_name, L"XXXXX", L"XXXX"];
if (m_pPrinter == NULL)
return FALSE;

CString PdfPrinterName = "c:\\temp\\test.pdf";

m_pPrinter->ResetDefaults();
m_pPrinter->Option[L"Save.SaveType"] = L"Save";
m_pPrinter->Option[L"Save.ShowSaveDialog"] = L"No";
m_pPrinter->Option[L"Save.File"] = (LPCTSTR)PdfPrinterName;
m_pPrinter->Option[L"Save.WhenExists"] = L"Overwrite";

m_pPrinter->Option[L"Security.Enabled"] = FALSE;

m_pPrinter->Option[L"Save.RunApp"] = FALSE;

printf("printing\n");
book._PrintOut(covOptional,covOptional,covOptional,covOptional,
COleVariant((LPCTSTR)m_pPrinter->Name),covOptional,covOptional) ;

m_pPrinter.Release();
m_pFactory.Release();

}

bookToPrint.Close();

delete pExcelApp;
return 0;
}

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Mon Nov 29, 2010 6:33 pm

Sorry, but we have had to block your serial key - we do not allow publishing of keys on the public forums as these keys should be kept confidential.

Please contact support@tracker-software.com to obtain a new serial key.

regards
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Mon Nov 29, 2010 7:54 pm

Thanks

but now what happens because our software is already using that license information?
Please guide me soon as possible

THanks

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Mon Nov 29, 2010 8:04 pm

You will need to contact us with your license purchase info and request a new serial number - existing installs will not be affected - but new ones will be once you download and access a new release and compile.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Mon Nov 29, 2010 10:12 pm

Thanks

just making sure .. You mean that as long as i keep using the already downloaded EXE will not affect anybody right?

and do you have any update for performance issue yet?

Thanks

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Tue Nov 30, 2010 12:33 am

Yes, already downloaded installers will not be affected. New builds will have these serials blocked.

About the reported performance issue: I will need to have your document to investigate and find what may cause problems. You can send this document to my email: Ivan@tracker-software.com
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Tue Nov 30, 2010 5:31 pm

Ok i have sent you an email with ZIP file which contains the document.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Wed Dec 01, 2010 4:59 pm

Any update on this?

Our product release is coming soon so we have to have enough time to switch back to V3 if V4 is slower.

Thanks

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14154
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Tracker Supp-Stefan » Thu Dec 02, 2010 11:19 am

Hello mpatel,

I will ask Ivan to reply with an update here shortly.

Best,
Stefan

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14154
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Tracker Supp-Stefan » Thu Dec 02, 2010 4:49 pm

Hi again mpatel,

I just spoke with ivan, and he said that he got the files you sent him but is still investigating where the problem might be (or if there is a problem at all, as there are quite some features added in ver4 compared to ver3 which could be causing this loss of performance).

We will post here as soon as we have any findings.

Best,
Stefan

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Mon Dec 06, 2010 7:40 pm

Sorry but any update yet? Can you duplicate the problem?

Thanks

anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by anovy » Tue Dec 07, 2010 5:39 pm

Hi,
I also noticed that the 4.x version is in some cases substantialy slower than the 3.x version. This occurs mainly for PDF outputs with large or many raster elements (bitmaps).

I tested the ver 4 against the ver 3.6. The only diferrence between the tests were always only the versions of XChange API. All tests were done with disabled optimization for image sequences and all other optimization parameters were the same for both versions. For both versions and in all tests there was not significant difference in resulting PDF file size and quality.

I compared speed of two processes - Rendering (from StartDoc to EndDoc inclusively) and Saving (after EndDoc).

For most samples the rendering process for the ver 3.6 was 3 times faster than for ver 4. But I have a sample where this difference is 30 times (really thirty times: 8 sec. ver 3.6 and 4 min. ver 4).

The difference in saving process is not so dramatic, the worst case was 50% slow down in ver 4.

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Tue Dec 07, 2010 10:10 pm

For most samples the rendering process for the ver 3.6 was 3 times faster than for ver 4. But I have a sample where this difference is 30 times (really thirty times: 8 sec. ver 3.6 and 4 min. ver 4).
I am very interested to take a look at the case with 30 times difference. Can you describe how to reproduce this ?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

anovy
User
Posts: 164
Joined: Mon Feb 08, 2010 8:48 am

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by anovy » Tue Dec 07, 2010 10:31 pm

Ivan,
I think the only way is that I will provide you with my application and with corresponding input data (files). I suggested this also for the another problem, which I encountered (ver. 4.0189 has problem with large jobs - see my another post in this forum section). So if you will agree I will prepare for you a special version of my application and then I will provide you with download links to the software and input files along with detailed description how to produce the PDF files.

BTW:
I think that such big difference is caused mainly by a fact, that version 4 does some very intensive disk swaping (the disk LED is permanently on during rendering). In either case the tests were performed on sufficiently powerfull computer (3 GHz dual core, 4GB RAM) with lot of disk space.

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Wed Dec 08, 2010 2:21 pm

Please do send you app and see the other forum post for detailed instructions.

http://www.tracker-software.com/forum3/ ... =43&t=9478

Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Tue Dec 14, 2010 10:12 pm

I cannot compile your code because I haven't these headers:

Code: Select all

// MFC Automation classes
#include "CApplication.h"
#include "CWorkbooks.h"
#include "CWorkbook.h"
I'm trying to import excel typelibs but without success now.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Tue Dec 14, 2010 10:54 pm

I am sending you those header files by email

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14154
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Tracker Supp-Stefan » Wed Dec 15, 2010 1:02 pm

Thanks mpatel,

I will ask Ivan to confirm he got your files.

Best,
Stefan

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Wed Dec 15, 2010 6:34 pm

You should have received an email asking for some additional info - the files have been received - thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Wed Dec 15, 2010 9:56 pm

I have not received any email yet.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14154
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Tracker Supp-Stefan » Thu Dec 16, 2010 2:30 pm

Hello mpatel,

I asked Ivan to forward this request for additional information to me and will try to send it once again.
Can you please confirm that the e-mail in your signature is the correct one?
mayur.patel AT interactivedata.com

Best,
Stefan

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Thu Dec 16, 2010 3:06 pm

yes it is correct.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Mon Dec 20, 2010 2:42 pm

any updates yet.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14154
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Tracker Supp-Stefan » Tue Dec 21, 2010 3:24 pm

Hello mpatel,

Ivan just confirmed that he has worked on the speed issue, and the next build of ver4 (190) should now be almost as fast as ver3 was (it still might be slightly slower, as there is an overhead now for handling sequences of images, but this is understandable and expected with the increased set of features - and in any case the speed is improved significantly compared to build 189).

Build 190 is expected later today (Pacific Time).

Best,
Stefan

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Tue Jan 04, 2011 7:11 pm

I have been exporting to Excel to PDF with images.
I would like to know how much performance degradation should i expect in version 4.0?

Is there any phone no for technicle support? I would like to talk to someone regarding this?

Thanks

User avatar
Paul - Tracker Supp
Site Admin
Posts: 5103
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Paul - Tracker Supp » Tue Jan 04, 2011 8:26 pm

Hi mpatel

we don't have telephone tech support I'm afraid. Ivan has been active on this thread and he is the Development Team Leader so when you hear from him you are getting it 'straight from the horses mouth' so to speak.

Please post your questions here or email directly to support@tracker-software.com and if needed we will forward the email to Ivan. The fastest method of communication with him would still be this forum.

hth
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Tue Jan 04, 2011 8:32 pm

to mpatel: Have you tried build 190 of the driver?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Tue Jan 04, 2011 10:55 pm

I did try 190 build. Problem is if you have less memory (RAM) it takes forever in optimization step. I also noticed that it takes long time in spooling of last page.
and it occupies so much memory in the last step (generating PDF)

Thanks

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Wed Jan 05, 2011 9:25 pm

Can tell us the OS you are using and how much memory you have on your PC?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Fri Jan 14, 2011 9:19 pm

Sorry for late reply.

That machine has 1 GB memory and its using WIndows XP. on this machine the Excel (which has 24 worksheets and it contains total 20 images) file that we are converting to PDF takes following time

in version 3.0 - about 24 minutes
in version 4.0 - about 43 minutes.

but it seems that if i change all the 24 work sheets as a seperate files and if i append the output to the single PDF file
it is lot faster and taking around 2-3 minutes only.

Can you explain me this scenario?

i am sending you all the excel files in a zip file at Ivan@tracker-software.com.

File called mixXLS.xls is the single file with 24 worksheets.

Please this is the emergency now.

please respond as soon as possible.

Thanks

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Sat Jan 15, 2011 1:17 am

Which build of the driver are you using ?
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Sat Jan 15, 2011 7:43 am

190

User avatar
Chris - Tracker Supp
User
Posts: 799
Joined: Tue Apr 14, 2009 11:33 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Chris - Tracker Supp » Sun Jan 16, 2011 1:29 pm

Hi mpatel,

Our developers will get to you on the matter Moday.

Best,
Chris
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.


Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Tue Jan 18, 2011 4:13 pm

Hi,

Can you please supply 1 sample PDF - please zip and attach here (or email to Ivan again) - based on 1 or more of the excel files supplied generated your end and showing the problem ? If sent by email - please advise here to ensure we can check and advise if it does not arrive.

Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Ivan - Tracker Software
Site Admin
Posts: 3630
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Ivan - Tracker Software » Tue Jan 18, 2011 5:56 pm

How are you converting excel file with several sheets in one PDF? I see two possible ways:

first one is:
1) convert one sheet to PDF
2) append this PDF to existing one
3) repeat 1)-2) as many times as many sheets we have

This was may take a lot of time, especially on step 2) because appending isn't 'cheap' operation in terms of prcoessing overhead - the driver makes some optimization after appending (like merging fonts, etc.)

The Second way is to create a PDF from all sheets in one step (see KB about how to do this: http://www.tracker-software.com/knowled ... single-PDF). This is far more efficient.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Wed Jan 19, 2011 5:52 am

Hello,

I am sending you again the zip file containing all the Excel files and PDF files (both generated from multiple excel files and from single excel file).
I am also sending you a zip file with two different code to generate these PDF files from these excel files.

I want you to try and duplicate the problem first.
let me know whether you can duplicate the problem first or not.

I am sending following zip files through email to Ivan.
let me know if you receive three different zip files or not.
1- zip file with Excel files and PDF files.
2- zip file with code to generate PDF file with single Excel file.
3- zip file with code to generate PDF file with different Excel file.

Thanks

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Wed Jan 19, 2011 9:41 pm

We have the files thanks and are investigating - some progress has been made - but due to the necesscity to append new pages to a single file and with each append re-optimise existing content with the new content added (e.g. fonts, common images etc) to maximise file size compression/optimisation, with each append this becomes more complex and the required call on resources greater - and speed will depend very much on your PC specification (Processor, Memory and disk speed/caching etc) there is a very finite amount of improvement possible.

Some improvements will be made in the next release - but this will be limited for the reasons explained above.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Thu Jan 20, 2011 2:35 am

Thanks for reply.

I understand that speed depends on PC parameters. But as you explaning Append requires more stuff to do like "re-optimise existing content with the new content added (e.g. fonts, common images etc) to maximise file size compression/optimisation, with each append this becomes more complex and the required call on resources greater " but does it happen in both PDF-XChange version 4.0 and 3.0 or it just happens in 4.0?
and What is the Append means in my case there are two different Appends.
1 - Open every single excel file and print to pdf and all the subsequent excel files will be appended to the pdf file generated by first excel file.

2- Open excel file with multiple worksheets and print it to PDF but i assume there will be appending as all the worksheets are printed to same PDF.

I am asking this because i can see different performance in both case.

Sorry for bothering you too much now.

Thanks once again.

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Thu Jan 20, 2011 5:00 am

Hi,

the primary reason for this is the improved optimazation in V4 over V3 and the support for later version PDF formats etc - there is an overhead to all this and the append/merge is where this is noticed most as already explained - for now I am afraid there is little additional that can be done - please wait for the next release and see if this helps - though we fully accept the benefit is somewhat limited.

If we find some other ways to address this we will advise - and rest assured we will keep looking for ways to improve.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Thu Jan 20, 2011 7:27 am

when do you expect new release tol be available?

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 14154
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by Tracker Supp-Stefan » Thu Jan 20, 2011 2:12 pm

Hello mpatel,

I have seen John post in another topic saying 14 days, so in about two weeks (or the Monday after) we should have a new build.

Best,
Stefan

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Mon Jan 24, 2011 11:24 pm

To whom it may concern,
The performance of PDFXchnage V4.0 is becoming a serious problem for our business. We are scheduled to release our product by end of January with PDF XCHNAGE V4.0 and it looks like your new build which will be available in 14 days won't be that much faster anyway. On the other hand Active PDF does not work with Office 2003 environment. We Really need a solution ASAP.
Is there a way to escalate this issue?

Please respond ASAP.

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Tue Jan 25, 2011 12:22 am

Whilst I appreciate your concerns - we have already explained at some length the cause of this issue and our doubts about a dramatic increase in speed being available for the reasons outlined - I will discuss one last time with our project director and one of us will reply in the next 24 hours - however I can confirm that build 192 is due for release in the next 7 days or so.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Tue Jan 25, 2011 12:26 am

I just discussed briefly with Ivan and he says he sent you already an updated set of driver components to check you end - BUT - has had no response from you ?

Asssuming there was no problem in receipt - we are some what 'taken aback' by your posting here without any mention of the components sent for you to check.

Please advise ...
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

mpatel
User
Posts: 30
Joined: Fri Mar 26, 2010 4:06 pm

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by mpatel » Tue Jan 25, 2011 5:39 am

Ivan,

The driver set that you send it to me did not help us much. I am sorry I forgot to mention about this in previous post.

Thanks

John - Tracker Supp
Site Admin
Posts: 8205
Joined: Tue Jun 29, 2004 10:34 am
Location: Vancouver Island - Canada
Contact:

Re: Performance in PDF-XChange 3 VS Performance in PDF-XChange 4

Post by John - Tracker Supp » Thu Jan 27, 2011 9:39 pm

At this moment in time I am afraid we see no way to improve further ...

The process of creating new pages and the process of appending files makes demands on the system (disk, processor and memory) that are unavoidable and this is increased further by the need to optimize the file to remove duplicate content (e.g. Bookmarks, Images, Fonts etc).

I am afraid you cannot have the improvements in Version 4 - without the additional overhead this entails, for now my best suggestion is to use V3 if that operates satisfactorily for you and we will in the coming months address this as we can - but for now we are out of ideas as to how to improve further.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com

Post Reply