Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    are you sure perf4j would work?? I tried using System.currentTimeMillis(). It doest seem to give good enough accuracy. Commented Jun 14, 2010 at 8:46
  • @Nitin: presumably it uses System.nanoTime(), which has much better accuracy. But from your description I got the impression that even millisecond granularity would be sufficient for the things taking the most time in your case (like third-party components called via network)´. Commented Jun 14, 2010 at 9:00