[Fwd: Re: komodo high cpu usage on <enter>, <tab> and <delete>]

View: New views
2 Messages — Rating Filter:   Alert me  

[Fwd: Re: komodo high cpu usage on <enter>, <tab> and <delete>]

by listmail-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't know that this will be useful to anyone, but I did come to a
resolution by updating to the latest video driver provided by Dell and
tweaking Norton Corporate edition using the following link:
http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2005042710304248

While the CPU usage for Komodo hasn't really changed, my screen updates
are real time and therefore editing is back to the way it should be.

-------- Original Message --------
Subject: Re: [Komodo-discuss] komodo high cpu usage on , and
Date: Thu, 19 Jun 2008 15:28:36 -0400
From: listmail <listmail@...>
To: komodo-discuss@...
References: <485A7030.5030804@...>
<485A9484.6010509@...>



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


_______________________________________________
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>]

by Todd Whiteman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

listmail wrote:
> I don't know that this will be useful to anyone, but I did come to a
> resolution by updating to the latest video driver provided by Dell and
> tweaking Norton Corporate edition using the following link:
> http://service1.symantec.com/SUPPORT/ent-security.nsf/docid/2005042710304248
>
> While the CPU usage for Komodo hasn't really changed, my screen updates
> are real time and therefore editing is back to the way it should be.

Thanks for the update.

We also have this bug, tracking ideas on why editing performance may
have changed somewhat with the Komodo 4.4 release:
http://bugs.activestate.com/show_bug.cgi?id=78332

Cheers,
Todd
_______________________________________________
Komodo-discuss mailing list
Komodo-discuss@...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
LightInTheBox - Buy quality products at wholesale price!