Re: Code profiling
- From: Ian B <news123@xxxxxxxx>
- Date: Mon, 11 Sep 2006 19:30:11 +0100
Chris,
You didn't mention Ian Bartholomew's profiler so I guess you haven't tried that
yet. I don't know whether it would provide precisely the information you are
looking for, but it would certainly help a lot.
It would help, but I don't think it would provide some of the
precision that Jeff is looking for. There are two main problems with
the Profiler as it stands...
- it can only sample at a maximum of 1mS intervals. This was probably
OK on the slower machines that were in use when the Profiler was first
written but is too slow now.
- it will only take a sample when Dolphin allows it to - basically
before and after a "normal" message send. Anything unusual, api calls
/ optimised methods, get included in the enclosing sample.
The original Dolphin Profiler, named Svengali, that appeared back in
the early Dolphin beta could do more (it had a full execution tracer
and a GC monitor IIRC) so it is possible to provide more information -
just a bit difficult to implement.
What I think it really needs is some sort of VM support. Something
like a VM interrupt that, optionally, occurs after every n opcodes are
evaluated?
--
Ian
The From address is valid - for the moment
.
- Follow-Ups:
- Re: Code profiling
- From: Pavel
- Re: Code profiling
- From: Chris Uppal
- Re: Code profiling
- From: Jeff M.
- Re: Code profiling
- References:
- Code profiling
- From: Jeff M.
- Re: Code profiling
- From: Chris Uppal
- Code profiling
- Prev by Date: Re: Code profiling
- Next by Date: Smalltalk cookbook (once again)
- Previous by thread: Re: Code profiling
- Next by thread: Re: Code profiling
- Index(es):
Relevant Pages
|