Is there a way to measure performance parameters like time until document is loaded or render complete?
Trying to understand how long does it take to load some of my "heavy" documents
Are you trying to do this inside of Acrobat (in a plugin) or from your own application using the PDFLibrary?
I am not sure what you are trying to achieve in the long run (aka what’s your end goal, in detail, if you can) – and then I can give you more direction.
I would like to perform a measured performance test on Acrobat Reader.
Test should include KPIs like:
I have some complicated files that may take almost a minute to open, I would like to measure this time automatically (batch).
So I would know which file take more time to open without using a stopwatch
To do this in Adobe Reader, you will need to write a custom plugin to Reader (in C/C++). You will need to obtain a license from Adobe for that plugin (no cost, but you need the license). Details on how to write a plugin, samples, the license, etc. are all in the Acrobat SDK.
It is also recommended to do all development with Acrobat (where you don’t need a license).
For long documents, you won't actually be benchmarking Adobe Reader as much as you'll be benchmarking your hard drive, degree of fragmentation of the drive, and the degree of conformance to the specification of PDF creation tool (Acrobat will repair malformed PDF... to a degree... that takes time). If your concern is document load time, consider splitting the document and then creating a PDF Portfolio with the parts.
Thank you for detailed information, you helped me a lot