[IPython-dev] wxIPython0.7 - Linux is a known OS :)

Laurent Dufréchou laurent.dufrechou@gmail....
Sun Dec 16 16:30:56 CST 2007


Hi Prabhu my linux tester ;),

Here it takes ~2.5s.(Core 2 T7200)
Under linux (in a virtual machine) it tooks more times but more boring, the
app more or less unusable because if you try to up or down in the scroll
windows it took VERY long time.

What is you processor power (just to have a comparison point)?
On my windows all is ok (well if a compare to IPython Dos shell it's pity
but well... :)

Haaaa, find something while writing the email!
Can you check with these two files?(really faster :) ) (rename them
ipython_view.py) Fastest is like IPython Shell prompt '1 column
autocompletion'
Fastest but beautifull is little slower but multi column capable (if your
window size is large enough)

For your config is the last one acceptable? Is there any visible difference
between the two?
Do you have the BORING slowdown while trying to scroll up after a wx.
Completion with GTK?

Regards,
Laurent

Ps:yeah will use svn for next release ;)

-----Message d'origine-----
De : Prabhu Ramachandran [mailto:prabhu@aero.iitb.ac.in] Envoyé : dimanche
16 décembre 2007 21:57 À : Laurent Dufréchou Cc : IPython-dev@scipy.org
Objet : Re: [IPython-dev] wxIPython0.7 - Linux is a known OS :)

Laurent Dufréchou wrote:
> Oups,
> Can you try this in ipython_view.py?
> Line 671, add time_loop argument = 0.1 s IP = 
> IterableIPShell(cout=self.cout,cerr=self.cout,
>                      pager = self.pager, exit_handler = exit_handler,
>                      time_loop = 0.1)
> 
> Cpu goes low with this here.(In with actual config thread is always 
> looping like

Yup, that reduces the CPU load a huge amount.  Thanks.

I noticed that large modules take forever for tab completion.  Try this:

import wx
wx.<TAB>

eats lots of CPU and takes forever, perhaps because you end up printing 3000
odd lines?!

> Thanks for your report!

Np.

Thanks!

cheers,
prabhu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipython_view_fast_beautifull_completion.py
Url: http://lists.ipython.scipy.org/pipermail/ipython-dev/attachments/20071216/f27f1c29/attachment-0002.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipython_view_fastest_completion.py
Url: http://lists.ipython.scipy.org/pipermail/ipython-dev/attachments/20071216/f27f1c29/attachment-0003.pl 


More information about the IPython-dev mailing list