Re: What profilers are you using?

2009-03-12 Thread Sergio
I don't have trouble connecting from Emacs. I just added (setq swank-clojure-extra-vm-args (list "- Dcom.sun.management.jmxremote=true" ) to my clojure swank configuration. On Mar 12, 10:47 am, Scott Jaderholm wrote: > On Sat, Feb 7, 2009 at 8:16 AM, David Powell wrote: > > > Newer versions of

Re: What profilers are you using?

2009-03-12 Thread Scott Jaderholm
On Sat, Feb 7, 2009 at 8:16 AM, David Powell wrote: > > Newer versions of JDK 1.6, eg Update 11, have an application called > 'jvisualvm' in the bin directory. It lets you attach to any running > Java process and it has a profiler that you can switch on at runtime. If you're starting Clojure fr

Re: What profilers are you using?

2009-03-11 Thread Allen Rohner
pmf wrote: > On Mar 11, 4:41 am, Allen Rohner wrote: > > Replying to my own question because I figured it out. On the profiler > > tab, before you hit "start profiling", click the settings checkbox. > > Edit the "start from class" field. Mine was set to jline.**. After > > changing it to the ap

Re: What profilers are you using?

2009-03-11 Thread pmf
On Mar 11, 4:41 am, Allen Rohner wrote: > Replying to my own question because I figured it out. On the profiler > tab, before you hit "start profiling", click the settings checkbox. > Edit the "start from class" field. Mine was set to jline.**. After > changing it to the appropriate namespace for

Re: What profilers are you using?

2009-03-10 Thread Allen Rohner
> Can you go into more detail about how you used visualvm? I'm trying to > run it (visualvm 1.1.1), and it seems to have a race condition with > the clojure classloader. Sometimes it won't find all of the compiled > clojure source, and sometimes it will correctly profile methods until > I reload

Re: What profilers are you using?

2009-03-10 Thread Allen Rohner
On Feb 7, 9:16 am, David Powell wrote: > Newer versions of JDK 1.6, eg Update 11, have an application called > 'jvisualvm' in the bin directory. It lets you attach to any running > Java process and it has aprofilerthat you can switch on at runtime. > > It seems quite good. It does profiling via

Re: What profilers are you using?

2009-02-07 Thread David Powell
Newer versions of JDK 1.6, eg Update 11, have an application called 'jvisualvm' in the bin directory. It lets you attach to any running Java process and it has a profiler that you can switch on at runtime. It seems quite good. It does profiling via instrumentation, and yet doesn't slow the app d

Re: What profilers are you using?

2009-02-06 Thread Sergio
Thanks! I hadn't seen the EAP option =) I'm going to go with that. On Feb 6, 11:57 am, Jason Wolfe wrote: > +1 for the EAP of YourKit.  It will expire every now and then, but you > just download the new version. > > The only problem I have is that as far as I can figure out, it can't > display s

Re: What profilers are you using?

2009-02-06 Thread Jason Wolfe
+1 for the EAP of YourKit. It will expire every now and then, but you just download the new version. The only problem I have is that as far as I can figure out, it can't display source code associated with a function either. This is usually fine, except for that it can be impossible to figure o

Re: What profilers are you using?

2009-02-06 Thread Vincent Foley
I don't know much about Java profiling, but I've been using java - Xprof and java -Xrunhprof, and it's usually been enough to guide me. On Feb 5, 10:47 pm, Sergio wrote: > I have been trying out the YourKit profiler and I think it's great. > However, my evaluation license is going to expire soon

Re: What profilers are you using?

2009-02-06 Thread Peter Wolf
Hi Sergio, I have been using JProfiler with the IntelliJ Clojure plugin. The combination seems to work fine, except that JProfiler does not know how to display Clojure source code associated with a function. However, there is enough information displayed that you can do it trivially. Peter

Re: What profilers are you using?

2009-02-06 Thread Mark McGranaghan
You can use the Early Access version of YourKit: it does not require a license key and in my experience works great: http://www.yourkit.com/eap/index.jsp - Mark On Thu, Feb 5, 2009 at 10:47 PM, Sergio wrote: > > I have been trying out the YourKit profiler and I think it's great. > However, my

What profilers are you using?

2009-02-06 Thread Sergio
I have been trying out the YourKit profiler and I think it's great. However, my evaluation license is going to expire soon and being a student I can't purchase (even the academic) license right now. I have tried profiler4j and it is usable but it isn't working 100% right with clojure (in my case)