delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <191980d80701141304t773b5063gbef8cc38214be41c@mail.gmail.com> |
Date: | Sun, 14 Jan 2007 22:04:29 +0100 |
From: | "Jarod Cline" <jarodcline AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Improving bash startup speed |
MIME-Version: | 1.0 |
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 |
Hi, I have a (non cygwin) application that calls several bash scripts in response to user input, but it really has problems with performance. Sometimes it takes over 10 seconds for the (simple 3-4 lines) scripts to complete, which is a really long time for the user to wait in an interactive situation. I have tried setting $BASH_ENV to point to a script that just sets the path, so that I could avoid the big login scripts and this gave me some speedup. The order and timing of execution depends on user input so I can not just put all the scripts in one big script. Some part of the problem may be an inherent slowness of the CreateProcess call, but I would still like to know if there are any settings I can tweak to make bash startup faster. Thanks, Jarod -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |