Re: Performance concern in editing HTML files

From: phayz <russelldicken....at.gmail.com>
Date: Tue, 9 Nov 2010 13:24:06 -0800 (PST)

On Nov 10, 4:20 am, Brian Schott <briancsch....at.gmail.com> wrote:
> Try doing the same thing on SciTE. I've noticed that Scintilla's
> scrolling performance has always been bad when using the arrow keys
> like that.
>
>
>
> On Tue, Nov 9, 2010 at 10:13 AM, Robert <ro....at.web.de> wrote:
> > On Tue, Nov 9, 2010 at 7:03 PM, Robert <ro....at.web.de> 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?
>
> > Robert
>
> > --
> > You received this message because you are subscribed to the Google Groups "textadept" group.
> > To post to this group, send email to textadept.at.googlegroups.com.
> > To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/textadept?hl=en.- Hide quoted text -
>
> - Show quoted text -

Wow! Thanks for all the advice to those who have responded. I'm sorry
I haven't yet been able to provide hard statistics etc. I'll try all
these suggestions and see what happens.
Received on Tue 09 Nov 2010 - 16:24:06 EST

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