git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Piotr KrukowieckiNext: Michael Haggerty
Message 3 of 8 in “What's cooking in git.git (Apr 2011, #04; Tue, 12)”
  1. Junio C HamanoApr 12, 2011
  2. Piotr KrukowieckiApr 14, 2011
  3. Piotr KrukowieckiApr 14, 2011
  4. Michael HaggertyApr 14, 2011
  5. Piotr KrukowieckiApr 15, 2011
  6. Michael HaggertyApr 15, 2011
  7. Jakub NarebskiApr 14, 2011
  8. Junio C HamanoApr 14, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.