Re: Profiling + Indy

2011-10-17 Thread Tom Rodriguez
Netbeans has a profiler built in, though I don't know how well it works and I don't know if it's been updated for 292. The Sun Studio Analyzer does a very good job capturing profiles without a lot of overhead though it only runs on Solaris and Linux. The very latest version supports 292 but I

Re: Profiling + Indy

2011-10-17 Thread Tom Rodriguez
That seems to be a bug. hprof needs to be updated for 292. I filed 7101843 for this. tom On Oct 13, 2011, at 8:53 PM, Charles Oliver Nutter wrote: > FWIW, option 2 (hprof) seems like a no-show on u2b08: > > headius@headius-vbox-ubuntu:~/projects/redblack$ > JAVA_HOME=~/jdk1.7.0_02/ ../jruby/

Re: Profiling + Indy

2011-10-14 Thread William Louth (JINSPIRED.COM)
DTrace probes are horrendously slow. It even states it in the docs. Please @see http://opencore.jinspired.com/?p=5459 - If you’re not metering you’re not trying hard enough to be the best – Part 2 of 3 Anyway you first need to know what you want to measure and to do this iteratively would be ex

Re: Profiling + Indy

2011-10-14 Thread rvjansen
Charlie, there are the DTRACE probes in Java on MacOSX (and Solaris) - you might want to look into those. best regards, René Jansen. On Fri, 14 Oct 2011 03:52:23 +, Charles Oliver Nutter wrote: > I'm looking to get back into JRuby + Indy work now that the heaviest > conferences are behind

Re: Profiling + Indy

2011-10-13 Thread Charles Oliver Nutter
FWIW, option 2 (hprof) seems like a no-show on u2b08: headius@headius-vbox-ubuntu:~/projects/redblack$ JAVA_HOME=~/jdk1.7.0_02/ ../jruby/bin/jruby -X+C -J-Xrunhprof:cpu=times bm1.rb 20 HPROF ERROR: Unknown constant [../../../src/share/demo/jvmti/java_crw_demo/java_crw_demo.c:693] [hprof_init.c:210

Profiling + Indy

2011-10-13 Thread Charles Oliver Nutter
I'm looking to get back into JRuby + Indy work now that the heaviest conferences are behind me. Part of this involves running larger benchmarks where the hot spots may not be apparent at a glance. In order to investigate performance on such benchmarks, I will want to do some profiling. But what sho