[Mono-dev] New profiler (work in progress)

Massimiliano Mantione massi at ximian.com
Fri Oct 12 01:44:28 EDT 2007


On Thu, 2007-10-11 at 17:27 -0400, Chris Morgan wrote:
> I'm not sure if you've ever used valgrind/kcachegrind but it might be
> useful to be able to output in that format to enable easier
> visualization of profiling data. As far as I know kcachegrind still
> has about the best visualization for profiling that I've seen and it
> would be useful to leverage a tool like it to provide easier analysis
> than reading through profiling text output.

Yes, I have used kcachegrind, and I absolutely loved it :-)
For now the priority is to be able to output files as small
as possible, and with as little overhead as possible.

Then, <hint>somebody could contribute</hint> an off line
translator from our file format to kcachegrind's ;-)

Another thing I would like is integrating oprofile support in
this profiler. The oprofile team just created a branch which
provides Java support, but the JIT support is vm-agnostic and
it would be easy to make it support Mono.

BTW, I just rerun the bench test enabling only the (broken)
statistical profiler support, even if it does not provide
meaningful data.
This way the log file is small and the overhead ok.
The log file was so huge because with all the flags enabled it
was actually like a full trace...

Ciao,
  Massi





More information about the Mono-devel-list mailing list