Debugging performance of plugin
Hi all,
I'm working on the Clojure plugin at the moment, and it seems that the resolve code is really slow - certainly it seems to be much slower than equivalent resolution of symbols in Java code. What is the best way to diagnose this? Can I open CPU snapshots taken from IDEA directly in YourKit? It seems like diagnosing a particular part of the plugin (resolution, in this case) would be difficult with a profiler - does anyone have any tips for how to go about this?
Thanks,
Colin
请先登录再写评论。
Hi Colin,
Yes, you can open the snapshots by the standalone YourKit instance. Moreover, you can attach the YourKit to the running IJ and check the metrics in runtime.
Regards, Denis
Great, thanks Denis - using YourKit to find the problem was actually surprisingly easy.