I wouldn't say there is a recommended way but the way I do it is by
running FOP in embedded mode (I used the servlet example as basis to
build a test class) in a loop and by connecting visualvm to the running
java process. Let it run for a while to get to a steady state and use
the visualvm graphical report to compare the performance measurements
with and without the code changes.
On 8/6/14, 3:24 PM, Matthias Reischenbacher wrote:
Thanks for all your suggestions, this is very helpful. I like the
simplicity of your approach Luis, but I'll try to handle it in the LMs
so that PostScripts benefits too and we have a greater control over
which shapes get merged.
I'll report in the next view days as soon as I can start with this job.
One more thing: Is there a recommended way to evaluate the performance
impact of my changes? I searched in the mailing lists and found only
Jeremia's "FOP Benchmarks" (
http://www.jeremias-maerki.ch/download/fop/FOP%20Benchmarks.zip ).
I'll give it a try, please let me know, if there is some other way.
Thanks,
Matthias