[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Performance improvement for a recursive function?

Subject: Re: Performance improvement for a recursive function?
From: Manfred Staudinger <manfred.staudinger@xxxxxxxxx>
Date: Tue, 13 Dec 2011 16:47:32 +0100
Re:  Performance improvement for a recursive function?
On 13/12/2011, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> Sorry, haven't studied the problem in enough detail to answer this. The
> 9.3 code is clearly suboptimal, and is fixed in 9.4, which is all I
> really needed to establish.
No problem, will try it with 9.4 and report.

Regards,
Manfred

On 13/12/2011, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>> On 13/12/2011, Michael Kay <mike@xxxxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.