[Numpy-discussion] "import numpy" is slow

Christopher Barker Chris.Barker@noaa....
Fri Aug 1 17:22:40 CDT 2008

David Cournapeau wrote:
> IOW, I don't think the problem is the numbers themselves. It has to be
> something else. A simple profiling like
> python -m cProfile -o foo.stats foo.py
> and then:
> python -c "import pstats; p = pstats.Stats("foo.stats");
> p.sort_stats('cumulative').print_stats(50)"

OK, see the results -- I think (though i may be wrong) this means that 
the problem isn't in finding the numpy package:

As for Shark, I'm sorry I missed that message, but I'm trying to see if 
I can do that now -- I don't seem to have Shark installed, and the ADC 
site doesn't seem to be working, but I'll keep looking.

Thanks for all your help with this...


Christopher Barker, Ph.D.

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ImportNumpyStats.txt
Url: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080801/79f21455/attachment.txt 

More information about the Numpy-discussion mailing list