Mercurial > jhg
changeset 601:8143c1f77d45
Remove debug timestamps
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 06 May 2013 17:10:46 +0200 |
parents | 46f29b73e51e |
children | e3717fc7d26f |
files | src/org/tmatesoft/hg/repo/HgManifest.java src/org/tmatesoft/hg/repo/Revlog.java |
diffstat | 2 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgManifest.java Fri May 03 17:03:31 2013 +0200 +++ b/src/org/tmatesoft/hg/repo/HgManifest.java Mon May 06 17:10:46 2013 +0200 @@ -666,7 +666,6 @@ } } if (undefinedChangelogRevision.size() > 0) { - final long t1 = System.nanoTime(); final IntMap<Nodeid> missingCsetToManifest = new IntMap<Nodeid>(undefinedChangelogRevision.size()); int[] undefinedClogRevs = undefinedChangelogRevision.toArray(); // undefinedChangelogRevision is sorted by the nature it's created @@ -677,7 +676,6 @@ } }, undefinedClogRevs); assert missingCsetToManifest.size() == undefinedChangelogRevision.size(); - final long t2 = System.nanoTime(); for (int u : undefinedClogRevs) { Nodeid manifest = missingCsetToManifest.get(u); if (manifest == null || manifest.isNull()) { @@ -696,8 +694,6 @@ changelog2manifest[u] = HgManifest.this.getRevisionIndex(manifest); } } - final long t3 = System.nanoTime(); - System.out.printf("\tRevisionMapper#finish(), %d missing revs: %d + %d us\n", undefinedChangelogRevision.size(), (t2-t1) / 1000, (t3-t2) / 1000); } } }
--- a/src/org/tmatesoft/hg/repo/Revlog.java Fri May 03 17:03:31 2013 +0200 +++ b/src/org/tmatesoft/hg/repo/Revlog.java Mon May 06 17:10:46 2013 +0200 @@ -150,7 +150,6 @@ * @throws HgRuntimeException subclass thereof to indicate issues with the library. <em>Runtime exception</em> */ public final int getRevisionIndex(Nodeid nid) throws HgRuntimeException { -// final long t1 = System.nanoTime(); int revision; if (useRevisionLookup) { if (revisionLookup == null) { @@ -166,8 +165,6 @@ // Perhaps, more tailored description method would be suitable here throw new HgInvalidRevisionException(String.format("Can't find revision %s in %s", nid.shortNotation(), this), nid, null); } -// final long t2 = System.nanoTime(); -// System.out.printf("\tgetRevisionIndex(%s): %d us\n", nid.shortNotation(), (t2-t1)/1000); return revision; }