Comments: Where's that "Profiling Code For Dummies" book?

There's this on MDC:

http://developer.mozilla.org/en/docs/Setting_up_jprof

Seems JProf requires you to build Mozilla specially for it to work, and I have no idea how current it is.

I've poked around OProfile as well, and it doesn't seem to require you to recompile the application you want to profile unless you want annotated source and such things.

http://oprofile.sourceforge.net/

Haven't used either of the two tools, I just Googled a bit when I read about your predicament.

Posted by Fredrik at December 4, 2006 11:06 AM

I'm actually rather surprised Shark didn't catch anything... I've found it to be very intuitive to use in a basic way, and very powerful once you move beyond that.

Try 'sample AppName 10' in a Terminal window and see if that catches anything. I hate reading Sampler output, but it'd at least be a datapoint.

Posted by David Smith at December 4, 2006 12:41 PM

Shark should catch data. I've used it to fix perf issues in Camino in before. It's extremely simple to run.

The part that gets more complex is analyzing the data (naturally). There's a tutorial in the Help menu in Shark that'll give you some tips for that.

/H�kan

Posted by H�kan Waara at December 5, 2006 3:30 AM