reschke commented on code in PR #409:
URL:
https://github.com/apache/jackrabbit-filevault/pull/409#discussion_r2710235294
##########
vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/AggregateImpl.java:
##########
@@ -780,6 +803,14 @@ private void prepare(Node node, boolean descend) throws
RepositoryException {
}
}
}
+
+ Duration duration = Duration.ofNanos(System.nanoTime() - startTime);
Review Comment:
Performance is not an issue here, no? Also, millis depends on system timers,
and granularity can be > 5ms on certain systems. Also, it fails (in the
unlikely case) for clock adjustments.
Duration becomes interesting when the # of ms get's high.
https://stackoverflow.com/a/1776053
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]