[Numpy-discussion] Re: Speeding up Numeric

David M. Cooke cookedm at physics.mcmaster.ca
Sat Jan 22 08:18:15 CST 2005

On Sat, Jan 22, 2005 at 11:13:52AM +0800, Steve Chaplin wrote:
> On Fri, 2005-01-21 at 15:38 -0800, David M. Cooke wrote:
> > > First, profiling Python extensions is not easy. I've played with using
> Which version of Python are you using? In 2.4 the profile module has
> been updated so it can now profile C extension functions.
> Steve

Sorry, I should have mentioned: I'm using 2.3 (it's still the default
under Debian). But the Python profiler can only keep track of how much
time is spent in the C extension; it can't determine the hotspots in the
extension itself.

|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca

More information about the Numpy-discussion mailing list