Hi All,
I'm badly in need of a histogram-based profiler for the VM I'm working on. This is something that produces a histogram of time taken against PC, insead of time taken against function. The interpreter is a very large function and so function-centric tools aren't (IME) that useful. I've written ones for BrouHaHa and VisualWorks and will write one again if pushed. But I wonder whether anyone knows of anything off-the-shelf or close enough to be wroth using as a starting point. For example, has anyone written a graphing tool in Squeak using Morphic that I could steal for the UI? Yes I could start with gprof and/or gcov but I find graphical histograms much more immediate and helpful.
TIA Eliot
|
Unless I'm misunderstanding what you're asking for, you already have
one installed: /Developer/Applications/Performance Tools/Shark.app Eg: http://developer.apple.com/tools/images/codeProfile.jpg Avi On Fri, Jul 11, 2008 at 6:16 PM, Eliot Miranda <[hidden email]> wrote: > Hi All, > I'm badly in need of a histogram-based profiler for the VM I'm working > on. This is something that produces a histogram of time taken against PC, > insead of time taken against function. The interpreter is a very large > function and so function-centric tools aren't (IME) that useful. I've > written ones for BrouHaHa and VisualWorks and will write one again if > pushed. But I wonder whether anyone knows of anything off-the-shelf or > close enough to be wroth using as a starting point. For example, has anyone > written a graphing tool in Squeak using Morphic that I could steal for the > UI? Yes I could start with gprof and/or gcov but I find graphical > histograms much more immediate and helpful. > TIA > Eliot > > > |
On 11-Jul-08, at 6:23 PM, Avi Bryant wrote: > Unless I'm misunderstanding what you're asking for, you already have > one installed: > /Developer/Applications/Performance Tools/Shark.app > > Eg: > http://developer.apple.com/tools/images/codeProfile.jpg > > Avi > > On Fri, Jul 11, 2008 at 6:16 PM, Eliot Miranda <[hidden email] > > wrote: >> Hi All, >> I'm badly in need of a histogram-based profiler for the VM I'm >> working >> on. This is something that produces a histogram of time taken >> against PC, >> insead of time taken against function. Another option would be DTrace/Instruments, if you're running Leopard. http://developer.apple.com/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Introduction/chapter_1_section_1.html |
In reply to this post by Avi Bryant-2
Hi Avi,
On Fri, Jul 11, 2008 at 6:23 PM, Avi Bryant <[hidden email]> wrote:
Unless I'm misunderstanding what you're asking for, you already have Shark looks OK for a text-based tool. But its still line based. I prefer something more immediately graphical. e.g. here's my own tool for Windows (terrible UI)
But looks like Shark is minimal effort. Thanks! |
In reply to this post by Colin Putney
Hi Colin,
this is much closer to (and nicer than) what I had in mind. But it seems time-based. Does it include tools to relate to PC? (e.g. a la http://www.mirandabanda.org/images/oeprofiler.jpg)
On Fri, Jul 11, 2008 at 6:36 PM, Colin Putney <[hidden email]> wrote:
|
In reply to this post by Eliot Miranda-2
Hi Eliot,
these packages on squeakmap may be relevant: http://map.squeak.org/package/1638a794-b413-4517-8bfb-38f664368ffe http://map.squeak.org/package/5cd32afa-b24b-46b9-884e-7940d642b0d6 http://map.squeak.org/package/0bb31b1e-ad92-4cf8-b4ed-c4f9f24c7a6b Best - Simon |
And I should have included http://wiki.squeak.org/squeak/2626
(PlotMorph), which links to some apps using it. |
Free forum by Nabble | Edit this page |