Re: What profilers are you using?

2009-03-12 Thread Scott Jaderholm
On Sat, Feb 7, 2009 at 8:16 AM, David Powell djpow...@djpowell.net 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

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 jaderh...@gmail.com wrote: On Sat, Feb 7, 2009 at 8:16 AM, David Powell

Re: What profilers are you using?

2009-03-11 Thread pmf
On Mar 11, 4:41 am, Allen Rohner aroh...@gmail.com 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

Re: What profilers are you using?

2009-03-11 Thread Allen Rohner
pmf wrote: On Mar 11, 4:41 am, Allen Rohner aroh...@gmail.com 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

Re: What profilers are you using?

2009-03-10 Thread Allen Rohner
On Feb 7, 9:16 am, David Powell djpow...@djpowell.net 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

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 a

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

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

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

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

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 jawo...@berkeley.edu 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