# HG changeset patch # User Artem Tikhomirov # Date 1367853046 -7200 # Node ID 8143c1f77d45570c6944caa98e6e84ce79175d5a # Parent 46f29b73e51e385061eaabfb7dc8187b8bcd9ba3 Remove debug timestamps diff -r 46f29b73e51e -r 8143c1f77d45 src/org/tmatesoft/hg/repo/HgManifest.java --- 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 missingCsetToManifest = new IntMap(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); } } } diff -r 46f29b73e51e -r 8143c1f77d45 src/org/tmatesoft/hg/repo/Revlog.java --- 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. Runtime exception */ 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; }