How to profile JUnit test run from Intellij Idea with VisualVM? VisualVM doesn't see any process? is it possible to do?
Asked
Active
Viewed 1.6k times
15
-
Does this answer your question? [how do you profile java source with intellij idea editor?](https://stackoverflow.com/questions/15976718/how-do-you-profile-java-source-with-intellij-idea-editor) – Dave Jarvis Aug 26 '20 at 19:58
2 Answers
8
There is a plugin for JVisualVM mentioned in this question. With it, you can also run test cases.

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