more on python and GUI speed

Ken Seehof kens at sightreader.com
Thu Jun 15 22:56:33 EDT 2000


Daniel Kramer wrote:

> I know I am beating this subject to death but I moved over to python from
> tcl to improve my programming skills (which are minimal), learn oop, and
> still write gui programs with ease.
>
> I have found the gui solutions to be a bit slow compared to tcl/tk.  Today I
> found something interesting.. I put my computer under heavy load and ran a
> simple tcl/tk app, python/tkinter app, and a wxPython app.. all were simple
> drawing a line on a canvas type apps.
>
>     The tkinter and wxPython apps were very choppy when the cpu was under
> load from another process.. where the tcl/tk app saw almost no performance
> hit at all.. it was still just as fluid as when my computer's cpu was idle.
>
> Anyway.. I am leaning toward going back to tcl/tk and just learning [Incr
> Tcl] to fill the oop gap.
>
> -Daniel

Can you post the wxPython code in question?  There are ways to inadvertently
make a wxPython app run slow.  Your results are surprising to me because I would
expect the line draw operation to be the bottleneck rather than the python
interpreter.

--
Ken Seehof
kens at sightreader.com
starship.python.net/crew/seehof
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kens.vcf
Type: text/x-vcard
Size: 343 bytes
Desc: Card for Ken Seehof
URL: <http://mail.python.org/pipermail/python-list/attachments/20000615/b576cae6/attachment.vcf>


More information about the Python-list mailing list