]> source.dussan.org Git - jgit.git/commit
Add negotiation statistics to PackStatistics 28/117128/3
authorTerry Parker <tparker@google.com>
Sun, 11 Feb 2018 21:29:38 +0000 (13:29 -0800)
committerTerry Parker <tparker@google.com>
Mon, 12 Feb 2018 21:59:42 +0000 (13:59 -0800)
commit302596cc675d00e41f0ff07efef58063afe20c79
tree60e48b46b14fe8ebb73b2ba4227972ff4bed2714
parent5efc3dcc6c9f5c93ba8b1f75b7070d3eb281f08d
Add negotiation statistics to PackStatistics

Add fetch statistics for the counts of advertised refs, wants and haves.
Also add the duration in milliseconds for the negotiation phase. For
non-bidirectional transports like HTTP, this is the time for the final
round that sends the pack back to the user.

Change-Id: I1af7ffd3cb7b62182340682e2a243691ea24ec2e
Signed-off-by: Terry Parker <tparker@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java