Identifying performance/memory issues with plugins
I am always on the search for useful plugins in IntelliJ but one of the things that I'm a bit wary of is the possibility that a plugin has memory leaks / performance issues. Is there any way of identifying potential performance problems with plugins or of measuring the performance of a particular plugin?
Please sign in to leave a comment.
If you suspect a plugin , what you can do, is use Yourkit java profiler to profile IDEA and see if the given plugin takes notable portions of the cpu.
current EAP (7693) includes the agent for YJP 7 i believe.
You can use JProfiler (and the JProfiler plugin) to profile your plugins from within IDEA. Simply hit the 'Profile' button for a plugin run configuration to launch a second IDEA instance with your plugin in profile mode.
you're right but I don't think he was here referring to plugins that he would develop himself, but rather the ones he would select from the Plugin Manager
Well, in fact that doesn't matter. You don't need to have the source code in order to profile a plugin. Launching a plugin run configuration is only a shortcut to have the classpath set up automatically.