I have a view which contains a little code snippet to output the
result of an XSLT transformation.
<cfset xsl = prc.layoutManager.getXSL("modulecontent")>
<cfoutput>#xmlTransform(prc.layoutManager.getLayoutXML(), xsl)#</
Nothing special about it, but I'm getting some odd results when I look
at how long the thing takes. At first I thought that perhaps the XSLT
transform was slowing it down, so I wrapped a Timer around each line
to see what popped out:
Most of the time I get something like this, which adds up nicely:
01:10:19.246 AM 8 ms xslget ... ...
01:10:19.312 AM 64 ms xslt ... ...
01:10:19.313 AM 77 ms rendering View [layoutsnippets/
template_modulecontent.cfm]
Once every so often (every 5 or so requests), however, there is a big
discrepancy:
01:06:14.111 AM 10 ms xslget ... ...
01:06:14.151 AM 38 ms xslt ... ...
01:06:14.152 AM 182 ms rendering View [layoutsnippets/
template_modulecontent.cfm]
I thought perhaps some cache operation, but this view isn't cached,
nor is the event which calls
it.
What else is this view doing to eat up that extra time?