From: Nguyen Thai Ngoc Duy <pclouds@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] proxy maintainership and gentoo-x86 scm
Date: Fri, 15 Jan 2010 20:17:55 +0700 [thread overview]
Message-ID: <fcaeb9bf1001150517r696cb379jd2b1d40cb68ad430@mail.gmail.com> (raw)
In-Reply-To: <8b4c83ad1001141410y58ac534ex63afeab22190bc7d@mail.gmail.com>
On 1/15/10, Nirbheek Chauhan <nirbheek@gentoo.org> wrote:
> > "git commit <dir>" and "git status <dir>" still do full tree lstat().
> > I can try to make a patch or two to reduce lstat() in such cases.
> >
>
>
> That would definitely compliment the --stat option to git diff et al,
> making git more usable on repos with a huge no. of files. Now that I
> think about it, why does git <command> <dir> need to do a full tree
> stat at all? Doesn't the added specification of <dir> mean "I'm only
> interested in this dir for this command, other stuff doesn't matter"?
Probably because the difference is too small to notice on smaller-size
projects, or because people tend to do whole-tree operations so "git
<command> <dir>"'s performance does not catch the developers' eyes.
Anyway, stat()ing 80k files takes about 1 second on my machine, still
tolerable. There is whole-tree open() in "git status" to check for
untracked files, that contributes more on "git status" slowness. How
long on average did a Git operation take on your tmpfs?
--
Duy
next prev parent reply other threads:[~2010-01-15 13:19 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-11 21:05 [gentoo-dev] Last rites: net-nntp/inn Markos Chandras
2010-01-11 22:31 ` Mike Frysinger
2010-01-12 1:00 ` Jeroen Roovers
2010-01-12 20:31 ` Mike Frysinger
2010-01-11 23:30 ` [gentoo-dev] " Arnaud Launay
2010-01-12 1:02 ` Jeroen Roovers
2010-01-12 2:22 ` Jeroen Roovers
2010-01-12 5:03 ` [gentoo-dev] Thanks for the rescue! Was: " Duncan
2010-01-12 16:32 ` [gentoo-dev] " Markos Chandras
2010-01-12 18:21 ` Jeroen Roovers
2010-01-12 18:30 ` Markos Chandras
2010-01-12 19:07 ` Richard Freeman
2010-01-12 22:37 ` Duncan
2010-01-13 1:18 ` Arnaud Launay
2010-01-13 5:52 ` Jeroen Roovers
2010-01-13 15:06 ` Arnaud Launay
2010-01-13 16:31 ` Richard Freeman
2010-01-13 5:48 ` Jeroen Roovers
2010-01-13 8:05 ` Duncan
2010-01-12 19:40 ` Arnaud Launay
2010-01-12 19:49 ` Markos Chandras
2010-01-12 20:35 ` Ben de Groot
2010-01-12 22:24 ` Duncan
2010-01-13 15:54 ` [gentoo-dev] proxy maintainership and gentoo-x86 scm Mike Frysinger
2010-01-13 21:02 ` Ben de Groot
2010-01-13 21:18 ` justin
2010-01-13 22:03 ` [gentoo-dev] " Christian Faulhammer
2010-01-14 13:30 ` [gentoo-dev] " Markos Chandras
2010-01-14 16:35 ` Ben de Groot
2010-01-14 12:49 ` Nirbheek Chauhan
2010-01-14 13:47 ` Nguyen Thai Ngoc Duy
2010-01-14 22:10 ` Nirbheek Chauhan
2010-01-15 13:17 ` Nguyen Thai Ngoc Duy [this message]
2010-01-14 16:24 ` Ben de Groot
2010-01-14 17:04 ` "Paweł Hajdan, Jr."
2010-01-14 19:46 ` Pacho Ramos
2010-01-14 22:53 ` Nirbheek Chauhan
2010-01-14 20:31 ` Daniel Bradshaw
2010-01-14 22:21 ` Nirbheek Chauhan
2010-01-14 22:29 ` Nirbheek Chauhan
2010-01-14 22:54 ` Robin H. Johnson
2010-01-14 23:25 ` Petteri Räty
2010-01-15 8:32 ` Mike Frysinger
2010-01-14 23:28 ` Nirbheek Chauhan
2010-01-19 22:29 ` Arun Raghavan
2010-01-14 22:32 ` Daniel Bradshaw
2010-01-15 0:07 ` [gentoo-dev] " Paul Arthur
2010-01-15 0:47 ` Robin H. Johnson
2010-01-15 7:53 ` [gentoo-dev] " Max Arnold
2010-01-15 15:50 ` [gentoo-dev] Re: Last rites: net-nntp/inn Victor Ostorga
2010-01-15 16:09 ` Ben de Groot
2010-01-17 20:20 ` Thilo Bangert
2010-01-17 20:44 ` Richard Freeman
2010-01-17 21:12 ` Mike Frysinger
2010-01-17 22:25 ` Thilo Bangert
2010-01-18 1:23 ` Ben de Groot
2010-01-18 2:17 ` Richard Freeman
2010-01-20 13:49 ` Petteri Räty
2010-01-12 1:10 ` Duncan
2010-01-12 1:36 ` Richard Freeman
2010-01-12 3:43 ` Jeremy Olexa
2010-01-12 18:01 ` Richard Freeman
2010-01-12 20:33 ` Mike Frysinger
2010-01-12 20:51 ` Tomáš Chvátal
2010-01-12 21:39 ` Denis Dupeyron
2010-01-13 5:45 ` Jeroen Roovers
2010-01-13 14:24 ` Mike Frysinger
2010-01-13 16:27 ` Richard Freeman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fcaeb9bf1001150517r696cb379jd2b1d40cb68ad430@mail.gmail.com \
--to=pclouds@gmail.com \
--cc=gentoo-dev@lists.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox