]> git.ipfire.org Git - thirdparty/git.git/commit - progress.c
trace2: log progress time and throughput
authorEmily Shaffer <emilyshaffer@google.com>
Tue, 12 May 2020 21:44:20 +0000 (14:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 May 2020 22:30:39 +0000 (15:30 -0700)
commit98a136474082cdc7228d7e0e45672c5274fab701
tree008d37ad3da3f53594d21a992a92ad1bda10aa98
parentb994622632154fc3b17fb40a38819ad954a5fb88
trace2: log progress time and throughput

Rather than teaching only one operation, like 'git fetch', how to write
down throughput to traces, we can learn about a wide range of user
operations that may seem slow by adding tooling to the progress library
itself. Operations which display progress are likely to be slow-running
and the kind of thing we want to monitor for performance anyways. By
showing object counts and data transfer size, we should be able to
make some derived measurements to ensure operations are scaling the way
we expect.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
progress.c
t/t0500-progress-display.sh