[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcacheg

From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Profile gr python code using Oprofile and Kcachegrind
Date: 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.
> Sincerely,
> --
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]