I'm using RHEL4. Looks like perf is only available with RHEL6.
Looking up the tags that way took a very long time by the way. "git
tag | wc -l" was much quicker. I've already pruned a lot of tags to
get to this number as well. The original repository had ~37k tags
since we used to tag every commit with CVS.
All my tags are packed so cat-file doesn't work:
fatal: git cat-file refs/tags/some-tag: bad file
On Thu, Nov 8, 2012 at 2:33 PM, Jeff King <p...@peff.net> wrote:
> On Thu, Nov 08, 2012 at 11:20:29AM -0600, Uri Moszkowicz wrote:
>> I tried the patch but it doesn't appear to have helped :( Clone time
>> with it was ~32m.
> That sounds ridiculously long.
>> Do you all by any chance have a tool to obfuscate a repository?
>> Probably I still wouldn't be permitted to distribute it but might make
>> the option slightly more palatable. Anything else that I can do to
>> help debug this problem?
> I don't have anything already written. What platform are you on? If it's
> Linux, can you try using "perf" to record where the time is going?
> How many refs do you have? What does:
> echo "heads: $(git for-each-ref refs/heads | wc -l)"
> echo " tags: $(git for-each-ref refs/tags | wc -l)"
> report? How long does it take to look up a tag, like:
> time git cat-file tag refs/tags/some-tag
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html