Reputation: 592
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
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
Reputation: 708
There is a plugin for JVisualVM mentioned in this question. With it, you can also run test cases.
Upvotes: 8