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: Mon, 11 Apr 2016 19:01:15 +0300 Message-ID: <83y48kf838.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460390608 8757 80.91.229.3 (11 Apr 2016 16:03:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2016 16:03:28 +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 Mon Apr 11 18:03:16 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 1apeJ1-00068H-Dr for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Apr 2016 18:03:15 +0200 Original-Received: from localhost ([::1]:57733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apeJ0-0005WI-O2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Apr 2016 12:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apeIs-0005Q8-CM for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2016 12:03:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apeIo-0002Sj-A5 for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2016 12:03:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apeIo-0002Sf-7M for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2016 12:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1apeIo-0001eJ-1U for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2016 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Apr 2016 16:03: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.14603905296269 (code B ref 20611); Mon, 11 Apr 2016 16:03:01 +0000 Original-Received: (at 20611) by debbugs.gnu.org; 11 Apr 2016 16:02:09 +0000 Original-Received: from localhost ([127.0.0.1]:59629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apeHx-0001d2-59 for submit@debbugs.gnu.org; Mon, 11 Apr 2016 12:02:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apeHw-0001cr-8P for 20611@debbugs.gnu.org; Mon, 11 Apr 2016 12:02:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apeHn-00023y-8E for 20611@debbugs.gnu.org; Mon, 11 Apr 2016 12:02:03 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apeHb-00020h-IH; Mon, 11 Apr 2016 12:01:47 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1034 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1apeHa-0003g0-Mg; Mon, 11 Apr 2016 12:01:47 -0400 In-reply-to: <87fuut2jfy.fsf@gmail.com> (message from Alexis on Mon, 11 Apr 2016 08:22:09 +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:116383 Archived-At: > From: Alexis > Cc: Mark Hindley , 20611@debbugs.gnu.org, mbork@mbork.pl > Date: Mon, 11 Apr 2016 08:22:09 +1000 > > Context: Debian Jessie x86_64 / i5-2410M. > > i also observe noticeable lag in the above situation, on both on > 24.5 and on master as at d6ea6453. The lag is worse on the latter > than the former. Do you also see that Emacs 23 is significantly faster? Also, were v24.5 and the current master compiled with the same compilation options, and similar to Emacs 23? > Running the profiler on master: > > #+BEGIN > - term-emulate-terminal > 4233 91% > - term-handle-ansi-escape > 4065 87% > - term-goto > 3965 85% > - term-down > 970 20% > - vertical-motion 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. Ideas and suggestions are welcome.