Date: Mon, 17 Jun 2002 19:15:19 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: sandmann AT clio DOT rice DOT edu cc: djgpp-workers AT delorie DOT com Subject: Re: DJGPP 2.04 performance & size In-Reply-To: <10206171500.AA16601@clio.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.