private static <T> T logTime(ThrowableComputable<T, VcsException> computable) throws VcsException {
    long start = -1;
    try {
      if (TIME_LOG.isDebugEnabled()) {
        start = System.currentTimeMillis();
      }
      return computable.compute();
    }
    finally {
      if (start > -1) {
        TIME_LOG.debug("Git annotations took " + (System.currentTimeMillis() - start) + "ms");
      }
    }
  }
private static <T> T logTime(ThrowableComputable<T, VcsException> computable)