[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcacheg
Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcachegrind
Sat, 1 Sep 2012 11:11:22 -0400
On Thu, Aug 30, 2012 at 6:17 AM, Qing Yang <address@hidden> wrote:
> Hi Tom,
> Kcachegrind can only show the cost of C++ functions, can we get the cost of
> python functions or python modules? Because it is more interesting to look
> at the cost of each gr modules in the python code level.
> Yang, Qing
> Information Engineering, CUHK
If you're doing performance critical stuff in Python, stop it :)
I've never worried about profiling Python code since any performance
critical stuff I've wanted to do, I do it in C++. Python is just for
interfacing and interacting with the GNU Radio flowgraph and blocks,
and that shouldn't need profiling.