[OLPC-devel] pygtk performance issue

Johan Dahlin jdahlin at async.com.br
Wed Sep 6 17:03:55 EDT 2006


Jonathan Corbet wrote:
> Richard Smith <smithbone at gmail.com> wrote:
> 
>>> one might argue that any app that opens 700 files on startup is not
>>> simple :-)
>> Dave Jones agrees.
>>
>> http://lwn.net/Articles/192214/
> 
> Along those lines, it's worth noting that pygtk suffers from the "wake
> up every 100ms and do nothing" disease:
> 
> 	http://lwn.net/Articles/198217/
> 
> People are trying to address it, which is a good thing - a bunch of
> pygtk apps spinning in their event loops won't be good for power
> consumption.

This has mostly been solved already, the only exception is when threads are
being used where Python is lacking a couple of features.

I increased that timeout to 1000 today, so it should be less than an issue
from now on.

Johan




More information about the Devel mailing list