From: Jeff King Date: Mon, 29 Feb 2016 21:30:27 GMT Subject: Re: GIT_TRACE_PERFORMANCE and pager Message-ID: <20160229213026.GB25342@sigill.intra.peff.net> In-Reply-To: On Mon, Feb 29, 2016 at 02:46:12PM +0100, Christian Couder wrote: > > 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