ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: DirectoryScanner performance
Date Thu, 18 Sep 2008 15:30:29 GMT
On Thu, 18 Sep 2008, Steve Loughran <stevel@apache.org> wrote:

> Kevin Jackson 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?
> >
> 
> I think it tries to sort stuff less.

Not in DirectoryScanner, maybe in between 1.6.5 and 1.7.1.

The pathconvert results of 1.6.5 and 1.7.1 are identical (only
difference is that my drive letter - Windows - was lower case in 1.6.5
and is uppercase in 1.7.1).

I checked because I couldn't believe the performance difference was real.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message