From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Emacs with git slow? Date: Wed, 16 Mar 2011 19:40:55 +0100 Message-ID: <87wrjy6h8o.fsf@wanadoo.es> References: <423478.54089.qm@web161616.mail.bf1.yahoo.com> <87r5a76k4h.fsf@wanadoo.es> <151473.46227.qm@web161612.mail.bf1.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300300919 14135 80.91.229.12 (16 Mar 2011 18:41:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2011 18:41:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: S Boucher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 16 19:41:55 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PzvfN-0006kV-TB for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Mar 2011 19:41:54 +0100 Original-Received: from localhost ([127.0.0.1]:32879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzvfN-0004GW-86 for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Mar 2011 14:41:53 -0400 Original-Received: from [140.186.70.92] (port=50262 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzveX-0004EK-8T for help-gnu-emacs@gnu.org; Wed, 16 Mar 2011 14:41:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzveW-0007nk-6y for help-gnu-emacs@gnu.org; Wed, 16 Mar 2011 14:41:01 -0400 Original-Received: from impaqm3.telefonica.net ([213.4.138.19]:21489 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzveV-0007nX-TN for help-gnu-emacs@gnu.org; Wed, 16 Mar 2011 14:41:00 -0400 Original-Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm3.telefonica.net with bizsmtp id Kt8L1g00S0piX6q3Pugxpg; Wed, 16 Mar 2011 19:40:57 +0100 Original-Received: from qcore ([79.158.173.27]) by IMPmailhost1.adm.correo with BIZ IMP id Kugw1g00A0bppkn1hugwB2; Wed, 16 Mar 2011 19:40:57 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net In-Reply-To: <151473.46227.qm@web161612.mail.bf1.yahoo.com> (S. Boucher's message of "Wed, 16 Mar 2011 11:29:05 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.19 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80184 Archived-At: S Boucher writes: > > finding and saving files (C-xC-f and C-xC-s) that are under git control is > > slow > > on my system. > > > > It's of the order of a second, which is terrible. > > > > Anyone noticed this? > > Me not. > > > I see this slow response time even when I start emacs -nw -q. > > > > Things are snappy with files not under git. > > > > I haven't dug in the emacs git code yet, and am hoping I won't have to :-) > > Emacs version? OS? Machine specs? Git version? Are your files on a NFS > volume? > > System 1: > Core2 Duo 6400@2.13GHz > 4G ram > Ubuntu 10.10 64bit > kernel 2.6.35-27-generic > emacs 23.2 > git 1.7.1 > local ext3 filesystems > > System 2 (less precise because I'm not on that system right now): > quad core intel > 8G ram > Ubuntu 10.04 64bit > local ext4 filesystem > emacs 23.2 > git ? (version included with 10.04) I would understand a bit of a lag if you were running Windows on a netbook, but running git on those machines with GNU/Linux is practically instantaneous. Can you replicate the problem with emacs -Q ? How fast `git status' executes from the directories where one of those files are?