Profiling python C extensions

Posted by pygabriel on Stack Overflow See other posts from Stack Overflow or by pygabriel
Published on 2010-04-10T21:54:21Z Indexed on 2010/04/10 23:53 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

I have developed a python C-extension that receives data from python and compute some cpu intensive calculations. It's possible to profile the C-extension?

The problem here is that writing a sample test in C to be profiled would be challenging because the code rely on particular inputs and data structures (generated by python control code).

Do you have any suggestions?

© Stack Overflow or respective owner

Related posts about python

Related posts about c