2

I have a webApp with wildfly, jpa, ejb and jsf. Now I want to know how much time my methods takes? So I started mission control and started the flight Recorder.

In the Report of the Flight Recorder I can see the hot methods and an overview of packages with Time spent. But I want to know what has been called by my own methods and how much time the methods spend?

For example:

mypackage.Myclass.

in myMethod -- spend 4 ms

Kire Haglin
  • 6,569
  • 22
  • 27
java java
  • 405
  • 1
  • 11
  • 25
  • 2
    The method profiler in JMC/JFR is based on sampling, and on having a low overhead, and very useful for finding bottlenecks in production, but less useful for time measurements of specific methods. If you want time measurements there are probably other profilers to use, like suggested below. JMCcurrently doesn't have any data aggregation to display everything that was called from your method, but we have several requests to fix that. – Klara Dec 14 '15 at 12:52
  • 1
    @Klara was this ever implemented? – Eugene Feb 14 '18 at 15:31
  • No, that hasn't been implemented yet. – Klara Feb 15 '18 at 08:39

1 Answers1

1

You can use JProfiler, in this app you can find timeline and how been called your methods.

boden
  • 1,621
  • 1
  • 21
  • 42