On 2009-05-31 18:46, Stéfan van der Walt wrote:
> Hi all,
>
> I needed to profile some Cython code on my mac today.  I am only
> familiar with Valgrind, but this tool is not available on OSX (closest
> thing is  http://www.sealiesoftware.com/valgrind/).

Actually, the OS X branch got merged into the trunk a few days ago.

> Luckily, I
> discovered that the Activity Monitor is very handy in this regard:
>
> 1. Start your long running process
> 2. Go to the activity monitor, select the process, and click "Sample Process"
> 3. In the window that pops up, select "Display: Percent of Parent"

Instruments.app is the canonical tool for this on OS X.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to