ActiveState Community

KomodoEdit running very slowly

Posted by jplwill on 2009-10-14 09:55

I'm using KomodoEdit on Linux (specifically, RHEL 5) for the first time this week, and the keyboard response is much slower than I'd expect. As I'm typing in a Tcl file, I can see the performance meter spiking, and observe noticeable delays after pressing Return. I don't see this in other apps (notably Emacs). I've disabled "Code Intelligence", but it doesn't seem to make any difference.

Any suggestions? Are there configuration issues I should check? I like KomodoEdit, and have been using it on OSX quite happily, but the performance on Linux is a constant annoyance.

toddw | Wed, 2009-10-14 10:36

First check Komodo's error file to ensure there are no serious errors occurring in Komodo:
http://community.activestate.com/faq/komodo-file-locations#log_files

You might want to try using a clean profile to see if it's something specific with your preferences/profile data:

export KOMODO_USERDATADIR=/tmp/komodo
komodo -v

If the above works well, then you may want to consider resetting your main Komodo preferences as well:
http://community.activestate.com/faq/komodo-file-locations#pref_reset

Cheers,
Todd

jplwill | Wed, 2009-10-14 10:54

I did a "tail -f" on the pystderr.log file; I see some errors written there, but not while I'm typing.

Running with a clean profile didn't make a significant difference.

The file I was editing when I noticed the problem is a Tcl file
that's nearly 5000 lines long. It seems to be less noticeable for shorter files. Perhaps Komodo is syntax checking
the entire file as I type?

ericp | Thu, 2009-10-15 11:46

Could you try disabling some of the features for that file?

Right-click on the file's tab, choose Properties and Settings,
and you'll have access to these controls:

Editor: disable syntax checking for that file

Advanced: disable Codeintel and colorizing

Unless you have very long lines, colorizing should not
be expensive.

- Eric

jplwill | Mon, 2009-10-19 08:56

Aha! Yes, that did the trick. Colorizing is fine; syntax checking and code intel slow it way down.

Thanks!