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: slow opening of files in git directories in windows Date: Thu, 27 Oct 2011 05:48:22 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1319708924 14085 80.91.229.12 (27 Oct 2011 09:48:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2011 09:48:44 +0000 (UTC) Cc: flat0103@gmail.com, emacs-devel@gnu.org To: Nikolai Weibull Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 11:48:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJMZj-0006CO-Fo for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 11:48:39 +0200 Original-Received: from localhost ([::1]:48620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJMZa-0002Fs-CN for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 05:48:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJMZU-0002Fk-27 for emacs-devel@gnu.org; Thu, 27 Oct 2011 05:48:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJMZT-0001S2-11 for emacs-devel@gnu.org; Thu, 27 Oct 2011 05:48:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJMZS-0001Ry-Vf for emacs-devel@gnu.org; Thu, 27 Oct 2011 05:48:22 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RJMZS-0000F3-Ij; Thu, 27 Oct 2011 05:48:22 -0400 In-reply-to: (message from Nikolai Weibull on Thu, 27 Oct 2011 08:45:28 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:145637 Archived-At: > Date: Thu, 27 Oct 2011 08:45:28 +0200 > From: Nikolai Weibull > Cc: emacs-devel@gnu.org > > On Thu, Oct 27, 2011 at 08:39, Nathaniel Flath wrote: > > I've noticed that opening files in git repositories open fairly slowly using > > the latest pretest in windows - sometimes it takes several seconds, whereas > > the same file not under a repository opens instantly.  What would be the > > best way to track this down? > > It’s vc(-git) that’s causing it. It runs git a couple of times, which > is slow on Windows. Unbelievably slow. Can you tell which git commands are run when a file is visited, and which are slow?