Re: profiling in pyrex

SĂ©bastien SablĂ© <[email protected]> Thu, 02 Dec 2010 11:35:38 +0100
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
Hi,

I have modified callgrind in order to recognize calls to some functions =

from the Python C API and to use the Python context in that case to get =

more/better information:

http://code.google.com/p/callgrind-python/

This has been very useful for me in order to profile an application that =

mixes C and Pyrex/Cython and Python.

regards

--
S=E9bastien Sabl=E9

Le 01/12/2010 01:17, Greg Ewing a =E9crit :
> Mihai Badoiu wrote:
>> what is the best way to profile code written in pyrex?
>
> There are no special tools or techniques that I'm aware of.
> Just treat it as you would any other piece of C code.
>