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

Big performance regression with --no-color option in git-log

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Sep 29, 2007, 10:02 UTC
Message-ID
<e5bfff550709290302h6016c6e8mf9d5dfddce07d985@mail.gmail.com>
On today git tree

bash-3.1$ time git log HEAD > /dev/null 1.31user 0.07system 0:01.39elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+2455minor)pagefaults 0swaps

bash-3.1$ time git log --no-color HEAD > /dev/null 5.01user 0.11system 0:05.16elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+6319minor)pagefaults 0swaps

bash-3.1$ git --version git version 1.5.3.2.124.g648db

Marco
Next: Pierre Habouzit
Message 1 of 12 in “Big performance regression with --no-color option in git-log”
  1. Marco CostalbaSep 29, 2007
  2. Pierre HabouzitSep 29, 2007
  3. Pierre HabouzitSep 29, 2007
  4. Marco CostalbaSep 29, 2007
  5. 1/1 --color and --no-color git-log options don't need diffs to be computed.Pierre Habouzit, Sep 29, 2007
  6. David KastrupSep 29, 2007
  7. Pierre HabouzitSep 29, 2007
  8. Marco CostalbaSep 29, 2007
  9. Marco CostalbaSep 29, 2007
  10. Fix revision log diff setup, avoid unnecessary diff generationLinus Torvalds, Sep 29, 2007
  11. Junio C HamanoSep 29, 2007
  12. Junio C HamanoSep 29, 2007

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.