From: Lea Wiemann <lewiemann@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: name-rev --stdin is slow
Date: Thu, 19 Jun 2008 23:10:12 +0200 [thread overview]
Message-ID: <485ACB34.2020901@gmail.com> (raw)
name-rev --stdin has some really high start-up time. The example below
is on my git.git branch. Is this unavoidable to make name-rev fast for
naming high numbers of revisions -- i.e. is it about amortization?
Still, 0.7 seconds seems pretty excessive, and on linux-2.6 it even
takes 6 seconds.
Anyone care to look into it?
$ time echo HEAD | git name-rev --stdin
HEAD
real 0m0.748s
user 0m0.588s
sys 0m0.080s
$ time git name-rev HEAD
HEAD master
real 0m0.041s
user 0m0.016s
sys 0m0.028s
next reply other threads:[~2008-06-19 21:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 21:10 Lea Wiemann [this message]
2008-06-19 22:03 ` name-rev --stdin is slow Daniel Barkalow
2008-06-19 22:09 ` Lea Wiemann
2008-06-19 23:00 ` Daniel Barkalow
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=485ACB34.2020901@gmail.com \
--to=lewiemann@gmail.com \
--cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.