unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Run `M-x list-input-methods` and then scroll down the screen in input method panel using the mouse or arrow key will cause Emacs unresponsive for about 1 minite.
Date: Sat, 19 Jun 2021 13:55:51 +0300	[thread overview]
Message-ID: <83sg1ew2bs.fsf@gnu.org> (raw)
In-Reply-To: <CAGP6POK7TokJWLHw_vEm9LXuEdOvRnw2PaxNu=vgXsOj844CLg@mail.gmail.com> (message from Hongyi Zhao on Sat, 19 Jun 2021 18:48:28 +0800)

> From: Hongyi Zhao <hongyi.zhao@gmail.com>
> Date: Sat, 19 Jun 2021 18:48:28 +0800
> Cc: emacs-devel@gnu.org
> 
> The slow self compiled git master version:
> 
> system-configuration:
> 
> "x86_64-pc-linux-gnu"
> 
> system-configuration-options:
> 
> "--without-m17n-flt"
> 
> 
> system-configuration-features:
> 
> "ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
> JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY
> INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
> TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB"
> 
> The fast prebuilt version shipped with the apt repo:
> 
> system-configuration:
> 
> "x86_64-pc-linux-gnu"
> 
> 
> system-configuration-options:
> 
> "--build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
> --libexecdir=/usr/lib --localstatedir=/var/lib
> --infodir=/usr/share/info --mandir=/usr/share/ma\
>     n --enable-libsystemd --with-pop=yes
> --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26\
>     .3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa
> --without-gconf --with-mailutils --build x86_64-linux-gnu
> --prefix=/usr --sharedstatedir=/var/lib --lib\
>     execdir=/usr/lib --localstatedir=/var/lib
> --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
> --with-pop=yes --enable-locallisppath=/etc/emacs:\
>     /usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp
> --with-sound=alsa --without-gco\
>     nf --with-mailutils --with-x=no --without-gsettings 'CFLAGS=-g -O2
> -fdebug-prefix-map=/build/emacs-mEZBk7/emacs-26.3+1=.
> -fstack-protector-strong -Wformat -Werro\
>     r=format-security -Wall' 'CPPFLAGS=-Wdate-time
> -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'"
> 
> 
> system-configuration-features:
> 
>  "JPEG SOUND GPM DBUS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 ZLIB XIM
> THREADS LIBSYS\
>     TEMD LCMS2"

The fast version is an optimized build, the slow one is unoptimized.
That explains at least part of the slowness.  The fast version also
doesn't include any text-shaping engine, which might speed up Emacs,
but prevents it from correctly displaying complex scripts.

What are the Emacs versions of the two builds?



  reply	other threads:[~2021-06-19 10:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-19  5:05 Run `M-x list-input-methods` and then scroll down the screen in input method panel using the mouse or arrow key will cause Emacs unresponsive for about 1 minite Hongyi Zhao
2021-06-19  6:13 ` Eli Zaretskii
     [not found]   ` <CAGP6PO+5QjiB4jkk1x-VZrhm-gUzEiv7dC_sJH_gi1cRzMGu2Q@mail.gmail.com>
2021-06-19  6:57     ` Eli Zaretskii
2021-06-19  7:16       ` Hongyi Zhao
2021-06-19  9:30         ` Eli Zaretskii
2021-06-19  9:47           ` Hongyi Zhao
2021-06-19 10:03             ` Eli Zaretskii
2021-06-19 10:16               ` Hongyi Zhao
2021-06-19 10:31                 ` Eli Zaretskii
2021-06-19 10:48                   ` Hongyi Zhao
2021-06-19 10:55                     ` Eli Zaretskii [this message]
2021-06-19 11:00                       ` Eli Zaretskii
2021-06-19 13:42                         ` Hongyi Zhao
2021-06-19 13:49                           ` Eli Zaretskii
2021-06-19 14:19                             ` Hongyi Zhao
2021-06-19 14:28                               ` Eli Zaretskii
2021-06-19 15:17                                 ` Hongyi Zhao

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=83sg1ew2bs.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=hongyi.zhao@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).