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

Re: [PATCH] cache-tree: remove use of strbuf_addf in update_one

From
Stefan Beller <sbeller@google.com>
Date
Aug 10, 2017, 20:33 UTC
Message-ID
<CAGZ79kbM6F8SMB4K1d_fY1TEEOvVJfuvot7tv8=KWqOtLUgB2g@mail.gmail.com>
In-Reply-To
<e71f1aab-d93a-2774-4378-8431bd33e146@gmail.com>
On Thu, Aug 10, 2017 at 12:57 PM, Kevin Willford <kcwillford@gmail.com> wrote:
Show 17 quoted lines
> Here are some of the performance numbers from the windows repo.
> I will work on writing a perf test for this change so that we
> have a better idea on smaller repo what the impact of this change
> is on them.
>
>              | w/o     | with fix |
> -----------------------------------
> git checkout | 36.08 s | 33.34 s  |
> -----------------------------------
> git checkout | 32.54 s | 28.26 s  |
> -----------------------------------
> git checkout | 44.10 s | 38.13 s  |
> -----------------------------------
> git merge    | 32.90 s | 30.56 s  |
> -----------------------------------
> git rebase   | 46.14 s | 42.18 s  |
>

~10-15% is impressive for this patch, I certainly did not expect as much. Thanks for providing the numbers!

Stefan
Previous: Kevin WillfordNext: Junio C Hamano
Message 5 of 7 in “cache-tree: remove use of strbuf_addf in update_one”
  1. cache-tree: remove use of strbuf_addf in update_oneKevin Willford, Aug 10, 2017
  2. Stefan BellerAug 10, 2017
  3. Jeff KingAug 10, 2017
  4. Kevin WillfordAug 10, 2017
  5. Stefan BellerAug 10, 2017
  6. Junio C HamanoAug 14, 2017
  7. René ScharfeAug 11, 2017

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.