From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: fgallina@gnu.org (=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) Newsgroups: gmane.emacs.bugs Subject: bug#16875: python, comint-mode: Large output makes Emacs freeze Date: Sat, 26 Jul 2014 23:22:41 -0300 Message-ID: <871tt7levi.fsf@gnu.org> References: <530C60A7.1030009@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406427800 21403 80.91.229.3 (27 Jul 2014 02:23:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jul 2014 02:23:20 +0000 (UTC) To: 16875-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 27 04:23:14 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 1XBE7C-0007qa-7P for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Jul 2014 04:23:10 +0200 Original-Received: from localhost ([::1]:33637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBE7B-00055b-LF for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 22:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBE77-00054c-63 for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 22:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBE75-0002OF-CQ for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 22:23:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBE75-0002OB-9C for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 22:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XBE75-0004vb-00 for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 22:23:03 -0400 In-Reply-To: <530C60A7.1030009@easy-emacs.de> Resent-From: fgallina@gnu.org (=?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina) Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Jul 2014 02:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 16875 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 16875@debbugs.gnu.org, fgallina@gnu.org, andreas.roehler@easy-emacs.de Original-Received: via spool by 16875-done@debbugs.gnu.org id=D16875.140642776718911 (code D ref 16875); Sun, 27 Jul 2014 02:23:02 +0000 Original-Received: (at 16875-done) by debbugs.gnu.org; 27 Jul 2014 02:22:47 +0000 Original-Received: from localhost ([127.0.0.1]:39142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBE6p-0004uw-4l for submit@debbugs.gnu.org; Sat, 26 Jul 2014 22:22:47 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:48312 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBE6m-0004uo-K7 for 16875-done@debbugs.gnu.org; Sat, 26 Jul 2014 22:22:45 -0400 Original-Received: from 222-99-245-190.fibertel.com.ar ([190.245.99.222]:60618 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XBE6l-0007ME-Vo for 16875-done@debbugs.gnu.org; Sat, 26 Jul 2014 22:22:44 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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:91836 Archived-At: Fixed in revno 117582 in trunk 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]. Here's the current output for elp-results: comint-output-filter 206 3.542= 0630980 0.0171944810 python-pdbtrack-comint-output-filter-function 207 2.528= 3979559 0.0122144828 ansi-color-filter-apply 618 1.566= 2161150 0.0025343302 python-comint-postoutput-scroll-to-bottom 207 0.400= 739811 0.0019359411 comint-postoutput-scroll-to-bottom 1 0.365= 398304 0.365398304 recenter 1 0.365= 378877 0.365378877 python-shell-comint-end-of-output-p 412 0.055= 4427629 0.0001345698 python-shell-font-lock-comint-output-filter-function 207 0.032= 279105 0.0001559377 ansi-color-process-output 207 0.010= 7249640 5.181...e-05 ansi-color-apply-on-region 207 0.009= 8468030 4.756...e-05 comint-carriage-motion 206 0.001= 4299259 6.941...e-06 python-shell-font-lock-post-command-hook 3 0.000= 34127 0.0001137566 process-mark 828 0.000= 202256 2.442...e-07 process-kill-buffer-query-function 206 0.000= 1694799 8.227...e-07 comint-send-input 1 0.000= 149412 0.000149412 ansi-color--find-face 207 8.684= 8e-05 4.195...e-07 process-status 208 7.752= ...e-05 3.727...e-07 process-buffer 207 7.367= ...e-05 3.558...e-07 ansi-color-apply-overlay-face 207 6.695= ...e-05 3.234...e-07 python-util-text-properties-replace-name 1 4.839= 4e-05 4.8394e-05 comint-simple-send 1 3.887= 9e-05 3.8879e-05 python-shell-font-lock-cleanup-buffer 1 2.344= e-05 2.344e-05 comint-send-string 1 2.220= 1e-05 2.2201e-05 process-send-string 1 1.557= 1e-05 1.5571e-05 comint-add-to-input-history 1 1.282= 3e-05 1.2823e-05 comint-adjust-window-point 1 4.201= e-06 4.201e-06 comint-preinput-scroll-to-bottom 3 2.708= e-06 9.026...e-07 python-util-comint-last-prompt 6 2.490= ...e-06 4.150...e-07 comint-snapshot-last-prompt 2 2.462= e-06 1.231e-06 [0] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13675 Cheers, Fabi=C3=A1n