Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Performance Profiling of JVM Applications

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

System.nanoTime

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

System.nanoTime()

VisualVM

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