Re: [Cython] line tracing/profiling code objects

2014-03-27 Thread Syam Gadde
Stefan, I'm sorry to be so long in responding. Your response was very helpful, but I had to suddenly change my focus to other projects. I've been looking at it again. I took the easy way out for now and attempted to name the codeobj objects deterministically, as you suggested at the end of yo

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