From: Adam Spiers <git@adamspiers.org>
To: git mailing list <git@vger.kernel.org>
Subject: git svn show-ignore is excrutiatingly slow
Date: Wed, 28 Oct 2009 17:43:07 +0000 [thread overview]
Message-ID: <20091028174307.GA5691@atlantic.linksys.moosehall> (raw)
Something is badly wrong here ...
$ cd $svn_wd
$ time svn propget -R svn:ignore >/dev/null
svn propget -R svn:ignore > /dev/null 0.28s user 0.20s system 98% cpu 0.490 total
$ cd $git_wd
$ time git svn show-ignore > show-ignore.out
git svn show-ignore > show-ignore.out 20.52s user 33.69s system 1% cpu 1:23:42.17 total
That's 10,000 times slower for what is effectively the same source
tree! Admittedly the svn propget was a "warm" run and took longer the
first time around, but even so there are several orders of magnitude
difference.
I had a quick look at the code and it seemed to be doing the svn tree
recursion itself via Git::SVN::prop_walk(), which might explain why.
However I did not have time to dig deeper, so would welcome any ideas.
Thanks,
Adam
next reply other threads:[~2009-10-28 18:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 17:43 Adam Spiers [this message]
2009-10-30 6:39 ` git svn show-ignore is excrutiatingly slow Eric Wong
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=20091028174307.GA5691@atlantic.linksys.moosehall \
--to=git@adamspiers.org \
--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 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 NNTP newsgroup(s).