On Thu, 18 Sep 2008, Kevin Jackson <[EMAIL PROTECTED]> wrote:

>> The tests are not through yet, but one thing was so surprising to
>> me that I wanted to show it upfront:
>>
>> Running the matchall target (of sr/etc/performance/dirscanner.xml):
>>
>> Ant 1.6.5               1 min 30 s      ~ 19 MB
>> Ant 1.7.0               3 min 53 s      ~ 24 MB
>> Ant 1.7.1                     10 s      ~ 14 MB
>>
>> So 1.7.0 took more than twice as long as 1.6.5 to find all files in
>> a big directory tree without any patterns and 1.7.1 is a whole lot
>> faster than even 1.6.5.
> 
> That's a huge difference - what are we doing now in 1.7.1 that is
> different from before?

Jesse's changes in svn rev 581748 are the major contributor here,
where he reduced the number of File.isDirectory/list calls and thus
the number of OS syscalls.

I'm currently testing something that will be committed in a few
minutes and that runs the same test in 6 seconds 8-)

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to