Re: [xsl] Managing debug logging in complex transforms: what do people do?

Subject: Re: [xsl] Managing debug logging in complex transforms: what do people do?
From: Alex Muir <alex.g.muir@xxxxxxxxx>
Date: Thu, 27 Mar 2014 10:37:11 +0000
On Wed, Mar 26, 2014 at 6:56 PM, Liam R E Quin <liam@xxxxxx> 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

Current Thread