]> source.dussan.org Git - jgit.git/commit
Measure time taken for reachability checks 79/168079/16
authorAlexa Panfil <alexapizza@google.com>
Thu, 24 Sep 2020 12:25:56 +0000 (12:25 +0000)
committerAlexa Panfil <alexapizza@google.com>
Thu, 24 Sep 2020 12:32:02 +0000 (12:32 +0000)
commit3c5e159eaea16216c91316af40166c44de09dbec
tree187aff944e499b99d2e8920045ec90e5914007e5
parentbe403859c1a38f588cf87f2adf06e8d0813aa832
Measure time taken for reachability checks

Reason why this change is needed:
Getting this metric will help estimate how much time will be saved once
the reachability checks get optimized

What this patch does:
Measure time spent by requestValidator.checkWants() in parseWants() and save
it in an instance of PackStatistics.Accumulator.

Signed-off-by: Alexa Panfil <alexapizza@google.com>
Change-Id: Id7fe4016f96549d9511a2c24052dad93cfbb31a4
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackStatistics.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java