On Jun 1, 2009, at 11:18 AM, Robert Kern wrote:

> 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.

Still, very cool! Could you put this up on the wiki? (Also, any  
valgrind+Cython knowledge you might have.)

- Robert

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

Reply via email to