Re: GIT_TRACE_PERFORMANCE and pager
- From
Jeff King <peff@peff.net>
- Date
- Feb 29, 2016, 21:30 UTC
- Message-ID
- <20160229213026.GB25342@sigill.intra.peff.net>
- In-Reply-To
- <CAP8UFD30fWvFPtSgY_6mVMCeQ9rMR-0EODaKbZdMmz_fo-qfKw@mail.gmail.com>
On Mon, Feb 29, 2016 at 02:46:12PM +0100, Christian Couder wrote:
Show 8 quoted lines
> > 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". > > In case of "GIT_TRACE_PERFORMANCE=2 git log -1", it doesn't count the > time spent looking at the pager because the output is small, so 'less' > exits immediately, and it could give the impression that > GIT_TRACE_PERFORMANCE is not working.
Ah, right. I don't use "-F" with less, so mine hangs around until I quit.
-Peff