[Pyrex] profiling in pyrex

Sébastien Sablé sable at users.sourceforge.net
Thu Dec 2 11:35:38 CET 2010


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ébastien Sablé

Le 01/12/2010 01:17, Greg Ewing a écrit :
> 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.
>




More information about the Pyrex mailing list