Re: Komodo performance issue
Jeff Hobbs <[email protected]> Thu, 11 Feb 2010 13:29:42 -0800
| Newsgroups | gmane.comp.ide.komodo.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Tom,
On 11/02/2010 12:02 PM, Tom SAVELL wrote:
> I've been using Komodo 5.x for some time on Windows, and recently was
> able to get it installed on a Linux machine -- I had to wait for an O/S
> release upgrade to be installed (now at CentOS 5.4). I noticed a
> substantial difference in the performance of Komodo 5.2.4 on Linux
> versus Windows. It is _much_ slower on the Linux machine.
...
> BTW, I did a little "interpreted language" test combined with GUI
> updates by running the "tkcon" application on the same two machines.
> First I noted that the response to mouse button clicks is acceptable on
> the slower Linux machine. Then I ran the following Tcl script on both,
> which uses "puts" to write to the console window:
>
> time {for {set i 0} {$i < 100} {incr i} {puts $i}} 10
>
> The results were surprising: it was about 2x *faster* on the slower
> Linux machine:
...
> I ran it multiple times and got very similar results each time. The
> paradoxical performance difference in this particular example may have
> to do with using a remote display (X-Window Server) rather than a local
> display (Windows local GUI).
How remote is the remote display for your linux machine? Are you
running Komodo over a wide area network? That can really impeded
performance for apps that use pango for AA text rendering like Komodo.
The Tcl script in comparison is only passing around text and using the
most rudimentary Xlib calls.
Since you mentioned tkcon, if you use ActiveTcl you can see a similar
performance "degradation" between tkcon from AT 8.4 and AT 8.5. In 8.5
we enabled the AA text rendering, which again is much slower when not
using a local display. People much prefer the AA rendering, but it does
come at a display cost, exacerbated over remote connections.
Jeff
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss