[Numpy-discussion] "import numpy" is slow

Christopher Barker Chris.Barker@noaa....
Thu Jul 31 12:12:22 CDT 2008


David Cournapeau wrote:
> Christopher Barker wrote:
>> On my OS-X box (10.4.11, python2.5, numpy '1.1.1rc2'), it takes about 7 
>> seconds to import numpy!
> 
> Hot or cold ? If hot, there is something horribly wrong with your setup.

hot -- it takes about 10 cold.

I've been wondering about that.

time python -c "import numpy"

real    0m8.383s
user    0m0.320s
sys     0m7.805s

and similar results if run multiple times in a row.

Any idea what could be wrong? I have no clue where to start, though I 
suppose a complete clean out and re-install of python comes to mind.

oh, and this is a dual G5 PPC (which should have a faster disk than your 
Macbook)


-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the Numpy-discussion mailing list