From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GI7ZOR+Pr2EPaAAAgWs5BA (envelope-from ) for ; Tue, 07 Dec 2021 17:43:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OGOdNR+Pr2EhcwAA1q6Kng (envelope-from ) for ; Tue, 07 Dec 2021 16:43:11 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ADA472A1AE for ; Tue, 7 Dec 2021 17:43:11 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 437DB29294; Tue, 7 Dec 2021 11:43:05 -0500 (EST) X-Greylist: delayed 303 seconds by postgrey-1.36 at nmbug; Tue, 07 Dec 2021 03:43:22 EST Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5F0742921F for ; Tue, 7 Dec 2021 03:43:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1638866601; bh=r6GBHbnvRYjKW/Bvq4ZF3zfkJnvwcq9x6snMutZykm0=; h=X-UI-Sender-Class:From:To:Subject:Date; b=De/R6FBh3AF+jFbyIertlQgVSowOmh5twwkIJF601usby0QYEoC2/YN/iyPw6yv9B FV/IkNTAX43R16Y2aCP9AQbyvO4B7+B3Y2baAxao1ls704j+kHt1dGdb0sDFgcPOT8 IgKQEMB2gnpk11mD8JK+SeN8YyXcrgvDj5XJ7i/A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost ([89.247.252.113]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MRmjq-1n0f233uhu-00TCEY for ; Tue, 07 Dec 2021 09:38:18 +0100 From: Rainer Gemulla To: notmuch@notmuchmail.org Subject: notmuch-show-mode: slowdown due to redisplay Date: Tue, 07 Dec 2021 09:38:01 +0100 Message-ID: <878rww7qty.fsf@macho> MIME-Version: 1.0 X-Provags-ID: V03:K1:09qxxPC7Nx/3MCf7YNnD3ulJx0JeeIyco2K81JknSvHcLqixc1i 65eEOrzi3qDjiKTvs4TdnGIwhofTOkZLHzZxBWznGUFZYlFis2+PJ/yi2+a/aLOlaMGTFFl KpaAV5/nt4fXYQi9i9hk5328HSS482dzkmKdLumwkL8xO2e1xI1/LM0DkbI3WYelRmP1AmJ wk80xhV251W1LBPbgEvug== X-UI-Out-Filterresults: notjunk:1;V03:K0:PGJ+d5XztHw=:sQ0PGV5roobi5GNx43p3lg SJwnS3LeIw4A7hfkjExPyEy23QqYy5P4m3Q585ncEbfjRuyBF6yhdBnw7fzDa6s0YLm9qt0Ap STMkfmXpmFxOJbHw/51v4/Uj4S/18btejbekQ6W/eVsI6p5DhfpacFebi3wMnnMrqOuyqMA8h um1bc55ySnrxnjGlJ2ieInoYlLGUUFPQZqGwlmOwURzYohpGAndjbSrBtk3O1S2+6GqmKA6Qp Iyl1PmLquhkxI8/5GhTOU1KYgI8oTpeEal2M0c8bL1cDfSrXz5axooVEXdDHPZkFz3BQ2Kbwg sZPZbDLaiQZGngVnq/r9ceccVs/JGlbZjPB7andqD6B3FhTpiYZslf9DN+l6pid69HjEYblSm dZf+HX9E6RQ9f7QYS4d1OwoMFkHlYWXeXsPnsLACL7jMI/oz51tHbNljgOp3itb56EY3p8L7x W8swvrdtex8VB2myHwvIm1OO8VqBIg5pCcswzsuIK+JyWYQabcLrAIxPXLsGB59kUtTX/dLie WBDoJ//SyRAAkjrD9kx1lyTCPEhkcBmCSzYrLB4+UL27QYbupnB52Z79h1ZY8GTFqUQcVBvsp Yh1WB+VuDZ5j9NPuAIG3b/6O463xiJVUg4JwV/JI0A1MHJvqaoPTRl4M8PHHlCjEyuM17aM2G 7J6u2gDWl3OObTNEQLW24NYAiVUANiqaqktgAo0wk9fnC/5adUZTWtnJf2QHwSm/PE5ZJJQTQ b7Lp3oXQg5O0N9niUx9cCYAgrjkvZ/5q+5PLB17BJcgc5hTwUD9T0fLR4YQGjf9YnpLS3B2+L TJc9C5itKO2CyXYAqyEf0jhLWZO+DPRe1AxxYZpYW+qCiblCtmb2YlmOx4eehKkNa2+Y8I/dx 3oAvr7q7eOeJM/8wGc6k/Q54mq23O17TF2ETISIQ0LiCrsq/vhMNSKRI83zOi6PVHT2orv2MP ZNL7UpsTCgUp9lWohNrd7pTF8Qd5wH5nMSWlmTIEe/NCSee3v45IJ0FSbt4qs5YN3SVSXvJ0+ b7Q/GtVHxnhVl22OmPFbqPxOAa86fNu+btQqRdxCzirEAcB6BnZc/DtYD9m0QRselQ== X-MailFrom: hqn1@gmx.de X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: DQG52ASNCWRAMJEUSCWPPV3G6Z6XJHGX X-Message-ID-Hash: DQG52ASNCWRAMJEUSCWPPV3G6Z6XJHGX X-Mailman-Approved-At: Tue, 07 Dec 2021 11:43:03 -0500 X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: FR ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638895391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=e2Lx17Gsb7BTlkOTNi2/rLFR0e5uSCjXzwp4Ci/4jSU=; b=OGnGii5zv7S09vKfkgyiJQJ7sgeqSGXNoq4QLjZQzG//jIOEYPppv6gvrF8oyjSb5OCAgp Xuofj+0irZHoHgaK4RxP7UxFpkT5RnYm0s0REG1tFnUb/WIGpaFpWu4KYCqptyfFztbCHo Rv6y7YNuJoGL6mh0jJS1a5gYu8K4sliJeLj8eTSQTdmwuAWPCeL6/Ge15bBwnoskZlAx4g wqoljQVDjm+habbzK8zu7WUlLp9Uos/lPWbkCSLDyA9Q0hoIdNzJs+PrL/O4EZHvq/POz+ GeOBP3BXCAuZ2kXI3ysxaJngEA84JP/S5we5Mn8z9lJebDxXwYZNAx2cWqDRrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638895391; a=rsa-sha256; cv=none; b=e9CATgmM/mu5UHROp+ke9fLxLgMYhXz5wnIsEYnmY0Tg1vUoEV+6v5kMkyZRVOtfign/gK RJ30EpbL4jPiUpGkmPVnzIZTPTf6xMkCqrUbK908C0IcR+uvWTSTIL8DEniZLjFTvQ5h/p ZujX/m7d8+RPZue/5rf0G0tApoTPfooVx2nZiocMbU6DV2UfUmNF309nQd0RfBGUqbT0br OJ26Yyfs2kUEzTRWkUWUPmQMt3i73oQ3mDfYUgX/jGHNSAQJgiqWUs9f9aMoBejrmUtxhJ fmWUUJkANnxYE+vYAaZi+K+KMMKSxAiE7sQ8YfDhvtY2wHG7qSXPX9j68sN9ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmx.net header.s=badeba3b8450 header.b="De/R6FBh"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.de (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmx.net header.s=badeba3b8450 header.b="De/R6FBh"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.de (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: ADA472A1AE X-Spam-Score: -0.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: QzwY/ELN9XE6 Navigating certain messages (e.g., with many attachments or images) may become very slow in notmuch-show-mode. I see this rarely, but when it happens, it takes >1s to simply move the point so that the buffer is barely usable. The CPU profiler shows that notmuch-show-command-hook calls redisplay and that's that all where the time goes. Not sure if anything can be done about this.