unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: vincent.belaiche@gmail.com (Vincent Belaïche)
Cc: 22519@debbugs.gnu.org
Subject: bug#22519: 25.1.50; Emacs gets stuck while doing incremental search forward
Date: Tue, 15 Mar 2016 20:11:53 +0200	[thread overview]
Message-ID: <83bn6fbogm.fsf@gnu.org> (raw)
In-Reply-To: <84a8lzzx8t.fsf@gmail.com> (vincent.belaiche@gmail.com)

> From: vincent.belaiche@gmail.com (Vincent Belaïche)
> Cc: Vincent Belaïche <vincent.belaiche@gmail.com> ,
>  22519@debbugs.gnu.org
> Date: Tue, 15 Mar 2016 14:28:18 +0100
> 
> Ok, I decided to make some test bench (herein attached).
> 
> I get the following interaction:
> 
>  $ ./emacs-bug22519.sh --fundamental no
> -| mode: normal
> -| latin-9=(0.588 5 0.031999999999999994)
> -| utf-8=(111.257 146 1.3299999999999979)
>  $ ./emacs-bug22519.sh --fundamental yes
> -| mode: fundamental
> -| latin-9=(0.209 0 0.0)
> -| utf-8=(95.442 129 1.121)
> 
> As you see, in normal mode utf-8 is 189 times slower than latin-9, and
> in fundamental mode, it is 456 times slower.

My results are in stark contrast to yours:

 . with the current emacs-25 branch, an unoptimized build:

    $ ./emacs-bug22519.sh --fundamental no
    mode: normal
    latin-9=(5.0 5 0.10899999999999999)
    utf-8=(10.14 13 0.44)
    $ ./emacs-bug22519.sh --fundamental yes
    mode: fundamental
    latin-9=(0.359 0 0.0)
    utf-8=(2.938 4 0.126)

 . with Emacs 25.0.92 pretest, compiled with -Og:

    $ ./emacs-bug22519.sh --fundamental no
    mode: normal
    latin-9=(0.64 5 0.046)
    utf-8=(1.953 13 0.156)
    $ ./emacs-bug22519.sh --fundamental yes
    mode: fundamental
    latin-9=(0.109 0 0.0)
    utf-8=(0.984 4 0.062)

So while there is some slowdown when showing these symbols (which
could be due to the need to load the necessary font), the slowdown is
nowhere as dramatic as on your system.

IOW, I still cannot reproduce the problem on my system.  I suspect
some issue with your font configuration, but that's just a guess.





  parent reply	other threads:[~2016-03-15 18:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <84vb4rhag0.fsf@gmail.com>
2016-03-12 17:46 ` bug#22519: 25.1.50; Emacs gets stuck while doing incremental search forward Eli Zaretskii
2016-03-13  7:11   ` Vincent Belaïche
2016-03-13  8:10     ` Vincent Belaïche
2016-03-13 16:19       ` Eli Zaretskii
2016-03-15 13:28         ` Vincent Belaïche
2016-03-15 15:53           ` Vincent Belaïche
2016-03-15 18:11           ` Eli Zaretskii [this message]
2016-03-16 11:16             ` Vincent Belaïche
2016-03-16 16:08               ` Eli Zaretskii
2016-03-16 17:40                 ` Vincent Belaïche
2016-03-16 20:24                   ` Eli Zaretskii
2016-03-17  9:14                     ` Vincent Belaïche
2016-03-17 16:20                       ` Eli Zaretskii
2016-05-24 10:16                         ` Vincent Belaïche
2016-05-24 15:31                           ` Eli Zaretskii
2016-12-07 19:41                             ` Glenn Morris
2016-02-01  9:04 Vincent Belaïche
2016-02-01 19:06 ` Eli Zaretskii
2016-02-02  7:18 ` Vincent Belaïche
2016-02-02 16:16   ` Eli Zaretskii
2016-03-10 12:18     ` Vincent Belaïche

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83bn6fbogm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22519@debbugs.gnu.org \
    --cc=vincent.belaiche@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).