From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Darren Hoo Newsgroups: gmane.emacs.bugs Subject: bug#16594: 24.3.50; very slow redraw when resizing windows horizontally Date: Thu, 30 Jan 2014 16:01:42 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391069010 11261 80.91.229.3 (30 Jan 2014 08:03:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2014 08:03:30 +0000 (UTC) To: 16594@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 30 09:03:33 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 1W8maw-0000br-LM for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jan 2014 09:03:30 +0100 Original-Received: from localhost ([::1]:46890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8maq-0000fs-QE for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jan 2014 03:03:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mae-0000fe-2j for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:03:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8maU-0000kh-Ij for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:03:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8maU-0000kd-Fq for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W8maU-0000BU-0N for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Darren Hoo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jan 2014 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16594 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1391068942652 (code B ref -1); Thu, 30 Jan 2014 08:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jan 2014 08:02:22 +0000 Original-Received: from localhost ([127.0.0.1]:40814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8mZp-0000AR-Nl for submit@debbugs.gnu.org; Thu, 30 Jan 2014 03:02:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49652) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8mZn-0000AJ-L5 for submit@debbugs.gnu.org; Thu, 30 Jan 2014 03:02:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8mZe-0000cl-3Q for submit@debbugs.gnu.org; Thu, 30 Jan 2014 03:02:19 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mZe-0000ch-0N for submit@debbugs.gnu.org; Thu, 30 Jan 2014 03:02:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mZW-0000d9-Lr for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:02:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8mZP-0000Zv-Cg for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:02:02 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mZP-0000Zk-5I for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:01:55 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W8mZN-0008Da-KL for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 09:01:53 +0100 Original-Received: from 184.22.103.12 ([184.22.103.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jan 2014 09:01:53 +0100 Original-Received: from darren.hoo by 184.22.103.12 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jan 2014 09:01:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 81 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 184.22.103.12 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) Cancel-Lock: sha1:SMXgzWJLfUftxD9R9Zor2VCwGhk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:84245 Archived-At: emacs -q (scroll-bar-mode 'nil) C-x 3 then try to resize the windows using mouse several times and emacs redisplay is so slow that you can notice the fringes besides the drag handle is repainted from top to bottom frame by frame. profiling shows `read-event' takes much of the time, is this the real cause? - command-execute 207 98% - call-interactively 207 98% - mouse-drag-vertical-line 202 96% - mouse-drag-line 202 96% - eval 202 96% - track-mouse 202 96% - funcall 202 96% - # 202 96% - read-event 184 87% - redisplay_internal (C function) 1 0% eval 1 0% + profiler-report 5 2% - ... 2 0% Automatic GC 2 0% + redisplay_internal (C function) 1 0% In GNU Emacs 24.3.50.81 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2014-01-29 on darren-rmbp Repository revision: 116189 rudalics@gmx.at-20140128094537-ajntocd34vgsenh3 Configured using: `configure --with-ns' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ ? 1 ; 2 c ESC x r e p o r t TAB RET Recent messages: ("/Applications/Emacs.app/Contents/MacOS/Emacs") For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils xterm time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs)