[Numpy-discussion] "import numpy" is slow

Robert Kern robert.kern at gmail.com
Thu Jul 31 22:23:56 EDT 2008


On Thu, Jul 31, 2008 at 11:45, Christopher Barker <Chris.Barker at noaa.gov> wrote:

> On my OS-X box (10.4.11, python2.5, numpy '1.1.1rc2'), it takes about 7
> seconds to import numpy!

Can you try running a Python process that just imports numpy under Shark.app?

  http://developer.apple.com/tools/shark_optimize.html

This will help us see what's eating up the time at the C level, at least.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the NumPy-Discussion mailing list