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: Sun, 02 Feb 2014 13:28:54 +0800 Message-ID: References: <52EC8F46.2050603@cs.ucla.edu> <83sis24tfv.fsf@gnu.org> <52ED96C8.90506@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391319012 16223 80.91.229.3 (2 Feb 2014 05:30:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2014 05:30:12 +0000 (UTC) Cc: 16594@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 02 06:30:19 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 1W9pdK-0008IM-HP for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Feb 2014 06:30:18 +0100 Original-Received: from localhost ([::1]:40407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9pdJ-0007hq-VC for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Feb 2014 00:30:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9pdA-0007hS-UP for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 00:30:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9pd5-0004HX-3e for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 00:30:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9pd5-0004H1-0I for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 00:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W9pd4-00065b-BS for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 00:30: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: Sun, 02 Feb 2014 05:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16594 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16594-submit@debbugs.gnu.org id=B16594.139131894923312 (code B ref 16594); Sun, 02 Feb 2014 05:30:02 +0000 Original-Received: (at 16594) by debbugs.gnu.org; 2 Feb 2014 05:29:09 +0000 Original-Received: from localhost ([127.0.0.1]:45594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9pcD-00063v-6Y for submit@debbugs.gnu.org; Sun, 02 Feb 2014 00:29:09 -0500 Original-Received: from mail-pa0-f49.google.com ([209.85.220.49]:53018) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9pcA-00063n-Vl for 16594@debbugs.gnu.org; Sun, 02 Feb 2014 00:29:07 -0500 Original-Received: by mail-pa0-f49.google.com with SMTP id hz1so5924870pad.36 for <16594@debbugs.gnu.org>; Sat, 01 Feb 2014 21:29:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=v9voaeGBwrOdRIklo0jxTr//gmWR5xdtQXWksaxwpdQ=; b=SsKf31rjDK7Auo1kv5QOhFrP/ICNrfRSguJFLx4lC4IWuzfVFzOjc7AEtlhG45M+hq NEi/qx+VqtANqB/tbPWqoV0a/o3UPTEVNGWatj4RLWT5j45BlI9+E2DPheKrnbe4z/dY S7lPLuVk+0P6PEAHkfNm+3Eq8WPiUZDNXMmzDtPpW7+z7p5iHGBBUMpsY7nSkFsC+J44 pzbJSDCQ6J5YDVTe9HqKj5hBfKc5G/EIpafOVWvh69vsaV9q/CaKP5Xor+f4S98WNWUR 6VFcwIRFXumEk70O8Qq6mU9EQ9NzwQleBn6p8CvxB84dLLdu0QmuAfPnGJDcOFDdf9Hs ehOQ== X-Received: by 10.68.0.35 with SMTP id 3mr29837415pbb.52.1391318945679; Sat, 01 Feb 2014 21:29:05 -0800 (PST) Original-Received: from darren-rmbp ([111.196.173.46]) by mx.google.com with ESMTPSA id nw11sm110187856pab.13.2014.02.01.21.29.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Feb 2014 21:29:04 -0800 (PST) In-Reply-To: <52ED96C8.90506@cs.ucla.edu> (Paul Eggert's message of "Sat, 01 Feb 2014 16:52:24 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) 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:84442 Archived-At: Paul Eggert writes: > > Continuing on my guess, which may well be a wild goose chase, can you > use DTrace to see what system calls the offending Emacs is executing? I earlier used Xcode's instrument which I believe just interprets the output from Dtrace/Dtruss. This argb32_image_mark_rgb32 low level call is the top one which is in turn called by x_write_glyphs up on the call tree. But as Eli has pointed out and I quote: Given that dragging the divider involves redrawing every line in every window, these times are entirely reasonable. So it seems to me that this information I gave earlier is just misleading. > I'm curious about how often timers are expiring during the > misbehavior, and even if I'm wrong DTrace is often your friend for > this sort of problem. How can I get this timers expiring info by using Dtrace? A recipe to do that is appreciated.