0

I am trying to profile functions in my java application using VisualVM (eclipse plug-in). Right now when I run an application, eclipse opens VisualVM and takes me to the profilers tab where I can start profiling by pressing the CPU or Memory buttons. Unfortunately, in the time that I take to manually do this, I lose significant number to iterations in my application to get a precise result.

I know I can set the default profiler setting for an application under Tools->Options->Profiling. But is there an option in VisualVM where it can automatically fire the profiler on seeing a particular main function/application being launched.

VJune
  • 1,195
  • 5
  • 16
  • 26
  • whoa! either no one knows or no one wants to tell :P – VJune Apr 18 '13 at 11:40
  • This is something that's built into NetBeans by default. With this you won't miss any samples: https://profiler.netbeans.org/ I think it's the very same profiler that's in VisualVM. – Nándor Krácser Apr 19 '13 at 08:36

0 Answers0