xsl-list
[Top] [All Lists]

Re: [xsl] Performance improvement for a recursive function?

2011-12-13 09:16:37
On 13/12/2011, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
to process 41337 path commands it takes 861 sec! The first 5000 path
commands are processed in 14 sec (at 355.87 per sec) the last 5000
take 671 sec (only at 7.5 per sec).
I'm seeing an execution time of about 90 seconds under Saxon-EE
9.3.0.11, down to 23 seconds under Saxon-EE 9.4.0.1
What baffles me is that with each tail-recursion it takes longer to
execute the function! Do you see this also with 9.4? Any idea about
the possible reason?

Garbage collection, disk thrashing ?

1gb isn't much...


-- 
Andrew Welch
http://andrewjwelch.com

--~------------------------------------------------------------------
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>
--~--