delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/27/08:40:02

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:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=H3Cg5Tzf/Ls7T7rzEbZUoeh0gAe9F
MxrZNTVtB/TpeWbghvKXc1OUGvuK5YWvnQL9EBmwoq/hcPMhA4LWHwp6uSr/Jn8C
AlRCXe/E4bNhsLvBZjX9TP9HgxC2IamDZdcEuu+cJx/1faUBxnhzGurlHCq5Q82N
krH2j7wkMZU1a8=
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:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=Ojz3x6edgzrhFwvNSeZiHFhm0gU=; b=Vqm
F4wZlAL2Z6S2NzP+U9LVXtWPykGOTsPCRvGWlQaU1MC4HzcfzVODjiykRNLBrwgd
FQnx1YXItBwloDaqtuQptRQnmSi3SBw6C+GKl5sN5yzZO9KlN5PAfu0117PQJx+8
RTfH3YuRPcEoqqi0Zr8TsGiPzbATkNoI7YRpjKKg=
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=1.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f170.google.com
MIME-Version: 1.0
X-Received: by 10.180.72.198 with SMTP id f6mr5573966wiv.21.1432730383208; Wed, 27 May 2015 05:39:43 -0700 (PDT)
Date: Wed, 27 May 2015 06:39:43 -0600
Message-ID: <CAG4rVi7vLu5TLAcvrOY8Kbj6uzM9Ats6Jb9BDF-b94tD2cSJ0Q@mail.gmail.com>
Subject: Fish Shell Speed?
From: David Frascone <dave AT frascone DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hi guys,

I've been getting back into using fish at home and work.  At work,
I've been messing with automatic git & mercurial prompts and
automatically setting up python virtual python environments.  So, my
fish_prompt function is getting a bit large.

On linux, I have no complaints -- everything works beautifully.

On cygwin, however, I'm having performance issues.  I'm not sure what
it causing the slow-down, but, I assume it has something to do with
either git or mercurial being called for every prompt generation.  So,
a few questions:

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?


Thanks in advance,


-Dave

--
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