delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/27/09:53:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=hkr5Uy6d4Et6pzgSIiJF2XroAORwtLuurWpD6CB7WqD
pcNpNyd6MsWeLR1lN6xc3UHQ2CXtQqQrmHWFKBcxA+rSOACr6VJc2rbQqnve/eSQ
uXT4SUlQwEAiNFLil/gu/HZp1tvMkjxRZABYKK5whZYn+z23QVW3+qOGU7MXtLPk
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=WogXN5MYVAn+BiY/27Lsl1BrcWA=; b=lZO6M5nB4yTnGrl28
1SKPOD51jR9T7o326jyayNXpdtPWcaiuvdn64JTLoxw/9XpAvhHLSjjcrrvDtlM8
81iZXrvzKACG7362EYRb+UfLaMh37AjS8E3df+cPEzCcIDbkV2hx59YOW6ztlNWF
USws7IK0E5vy/Is3R6xhyENccY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.hs.tlinx.org
Message-ID: <5565CC40.7020100@tlinx.org>
Date: Wed, 27 May 2015 06:53:04 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Fish Shell Speed?
References: <CAG4rVi7vLu5TLAcvrOY8Kbj6uzM9Ats6Jb9BDF-b94tD2cSJ0Q AT mail DOT gmail DOT com>
In-Reply-To: <CAG4rVi7vLu5TLAcvrOY8Kbj6uzM9Ats6Jb9BDF-b94tD2cSJ0Q@mail.gmail.com>
X-IsSubscribed: yes

David Frascone wrote:
> 1) Has anyone seen this behavior before?  If so, do you remember which
> functions may be causing it (hg vs git speed under cygwin maybe?)
> 
> 2) Any thoughts on trying to profile a prompt and/or shell script, if
> I pull it out of the prompt function

Anytime you have to call an external process, you pay a multiplied
penalty on cygwin -- 1st linux process spawning, while costly, are
less than Windows, and 2) cygwin has to emulate the posix semantics
on windows -- to which it is not friendly.  If you could somehow cache
recent data in data struct and only updated ever 10 minutes with a
live call, that might help...?



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019