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

Re: [PATCH (performance tracing)] test git-status performance

From
Duy Nguyen <pclouds@gmail.com>
Date
Jul 26, 2014, 10:33 UTC
Message-ID
<CACsJy8DxyS9_L8_yFo-mXe3=SNFALV6Qx2tCaZe=q2uMKLWNdQ@mail.gmail.com>
In-Reply-To
<CACsJy8BugcnUF1AmLqZ3jnWiRtark81jOTGkDP-xCr8LBgaf8A@mail.gmail.com>
On Sat, Jul 26, 2014 at 4:59 PM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 8 quoted lines
> On Wed, Jun 25, 2014 at 5:56 AM, Karsten Blees <karsten.blees@gmail.com> wrote:
>> Add trace_performance output to functions involved in git-status.
>>
>> Signed-off-by: Karsten Blees <blees@dcon.de>
>
> Should this patch be merged to git.git? It's useful for tracking
> performance (of git-status) and does not seem to have any negative
> impacts.

Hm... I don't like the changes in commit.c and rather print running time inside read_index_from() and update_index_if_able(). So people may prefer different ways of measuring and these patches should probably stay private. Although if we have something like this shipped in every distro, asking the user to run with $GIT_TRACE_PERFORMANCE could help..

-- 
Duy
Previous: Duy NguyenNext: David Turner
Message 7 of 9 in “Git-status / preload_index() performance”
  1. Karsten BleesJun 24, 2014
  2. preload-index: optimize for sequential IOKarsten Blees, Jun 24, 2014
  3. preload-index: make parallel IO configurableKarsten Blees, Jun 24, 2014
  4. test git-status performanceKarsten Blees, Jun 24, 2014
  5. Duy NguyenJun 26, 2014
  6. Duy NguyenJul 26, 2014
  7. Duy NguyenJul 26, 2014
  8. David TurnerJun 24, 2014
  9. Karsten BleesJun 24, 2014

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.