These are chat archives for spyder-ide/public

24th
Apr 2015
Caleb Hattingh
@cjrh
Apr 24 2015 01:16

Just for reference (Windows), afterpython bootstrap.py, I see the Bootstrap completed in message after 9 s (cold start) and after ~5 s (warm start, and every start thereafter). After that message, there is still another (roughly) 5 s or so before the GUI is available to type into. This is on a Xeon machine with 32 GB memory and SSD disk.

If I get a chance sometime I'll push it through the profiler and see what's taking up the time.

Caleb Hattingh
@cjrh
Apr 24 2015 02:41
blob
Caleb Hattingh
@cjrh
Apr 24 2015 04:02
blob
That's the full startup on Windows, pre- and post-splash. It is encouraging to see that the time-cost is quite clustered, which suggests that we will be able to improve it a good deal. Running under cProfile curiously fails with ImportError: No module named inspector, so I just added instrumentation in a few places.
Caleb Hattingh
@cjrh
Apr 24 2015 04:09
Since we're on github now, do we still need to call get_hg_revision() in bootstrap.py? Removing that alone will knock off about a second.
(Although it will only affect bootstrap, not the bundled version)
Gonzalo Peña-Castellanos
@goanpeca
Apr 24 2015 13:07
Great @cjrh, this is great to start looking how to improve, and for sure there is room for improvement :-)... I feel a bit embarrassed we keep calling Spyder light when it has like 180 MB (this is the low end...) in memory consumption in the App manager plus it takes so long to start up!