Mail Archives: djgpp-workers/2002/06/17/12:20:44
On Mon, 17 Jun 2002 sandmann AT clio DOT rice DOT edu wrote:
> > In other words, does most of the difference come from globbing (which
> > would point to `glob' and `findfirst') or from `stat' (which probably
> > means we are paying for the symlink support)?
>
> The time for djecho seems to be the same for V2.03 and CVS, around
> 4 seconds (with about 1 second accuracy ...)
That means the problem is probably in `stat'. It would be interesting to
profile two binaries of `ls', one from CVS, the other built with v2.03 or
earlier, and see what portion does `stat' take.
> In the above example there's no globbing, but it does seem that
> findfirst isn't the slowdown.
Yes.
- Raw text -