From: Piotr Krukowiecki Date: Thu, 14 Apr 2011 13:50:53 GMT Subject: Re: What's cooking in git.git (Apr 2011, #04; Tue, 12) Message-ID: In-Reply-To: On Thu, Apr 14, 2011 at 3:38 PM, Piotr Krukowiecki wrote: > On Wed, Apr 13, 2011 at 12:43 AM, Junio C Hamano 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 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