]> source.dussan.org Git - jgit.git/commit
PackWriter: Add missing timers to Statistics 81/2581/1
authorShawn O. Pearce <spearce@spearce.org>
Wed, 23 Feb 2011 02:56:51 +0000 (18:56 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 23 Feb 2011 19:56:19 +0000 (11:56 -0800)
commit7505b93546376d3d46976e3a81ea791ba6a265ce
tree58990311e0bd1c2a167e0ce408d097cf71a5c806
parent5f3d577e5a1e8f23a2b6ea6a2bf24516806e01b8
PackWriter: Add missing timers to Statistics

We did not record the time spent on the object reuse search or the
object size lookup, both of which occur between the counting phase and
the compressing phase.  If there are enough objects involved, these
times can be significant so its worth timing them and recording it.

Change-Id: I89084acfc598bb6533d75d90cb8de459f0ed93be
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java