]> source.dussan.org Git - jgit.git/commit
Measure time taken for negotiation in protocol V2 85/168985/7
authorAlexa Panfil <alexapizza@google.com>
Fri, 11 Sep 2020 09:34:23 +0000 (09:34 +0000)
committerAlexa Panfil <alexapizza@google.com>
Tue, 22 Sep 2020 10:05:03 +0000 (10:05 +0000)
commitc3458a6e03707c0e45cd6354d1e6f0aebadf234e
treed715ee593281fbf7a53f179d3d73808f7c89f8b8
parent292919b12a1e2f0584edbfb630a2b67567d4d9be
Measure time taken for negotiation in protocol V2

Reason why this change is needed:
Getting this metric will help estimate how much time is spent
on negotiation in fetch V2.

What this patch does:
Measure time spent on negotiation rounds in UploadPack.fetchV2()
and save it in an instance of PackStatistics.Accumulator.
This is the same way the statistics are already gathered for
protocol V0/V1.

Change-Id: I14e55dd6ff743cb0b21b4953b533269ef069abb1
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java