Re: What's cooking in git.git (Apr 2011, #04; Tue, 12)
- From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
- Date
- Apr 14, 2011, 13:50 UTC
- Message-ID
- <BANLkTin6=b9E=2gBjsWd+Y9Fg-APR1xOgw@mail.gmail.com>
- In-Reply-To
- <BANLkTi=7YSfKe=Pc5n-BNr30=ADM-jRXrg@mail.gmail.com>
On Thu, Apr 14, 2011 at 3:38 PM, Piotr Krukowiecki <piotr.krukowiecki@gmail.com> wrote:
Show 12 quoted lines
> On Wed, Apr 13, 2011 at 12:43 AM, Junio C Hamano <gitster@pobox.com> wrote: >> * mh/git-svn-automkdirs (2011-04-01) 1 commit >> (merged to 'next' on 2011-04-03 at 7fa4978) >> + git-svn: add an option to skip the creation of empty directories >> >> Should be safe, but I'd like an Ack from git-svn folks. > > I wanted to test performance of this change - what's the best way to do it? > > I tried some ideas, but rebase was too fast for performance measurements. > I did not have new commits, but just some old, already in trunk changes, which > I tried to rebase - probably it was just fast forward?
I found some old not-yet-rebased branch (with 3 commits) and tried rebasing it. I saw no time difference - maybe I'm doing it wrong?
I did following for both true and false config setting:
git checkout -b test_rebase old_branch time git svn rebase git checkout master git branch -D test_rebase <repeat>
Results I got: 13.7s 13.4s 13.6s (config: false) 13.6s 13.6s 16.6s (config: true)
The last "true" result is higher because rebase had to fetch one new revision.
-- Piotr Krukowiecki