Re: [Cython] line tracing/profiling code objects

2014-02-27 Thread Stefan Behnel
Hi! Syam Gadde, 27.02.2014 16:22: > I tried using line tracing in conjunction with line_profiler/kernprof to > attempt to see if line-based profiling works in Cython. I think it's > pretty close. But I think the problem is that line_profiler is getting > a different PyCodeObject when it wraps

[Cython] line tracing/profiling code objects

2014-02-27 Thread Syam Gadde
Hi all, I tried using line tracing in conjunction with line_profiler/kernprof to attempt to see if line-based profiling works in Cython. I think it's pretty close. But I think the problem is that line_profiler is getting a different PyCodeObject when it wraps the function and when it actually