[IPython-user] Need post_runcode_hook

Fernando Perez fperez.net@gmail....
Mon Mar 16 02:03:09 CDT 2009

On Sun, Mar 15, 2009 at 11:35 PM, Ville M. Vainio <vivainio@gmail.com> wrote:
> On Mon, Mar 16, 2009 at 5:28 AM, Fernando Perez <fperez.net@gmail.com> wrote:
>> ipython is ~3x slower to start.  Not the end of the world, but I'd
>> prefer it if it were less.  But on a slower machine, like my EEE PC
>> 701 (celeron CPU):
> If you profile it, I think you'll find that we just depend on (import)
> too much stuff right from the start. It should be possible to only
> load, say, pdb when it's really required. hooks don't really have an
> effect, so working on to streamline that area would be premature
> optimization.

We'll definitely want to profile this, when we tackle the topic head
on.  Optimizing without profile info is pointless :)

It's actually nice to have that little EEEPC around for this kind of
thing, since the kinds of machines we all tend to develop on are way
too fast for any of us to notice.



More information about the IPython-user mailing list