XSLT - recursion/processing - monitoring resource consumption

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all,
I have a template which makes use recursion where each iteration of the recursion created a nested XML element which can go up to about 10 levels deep. For example, the following XML is generated through recursions and goes on 3 levels deep....

<div style="color:Black;background-color:White; <pre>
<span style="color:Blue; <<span style="color:#A31515; groups<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; name<span style="color:Blue; >name 1<span style="color:Blue; </<span style="color:#A31515; name<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; level<span style="color:Blue; >1<span style="color:Blue; </<span style="color:#A31515; level<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; groups<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; name<span style="color:Blue; >name 2<span style="color:Blue; </<span style="color:#A31515; name<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; level<span style="color:Blue; >2<span style="color:Blue; </<span style="color:#A31515; level<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; name<span style="color:Blue; >name 3<span style="color:Blue; </<span style="color:#A31515; name<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; level<span style="color:Blue; >2<span style="color:Blue; </<span style="color:#A31515; level<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; groups<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; name<span style="color:Blue; >name 4<span style="color:Blue; </<span style="color:#A31515; name<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; level<span style="color:Blue; >3<span style="color:Blue; </<span style="color:#A31515; level<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; name<span style="color:Blue; >name 5<span style="color:Blue; </<span style="color:#A31515; name<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; level<span style="color:Blue; >3<span style="color:Blue; </<span style="color:#A31515; level<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; groups<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; groups<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; group<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; groups<span style="color:Blue; >
[/code]


I know that this type of recursive processing can be quite processor hungry, so was wondering if there is a tool that I can use to monitoring the resources/memory that is being consumed by my application when it running through the XSLT recursion?
Thanks
Tryst


<hr class="sig Tryst

View the full article
 
Back
Top