unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christian Faulhammer <fauli@gentoo.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org, Joakim.Tjernlund@transmode.se, emacs@gentoo.org
Subject: Re: Slow start-up on Git trees
Date: Wed, 19 Aug 2009 23:54:29 +0200	[thread overview]
Message-ID: <20090819235429.078aca8c@gentoo.org> (raw)
In-Reply-To: <200908192056.n7JKu0Bv001763@godzilla.ics.uci.edu>

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

Hi,

Dan Nicolaescu <dann@ics.uci.edu>:

> Christian Faulhammer <fauli@gentoo.org> writes:
> 
>   > Hi,
>   > 
>   > Joakim Tjernlund reported in
>   > http://bugs.gentoo.org/show_bug.cgi?id=281009 that Emacs started
>   > in a Git tree is really slow.  This does not happen with other
>   > SCM systems and we were able to reproduce the problem and
>   > narrowing it down to /usr/bin/git diff-index -z HEAD -- Makefile,
>   > called in vc-git-state.  Any possibilities to improve performance
>   > here?
> 
> There are at lease two ways: 
> - talk the git people to improve the performance of "git diff-index",

 Which makes performance depending on the installed Git version.

> Is worth it?  
> I'd say probably not, the delay only happens the first time of
> accessing a file in the git tree.

 If it is annoying enough to generate a bug report on our tracker, it
is a problem.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://gentoo.faulhammer.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2009-08-19 21:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-19 11:23 Slow start-up on Git trees Christian Faulhammer
2009-08-19 20:56 ` Dan Nicolaescu
2009-08-19 21:04   ` David Reitter
2009-08-19 21:11     ` Dan Nicolaescu
2009-08-20 18:46       ` David Reitter
2009-08-20 19:15         ` Dan Nicolaescu
2009-08-21 19:06           ` Stefan Monnier
2009-08-19 21:54   ` Christian Faulhammer [this message]
2009-08-20  7:39   ` Joakim Tjernlund
2009-08-20  8:07     ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090819235429.078aca8c@gentoo.org \
    --to=fauli@gentoo.org \
    --cc=Joakim.Tjernlund@transmode.se \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=emacs@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).