|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
komodo high cpu usage on <enter>, <tab> and <delete>I'm having an issue with both Komodo 4.1 and 4.2 where when editing a
large perl script (8800+ lines) where when hitting <enter> to insert a new line, <delete> to delete a line, or <tab> to insert tabs there is a 1-2 second hang before Komodo responds (updates the screen with the change). During this time komodo.exe CPU usage spikes to 100% for about 4-5 seconds. Sometimes scrolling through the file and using the menus in areas, such as preferences, will exhibit such hangs in response, but the previously mentioned is more consistent. I have disabled everything I can see as being 'automagic', thus consuming cpu, such as code intelligence, smart editing, and indention guide features. I feel like komodo is still doing something behind the scenes when manipulating the code. Any ideas? Dell D600 laptop 2ghz CPU 2gb RAM Windows XP SP2 Komodo version 4.1.1, build 279677 Komodo version 4.3.2, build 17463 _______________________________________________ Komodo-discuss mailing list Komodo-discuss@... To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss |
|
|
Re: komodo high cpu usage on <enter>, <tab> and <delete>Are there many here-documents in your Perl file? Any time
Komodo is about to colorize a portion of code that contains a here-document, it needs to find the start of that here-doc to determine the end-delimiter. We use CGI.pm as a benchmark file, as it consists mostly of blocks of here-documents, and find Komodo performs fine while editing them. It would be helpful if you could send me a sample file that reproduces these delays. Regards, Eric Promislow listmail wrote: > I'm having an issue with both Komodo 4.1 and 4.2 where when editing a > large perl script (8800+ lines) where when hitting <enter> to insert a > new line, <delete> to delete a line, or <tab> to insert tabs there is a > 1-2 second hang before Komodo responds (updates the screen with the > change). During this time komodo.exe CPU usage spikes to 100% for about > 4-5 seconds. Sometimes scrolling through the file and using the menus > in areas, such as preferences, will exhibit such hangs in response, but > the previously mentioned is more consistent. > > I have disabled everything I can see as being 'automagic', thus > consuming cpu, such as code intelligence, smart editing, and indention > guide features. I feel like komodo is still doing something behind the > scenes when manipulating the code. Any ideas? > > Dell D600 laptop > 2ghz CPU > 2gb RAM > Windows XP SP2 > Komodo version 4.1.1, build 279677 > Komodo version 4.3.2, build 17463 > > > > _______________________________________________ > Komodo-discuss mailing list > Komodo-discuss@... > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss Komodo-discuss mailing list Komodo-discuss@... To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss |
|
|
Re: komodo high cpu usage on <enter>, <tab> and <delete>No here-docs. I was able to *somewhat* regenerate the issue by simply
generating a 9k line file. I don't know that it is quite as slow *but* the delay in scrolling (using mouse drag on scroll bar) and editing is still evident on my end. I don't have any issue editing CGI.pm. I suppose it can be affected by total words, as opposed to lines, or even multiple multi lined statements. #create test.pl (use chmod u+x) #! /opt/ActivePerl-5.8/bin/perl use strict; use warnings; print "print(\"This is generated line data\\n\");\n" for (1..9000); $ ./test.pl > gentest.pl (used unix for speed) open gentest.pl in Komodo on windows, find some point mid file hit enter to create a new line, and hit tab a few times. If no delays are evident on your end then perhaps have task manager up with komodo.exe highlighted, during this, and see if CPU rises to 99 and actual maintains it for about 4-5 seconds. I imagine you will have more options enabled than I so if you don't see any issues then I'll agree it must be something on my end. Eric Promislow wrote: > Are there many here-documents in your Perl file? Any time > Komodo is about to colorize a portion of code that contains > a here-document, it needs to find the start of that here-doc > to determine the end-delimiter. We use CGI.pm as a benchmark > file, as it consists mostly of blocks of here-documents, and > find Komodo performs fine while editing them. > > It would be helpful if you could send me a sample file that > reproduces these delays. > > Regards, > Eric Promislow > > listmail wrote: >> I'm having an issue with both Komodo 4.1 and 4.2 where when editing a >> large perl script (8800+ lines) where when hitting <enter> to insert >> a new line, <delete> to delete a line, or <tab> to insert tabs there >> is a 1-2 second hang before Komodo responds (updates the screen with >> the change). During this time komodo.exe CPU usage spikes to 100% >> for about 4-5 seconds. Sometimes scrolling through the file and >> using the menus in areas, such as preferences, will exhibit such >> hangs in response, but the previously mentioned is more consistent. >> >> I have disabled everything I can see as being 'automagic', thus >> consuming cpu, such as code intelligence, smart editing, and >> indention guide features. I feel like komodo is still doing >> something behind the scenes when manipulating the code. Any ideas? >> >> Dell D600 laptop >> 2ghz CPU >> 2gb RAM >> Windows XP SP2 >> Komodo version 4.1.1, build 279677 >> Komodo version 4.3.2, build 17463 >> >> >> >> _______________________________________________ >> Komodo-discuss mailing list >> Komodo-discuss@... >> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs >> Other options: >> http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss _______________________________________________ Komodo-discuss mailing list Komodo-discuss@... To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss |
| Free Forum Powered by Nabble | Forum Help |