[Cython] Measuring "C-ness"?

Stefan Behnel stefan_ml at behnel.de
Fri Feb 6 12:41:50 CET 2009


Magnus Lie Hetland wrote:
> I'd like to profile the code, to see where it goes
> through Cython/the Python C API (or even Python code), so I can
> eliminate those calls.

Have you looked at Cython's annotation (-a) feature? It will generate an
HTML page of your source code that highlights Python operations.

Stefan



More information about the Cython-dev mailing list