I've got Clojure profiling working fairly easily using the free pre-
release build of YourKit [1], and it's already been a big help in
speeding up my application (I'll post on my blog about this soon).
The main difficulty has been figuring out which functions are which in
the output, since the only identifying information that shows up in
the stack traces are package names and names from top-level defns.
Methods and anonymous functions show up as they do in Clojure stack
traces, but without the file names and line numbers.

So, my question is, does anyone with experience with YourKit know if
there's a way to show filenames and line numbers.  Or, is there a way
to take a string like

edu.berkeley.ai.angelic.hierarchies
$fn__5212$iter__5214__5216$fn__5218.invoke(Object)

and extract a filename and line number from the clojure REPL from
which the profiling was done?

Or, even better, might it be possible to replace the (gensym?) numbers
following anonymous functions with something more meaningful, like
fn__<line #><a-z> where a is the first function on the line, going
from inside-out and then left-to-right?

[1] http://www.yourkit.com/eap/index.jsp

Thanks,
Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to