[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] FO profiling


Subject: [xsl] FO profiling
From: Jesper Tverskov <jesper@xxxxxxxxxxx>
Date: Thu, 3 Oct 2013 12:46:50 +0200

Hi list

For FOP I have made a crude system of a bat-file with a stop-watch
(only centi-seconds are available) calling 1000 bat-files doing the
same XSL transformation 1000 times to get an ok average with ok
variation for my purpose.

Each test takes an hour with the stylesheet I'm testing. E.g.:
Replacing some SVG in the FO with an fo:inline element containing an
fo:ruler element, reduced processing time 11%. It takes two tests, 2
hours, to determine that!

I'm wondering what other people do when profiling FOP. It would be
nice to see a detailed list of hotspots like when using the XSLT
profiler in Oxygen. I'm not much for doing the detailed time stamping
of the FO output myself, if products doing it in a more professional
and user-friendly way exist.

I don't see any switch in the FOP documentation, I can turn on/off,
but maybe I haven't looked long enough?

I'm wondering if the commercial FO processors have such profiling
build in? I'm also surprised about how many times you need to do the
same test to get a reliable result. My thousand times are probably far
from enough for more serious testing.

Regards
Jesper


Current Thread
Keywords