On Wed, Mar 26, 2014 at 6:56 PM, Liam R E Quin <liam(_at_)w3(_dot_)org> wrote:
I remember a client with a transformation that was taking I think 20
minutes on a relatively small file; in the end I preprocessed the style
sheet to add a trace message at the start of each template, and ran that
through a simple program (I might'v written a Perl script to do it) that
timestamped each line of the trace.
Well this sort of thing tends to happen a lot with regular expression
heavy development. The Oxygen debugger tells you which function took
the most processing. Using this you can optimize the slowes until
nothing further slows things down.
No need to put output in the code.
--
-
Alex Muir
http://ca.linkedin.com/pub/alex-muir/36/ab7/125
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--