Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 27 Jan 2004 15:09:36 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: pd <pdzierza@poczta.onet.pl>
cc: cygwin@cygwin.com
Subject: Re[2]: 'bash --login -i' takes 9 secs !
In-Reply-To: <169177317962004-0127210323!poczta.onet.pl>
Message-ID: <Pine.GSO.4.56.0401271507510.14952@slinky.cs.nyu.edu>
References: <128150614682004-0127201852!poczta.onet.pl> <Pine.GSO.4.56.0401271434550.14952@slinky.cs.nyu.edu> <Pine.GSO.4.56.0401271442030.14952@slinky.cs.nyu.edu> <169177317962004-0127210323!poczta.onet.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 27 Jan 2004, pd wrote:

> Tuesday, January 27, 2004, 8:42:47 PM, you wrote:
>
> IP> Ugh, I caught the typo on my command line, but forgot to change the
> IP> message.  Make that "bash --login -i -x -c true".  Sorry.
> IP>     Igor
> yes, I noticed two strange things:
> time hostname
> and
> time uname -s
> are giving me circa 3.54 secs each!
>
> but now what?
> Pawel

Now you 'strace' both calls to see where the time goes (each gives about
300 lines of strace and, FWIW, each takes <.2s on my Win2k machine).

> >> The cygcheck output looks ok, but please, don't include it inline in the
> >> future.  It produces false positive hits on archive searches.  The
> >> preferred method of sending cygcheck output is as an uncompressed text
> >> attachment.
> sorry for that. it'll never happen again...

No worries, just trying to get people aware of this issue...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

