From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20611: 24.4; mutt slow in ansi-term Date: Tue, 12 Apr 2016 18:27:44 +0300 Message-ID: <83lh4ig83z.fsf@gnu.org> References: <87a8x1roby.fsf@apollo.hindleynet> <8737qwvuo3.fsf@mbork.pl> <20160409073937.GH1897@hindley.org.uk> <83mvp3i0l1.fsf@gnu.org> <20160410091526.GA25798@hindley.org.uk> <83d1pxgzy6.fsf@gnu.org> <87fuut2jfy.fsf@gmail.com> <83y48kf838.fsf@gnu.org> <87shyrntpm.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460474981 14739 80.91.229.3 (12 Apr 2016 15:29:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 15:29:41 +0000 (UTC) Cc: mark@hindley.org.uk, mbork@mbork.pl, 20611@debbugs.gnu.org To: Alexis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 12 17:29:32 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aq0Fv-00048q-56 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Apr 2016 17:29:31 +0200 Original-Received: from localhost ([::1]:51961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq0Fu-0005Xu-Kj for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Apr 2016 11:29:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq0FW-0004oH-6K for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2016 11:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq0FR-0002dc-WB for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2016 11:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq0FR-0002dW-SM for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2016 11:29:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aq0FR-0008VY-OI for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2016 11:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Apr 2016 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20611-submit@debbugs.gnu.org id=B20611.146047491132667 (code B ref 20611); Tue, 12 Apr 2016 15:29:01 +0000 Original-Received: (at 20611) by debbugs.gnu.org; 12 Apr 2016 15:28:31 +0000 Original-Received: from localhost ([127.0.0.1]:32952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aq0Ex-0008Up-Lu for submit@debbugs.gnu.org; Tue, 12 Apr 2016 11:28:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aq0Ex-0008Uc-1s for 20611@debbugs.gnu.org; Tue, 12 Apr 2016 11:28:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq0Eq-0002TS-J5 for 20611@debbugs.gnu.org; Tue, 12 Apr 2016 11:28:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq0Eg-0002SA-Dn; Tue, 12 Apr 2016 11:28:14 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1930 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aq0Ef-0006ja-LL; Tue, 12 Apr 2016 11:28:14 -0400 In-reply-to: <87shyrntpm.fsf@gmail.com> (message from Alexis on Tue, 12 Apr 2016 17:59:17 +1000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116411 Archived-At: > From: Alexis > Cc: mark@hindley.org.uk, 20611@debbugs.gnu.org, mbork@mbork.pl > Date: Tue, 12 Apr 2016 17:59:17 +1000 > > i wasn't sure which version of 23 i should try, so i downloaded > both 23.1 and 23.4. I don't think it matters. > `configure' for 23.4 required me to call `configure' with the > option "--with-crt-dir=/usr/lib/x86_64-linux-gnu". Compilation was > then successful. This version showed no lag at all. So you, too, see a slowdown. > > Also, were v24.5 and the current master compiled with the same > > compilation options, and similar to Emacs 23? > > Not according to the following, no. Having said that, i've not > manually made any modifications to the configuration in the > tarballs, or on master. Actually, the options that could affect performance are identical, AFAICT, thanks. > > Thanks. I reviewed all the functions that are high on the > > profile (term-goto seems to be the main culprit), and didn't see > > any significant changes in them since Emacs 23. Some of them > > were not changed at all. So I'm puzzled how can Emacs 24 and > > Emacs 25 be significantly slower only in term.el. > > Fair enough. One observation, though: the OP and i are both > running Debian Jessie. If in Emacs 24 or 25 you set bidi-display-reordering to nil in the *ansi-term* buffer, do you see any significant speedup? Another thing to try is load term.el from Emacs 23 into Emacs 24 or 25, and see if that results in any speedup. Thanks.