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

weird performance bug

From
fREW Schmidt <frioux@gmail.com>
Date
Jul 25, 2011, 23:03 UTC
Message-ID
<CADVrmKQ5YU9qBVT_Xi1GcGr8PRzyLzHCsA2bHqzmrvtCXw9JEg@mail.gmail.com>

I'm not really sure how to reproduce this without sharing my whole repo so I'll explain it first.

I did a fairly large merge today at work and in the process, so that I could skim some stuff, I set gitk to have zero lines of context. After finally committing the merge, if I ran gitk, it would consume an entire core trying to (I'm guessing) render the diff for gitk.  It never completed, and even after closing gitk, there was still a git process in the background pegging a core.  If I fix the lines of context to be 3 again and restart gitk the problem goes away.

This occurred on ubuntu with git 1.7.6.

-- fREW Schmidt http://blog.afoolishmanifesto.com

Message 1 of 1 in “weird performance bug”
  1. fREW SchmidtJul 25, 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.