From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Magit slow on Windows Date: Fri, 11 May 2012 08:53:26 +0300 Message-ID: <83y5ozxnzd.fsf@gnu.org> References: <6C45C785-8275-46B8-9D1E-FF8D2B52C3E2@bbheim.de> <83mx5gyqht.fsf@gnu.org> <84k40jz3eg.fsf@163.org> <83zk9fxoma.fsf@gnu.org> <84pqabtgky.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1336715736 25389 80.91.229.3 (11 May 2012 05:55:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 May 2012 05:55:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kevin Yu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 11 07:55:35 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SSipC-0006ph-Pw for ged-emacs-devel@m.gmane.org; Fri, 11 May 2012 07:55:34 +0200 Original-Received: from localhost ([::1]:45431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSipC-0001ea-6G for ged-emacs-devel@m.gmane.org; Fri, 11 May 2012 01:55:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSip8-0001eQ-Ny for emacs-devel@gnu.org; Fri, 11 May 2012 01:55:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSip7-0001pI-0i for emacs-devel@gnu.org; Fri, 11 May 2012 01:55:30 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:58979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSip6-0001pE-P2 for emacs-devel@gnu.org; Fri, 11 May 2012 01:55:28 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M3U00700GAZIR00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 11 May 2012 08:55:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3U007BWGFZJ500@a-mtaout21.012.net.il>; Fri, 11 May 2012 08:55:12 +0300 (IDT) In-reply-to: <84pqabtgky.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150433 Archived-At: > From: Kevin Yu > Date: Fri, 11 May 2012 13:46:53 +0800 > > Eli Zaretskii writes: > > > Which is what? msysgit or the Cygwin git? > > msysgit. Then I think this is wrong: you should see c:/git/bin/git.exe Invoking git through a Windows shell script incurs an unnecessary slowdown. You should start Emacs from the shell that knows about the msysgit installation, to get correct behavior. But I'm not sure this will solve your problem. The Windows filesystem is slower than Linux filesystems, especially with a cold cache, and nothing, not even Emacs, can change that. If indeed invoking git from eshell is much faster (and not an artifact of your testing, since a warm cache makes a world of difference), then I suggest to try to find out what does eshell do differently from magit.