Konstantin Kudryavtsev
Konstantin Kudryavtsev

Reputation: 592

how to profile JUnit test run from Intellij Idea with VisualVM

How to profile JUnit test run from Intellij Idea with VisualVM? VisualVM doesn't see any process? is it possible to do?

Upvotes: 17

Views: 17102

Answers (2)

Vadzim
Vadzim

Reputation: 26180

Note that recent IntelliJ IDEA Ultimate has integrated support for Java Flight Recorder and async-profiler which both are more precise than VisualVM:

https://www.jetbrains.com/help/idea/cpu-profiler.html

Upvotes: 3

Marc Hauptmann
Marc Hauptmann

Reputation: 708

There is a plugin for JVisualVM mentioned in this question. With it, you can also run test cases.

Upvotes: 8

Related Questions