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#16875: python, comint-mode: Large output makes Emacs freeze Date: Tue, 29 Jul 2014 10:32:10 +0300 Message-ID: <834my0hb7p.fsf@gnu.org> References: <530C60A7.1030009@easy-emacs.de> <871tt7levi.fsf@gnu.org> <837g2zih33.fsf@gnu.org> <878und2mlu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1406619210 14626 80.91.229.3 (29 Jul 2014 07:33:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jul 2014 07:33:30 +0000 (UTC) Cc: 16875@debbugs.gnu.org To: fgallina@gnu.org (=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 29 09:33:21 2014 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 1XC1uQ-0006WE-GW for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jul 2014 09:33:18 +0200 Original-Received: from localhost ([::1]:44011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC1uQ-0006vL-4Z for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jul 2014 03:33:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC1uH-0006uO-3p for bug-gnu-emacs@gnu.org; Tue, 29 Jul 2014 03:33:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC1uA-00020R-VR for bug-gnu-emacs@gnu.org; Tue, 29 Jul 2014 03:33:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC1uA-00020H-Se for bug-gnu-emacs@gnu.org; Tue, 29 Jul 2014 03:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XC1uA-0006iR-3c for bug-gnu-emacs@gnu.org; Tue, 29 Jul 2014 03:33: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: Tue, 29 Jul 2014 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16875 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16875-submit@debbugs.gnu.org id=B16875.140661912925748 (code B ref 16875); Tue, 29 Jul 2014 07:33:02 +0000 Original-Received: (at 16875) by debbugs.gnu.org; 29 Jul 2014 07:32:09 +0000 Original-Received: from localhost ([127.0.0.1]:41580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XC1tF-0006hA-6J for submit@debbugs.gnu.org; Tue, 29 Jul 2014 03:32:08 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:34217) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XC1t9-0006gc-HI for 16875@debbugs.gnu.org; Tue, 29 Jul 2014 03:32:03 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N9G00800PYIJP00@mtaout27.012.net.il> for 16875@debbugs.gnu.org; Tue, 29 Jul 2014 10:27:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9G00NAZQ1F9MA0@mtaout27.012.net.il>; Tue, 29 Jul 2014 10:27:16 +0300 (IDT) In-reply-to: <878und2mlu.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91916 Archived-At: > From: fgallina@gnu.org (Fabián Ezequiel Gallina) > Cc: 16875@debbugs.gnu.org, andreas.roehler@easy-emacs.de > Date: Mon, 28 Jul 2014 18:35:09 -0300 > > Eli Zaretskii writes: > > >> From: fgallina@gnu.org (Fabián Ezequiel Gallina) > >> Date: Sat, 26 Jul 2014 23:22:41 -0300 > >> > >> > >> Emacs is still slow, but at least responds to commands. I feel that > >> everything that could be optimized on the comint side is pretty much > >> there and that the slowness being experienced is in fact related to the > >> long-lines slowness bug mentioned before[0]. > > > > That bug is about displaying long lines. Is the code that is slow > > involved in displaying such lines? If there's no display involved, > > then the discussion you point to is not relevant. > > > > Also, please tell how long are your lines, on the average. > > > > Yes, such code outputs a long line consisting of 841601 chars. In that case, yes, that's the "long line display slowness" problem. If you profile Emacs with 'profiler-start' and 'profiler-report', you should see that most of the time is spent in redisplay. > Operations seem to take longer and longer as point moves away from the > beginning of buffer. That's expected, although the time should level out after some number of lines.