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

Re: GIT_TRACE_PERFORMANCE and pager

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 29, 2016, 16:47 UTC
Message-ID
<CAPc5daWp+ACy_5=prqa2f_ry4Z92B7mOEw_mC_-arCSNeX=3Kw@mail.gmail.com>
In-Reply-To
<20160229113924.GC29769@sigill.intra.peff.net>
On Mon, Feb 29, 2016 at 3:39 AM, Jeff King <peff@peff.net> wrote:
Show 7 quoted lines
> One workaround is something like:
>
>   GIT_TRACE_PERFORMANCE=3 3>&2 git ...
>
> though I guess I'd question whether trace-performance is interesting at
> all for a paged command, since it is also counting the length of time
> you spend looking at the pager waiting to hit "q".

Yup, exactly. I see Christian tried to add something to the documentation, but I think it is sufficient to suggest running commands with --no-pager.

Previous: Jeff King
Message 5 of 5 in “GIT_TRACE_PERFORMANCE and pager”
  1. Christian CouderFeb 29, 2016
  2. Jeff KingFeb 29, 2016
  3. Christian CouderFeb 29, 2016
  4. Jeff KingFeb 29, 2016
  5. Junio C HamanoFeb 29, 2016

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.