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

filter-branch performance

From
HMHenning Moll <newsscott@gmx.de>
Date
Dec 9, 2014, 18:52 UTC
Message-ID
<548744F1.9000902@gmx.de>
Hi,
i am runningthis command

git filter-branch --env-filter 'export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' --prune-empty --tag-name-filter cat -- --all

in a repository which i copied to /dev/shm before. According to "top", the git process only consumes about 5 percent of the CPU. The load is between 0.70 and 1.00.

I assume that there is a lot of process forking going on. Could that be the cause?

Any ideas how to further improve?

Best regards Henning

Next: Jeff King
Message 1 of 7 in “filter-branch performance”
  1. Henning MollDec 9, 2014
  2. Jeff KingDec 9, 2014
  3. Roberto TyleyDec 10, 2014
  4. Jeff KingDec 10, 2014
  5. Roberto TyleyDec 10, 2014
  6. Junio C HamanoDec 10, 2014
  7. Roberto TyleyDec 10, 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.