Re: [textadept] Re: Performance concern in editing HTML files

From: Robert <>
Date: Tue, 9 Nov 2010 19:13:03 +0100

On Tue, Nov 9, 2010 at 7:03 PM, Robert <> wrote:
> Russell,
>> I still haven't tested other types of files but I thought I would add
>> some information in case it's useful. The behaviour I have is that
>> when I scroll up or down line-by-line, there's a slight lag with the
>> display being updated. The lag is so great that when I release the up
>> or down arrow key, the display keeps scrolling. In other words, it's
>> struggling to keep up. Using the GNOME performance monitor I can see
>> that when I am scrolling, the CPU load is extremely heavy. Admittedly
>> this is on a laptop with an Intel Core 2 Solo CPU so it's not a
>> monster but I wouldn't expect an editor to require significant
>> resources. When I do the same with gedit, this behaviour doesn't
>> happen.
>> Interestingly I don't get the same behaviour from Textadept (portable,
>> version 3.3) under Windows XP on my PC at work, although this is an
>> Intel Core 2 Duo CPU.
>> I still intend testing other files which require multiple lexers and
>> reporting the test results here.
>> - Russell
> this is most likely related to one of the plugins/modules you are
> using. I have the same lagging even in plain lua files. I'll try to
> find out which one is causing this.
> You can try starting Textadept with a clean userhome, e.g.
> textadept -u ~/tatest
> which will create a new directory tatest.
> Robert

Sorry, I can't reproduce this any more - I can confirm that CPU goes
up to ~60% during the scrolling. Maybe it's only lagging when there is
too much other load?

Received on Tue 09 Nov 2010 - 13:13:03 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:52:39 EST