From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel 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 Message-ID: <83sg1ew2bs.fsf@gnu.org> References: <837diqxty3.fsf@gnu.org> <8335texrxf.fsf@gnu.org> <83wnqqw69t.fsf@gnu.org> <83v96aw4ql.fsf@gnu.org> <83tuluw3fn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15682"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Hongyi Zhao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 19 12:56:19 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luYeA-0003wG-JV for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 12:56:18 +0200 Original-Received: from localhost ([::1]:44438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luYe9-0000ox-Lw for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 06:56:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luYdc-0008UT-FP for emacs-devel@gnu.org; Sat, 19 Jun 2021 06:55:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33626) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luYdc-0005Rl-7v; Sat, 19 Jun 2021 06:55:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4182 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luYdb-00079S-F2; Sat, 19 Jun 2021 06:55:44 -0400 In-Reply-To: (message from Hongyi Zhao on Sat, 19 Jun 2021 18:48:28 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270940 Archived-At: > From: Hongyi Zhao > 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?