profiler

Brett C. bac at OCF.Berkeley.EDU
Tue Aug 24 15:18:16 EDT 2004


Robert Brewer wrote:

> Brett C. wrote:
> 
>>As of Python 2.4 you  can also compile in support for C-level 
>>profiling
>>into the interpreter (--enable-profiling).  See the in-dev docs
>>(http://www.python.org/dev/doc/devel/) for details.
> 
> 
> Drool. Thanks for the news. Since the first Python optimization is often
> to stop calling Python functions (and inline instead), this'll be a big
> help. :)
> 

See, 2.4 is not just about decorators.  =)

And Nick Bastin deserves a good chunk of the thanks for the profiling 
work he did to get this added (the power of PyCON sprints  =) .

-Brett



More information about the Python-list mailing list