[SciPy-dev] time to import scipy?
Tue Mar 11 20:07:57 CDT 2008
I'm using scipy 0.6.0
Ondrej Certik wrote:
> On Tue, Mar 11, 2008 at 8:08 PM, Joseph VanAndel <email@example.com> wrote:
>> When I import scipy (or just scipy.io) on a CentOS 5 64 bit computer, 4
>> processor, 3.00 Ghz server, with Python 2.5.1, it takes ~10 seconds of
>> elapsed time.
>> When I'm developing and testing a Python script, I typically start the
>> python interpreter dozens of times, so I concerned by how much time I
>> spend waiting for the Python to startup.
>> 1) Is there anything I can do to speed up the import of scipy?
>> 2) What debugging techniques do you suggest that avoid restarting the
>> interpreter? For example, do you routinely use ipython and
> Which scipy version are you using? It takes 0.33s on my laptop and
> scipy in Debian:
> $ ipython
> Python 2.4.4 (#2, Mar 3 2008, 01:16:37)
> Type "copyright", "credits" or "license" for more information.
> IPython 0.8.2 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object'. ?object also works, ?? prints more.
> In : time import scipy
> CPU times: user 0.24 s, sys: 0.07 s, total: 0.31 s
> Wall time: 0.33 s
> Scipy-dev mailing list
More information about the Scipy-dev