Clojure的分析工具? [英] Profiling tool for Clojure?
问题描述
有没有人知道一个良好的分析工具或图书馆Clojure?
does anyone know of a good profiling tool or library for Clojure?
我更喜欢可以从REPL使用,沿着(with-profiling ...)
在当天的Allegro Common Lisp。
I would prefer something that could be used from the REPL, along the lines of (with-profiling ...)
in Allegro Common Lisp back in the day.
这些行中是否有任何东西?
Is there anything along those lines?
推荐答案
我发现VisualVM(见这里和这里)非常方便。它在Clojure的使用已经大约一年前在此博客中描述post ;
I found VisualVM (see here and here) to be very convenient. Its use with Clojure has been described about a year ago in this blog post; as far as I can see, it's not outdated in any way.
请注意,一个启动VisualVM分析器的GUI有一个突出的文本区域,可以输入类/ packages从配置文件中排除 - 我发现当 clojure。*
在该列表中时,结果更有用。
Note that the GUI from which one starts the VisualVM profiler has a prominent text area where one can enter classes / packages to be excluded from profiling -- I find the results rather more useful when clojure.*
is on that list.
这篇关于Clojure的分析工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!