Ben Chuanlong Du's Blog

It is never too late to learn.

Performance Profiling of JVM Applications

System.nanoTime

The naive way is to profling your JVM application using System.nanoTime (which gets the system time in nanosecond resolution).

In [ ]:
System.nanoTime()

VisualVM

VisualVM is a great tool for performance profiling of JVM applications.

In [ ]:

Comments