Re: How to profile a clojure program?

2015-02-10 Thread Nicholas Kariniemi
I would think you could just use a normal profiler with some mental translations. The translations between Clojure vars/namespaces and Java classes are in most cases pretty straightforward. A function "foo" in namespace "core" becomes class "core$foo", function bar becomes "core$bar", etc. Then

Re: How to profile a clojure program?

2015-02-08 Thread Di Xu
You can try timbre https://github.com/ptaoussanis/timbre 2015-02-09 2:23 GMT+08:00 Giovanni Gherdovich : > Hello, > > I am trying to use a java profiler (jvisualvm) > to see why my clojure program is so slow. > But I now realize that the profiler has no notion of my clojure program; > I have cloj

How to profile a clojure program?

2015-02-08 Thread Giovanni Gherdovich
Hello, I am trying to use a java profiler (jvisualvm) to see why my clojure program is so slow. But I now realize that the profiler has no notion of my clojure program; I have clojure functions foo and bar, and would like to know how much they contribute to the overall execution time. jvisualvm i