all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: new emacs24 settings (was: Re: Performance problems (CPU 100%) with NULs in files)
Date: Sat, 24 Sep 2011 02:32:24 +0800	[thread overview]
Message-ID: <CAM=K+ip3zJ_296=BmgyEQ8R+fGomN8Usxd7FzPX7Y89_mGQZkQ@mail.gmail.com> (raw)
In-Reply-To: <83litfqgwx.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]

On Sat, Sep 24, 2011 at 1:58 AM, Eli Zaretskii <eliz@gnu.org> wrote:

>
> > next-line
> What was the value of line-move-visual?  Under the default non-nil
> setting, next-line is pretty expensive.
>

it was t, setting it to nil didn't help bibi-display much.


>  > >  What kind of text?  What was the major mode in that buffer?
> >
> > emacs-lisp large file
>
> How large?
>
>
allout.el >200k not very large.  large enough to scroll continuously  for 10
seconds of so.

Does it matter whether you are close to the file's beginning or to its
> end?
>
> Does anything change if, after visiting the file, you first type
>
>  M-: (font-lock-default-fontify-buffer) RET
>
and only then try scrolling?
>

no.


> > I also use full font-lock salad colors with "Consolas" font on Windows.
> > Also I use several minor-modes that add pre or post-command-hooks.
>
> If you remove those pre/post-command hooks, does the scrolling speed
> improve significantly?  Can you find a hook that has the most profound
> effect?


no it does not.  the effect of all hooks is about 2-3% CPU.

 > > Does it behave better if you set redisplay-dont-pause to a non-nil
> > > value?  This will be the default in Emacs 24.
> > >
> >
> > It's not making a noticeable difference.
>
> With or without bidi-display-reordering?  I asked about its effect
> when bidi-display-reordering is left at its default t value.
>

I tried it with bidi and without, difference wasn't huge.

-- 
Le

[-- Attachment #2: Type: text/html, Size: 2713 bytes --]

  reply	other threads:[~2011-09-23 18:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-23 16:18 new emacs24 settings (was: Re: Performance problems (CPU 100%) with NULs in files) Le Wang
2011-09-23 16:39 ` Drew Adams
2011-09-23 17:16 ` Eli Zaretskii
2011-09-23 17:44   ` Le Wang
2011-09-23 17:58     ` Eli Zaretskii
2011-09-23 18:32       ` Le Wang [this message]
2011-09-23 19:02         ` Eli Zaretskii
2011-09-24  0:51           ` Le Wang
2011-09-24  6:17             ` Eli Zaretskii
2011-09-24  7:20               ` Le Wang
2011-09-24 11:17                 ` Eli Zaretskii
2011-09-23 19:05       ` new emacs24 settings (was: Re: Performance problems (CPU 100%)with " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM=K+ip3zJ_296=BmgyEQ8R+fGomN8Usxd7FzPX7Y89_mGQZkQ@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.