From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nick OBrien via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69246: 30.0.50; persistent key input delay after using vc commands in pgtk Date: Sun, 18 Feb 2024 20:36:46 +0000 Message-ID: References: <86ttm5r3ud.fsf@gnu.org> <86msrxr2l0.fsf@gnu.org> Reply-To: Nick OBrien Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69246@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 18 23:05:01 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rbpHR-0007gR-EU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Feb 2024 23:05:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbpHG-0000q9-7f; Sun, 18 Feb 2024 17:04:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbpH7-0000p5-P6 for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2024 17:04:44 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbpH7-0000Nb-Gu for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2024 17:04:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbpHR-0005Y0-Oi for bug-gnu-emacs@gnu.org; Sun, 18 Feb 2024 17:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nick OBrien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Feb 2024 22:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69246 X-GNU-PR-Package: emacs Original-Received: via spool by 69246-submit@debbugs.gnu.org id=B69246.170829386021263 (code B ref 69246); Sun, 18 Feb 2024 22:05:01 +0000 Original-Received: (at 69246) by debbugs.gnu.org; 18 Feb 2024 22:04:20 +0000 Original-Received: from localhost ([127.0.0.1]:39818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbpGk-0005Wk-NN for submit@debbugs.gnu.org; Sun, 18 Feb 2024 17:04:20 -0500 Original-Received: from mail-40138.protonmail.ch ([185.70.40.138]:34299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbnup-0007cX-9n for 69246@debbugs.gnu.org; Sun, 18 Feb 2024 15:37:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1708288628; x=1708547828; bh=heWnaGtKJlOl7UVE74Hhuxpa7WLdcw/fffXWlfFbxaM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=R6PiCHWFlGDihTL7k8sbxGW+TiTMlnGGK6hDjN2VujVsRrKAB7Qm/3NnQ+OxDvfoC 1UqY/wwksndVb0+qo6zcLuiioR6b84Ux9VeMlExSDLGsPCuNfGw3N7reDyeU5G4REP IOziK5YZQYcN9hqFvtlF6HmV3XD86TKGi7EnXJGb5oAI8/l2ibK0PtENJ9bwXOfzsj qY1zvsvY3A4iek9hvtLHHC2YGAqKUMbnJ3Ez3kSYWEjMGQP6nnfsFri4+LBSZnKf/q GpnqC9bxQsPSZhqvzFW677CP+MjTIdAlDQGLMkYExY1HY2fW/1o3FAD3VXJ34HBOiC EnuBAUCTwhiag== In-Reply-To: <86msrxr2l0.fsf@gnu.org> Feedback-ID: 53815645:user:proton X-Mailman-Approved-At: Sun, 18 Feb 2024 17:04:16 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280219 Archived-At: I ran the profiler twice: once before the input lag started, and once after= . Each time, I ran M-x profiler-start RET RET, repeated C-f C-b for roughly 2= 0 seconds, then ran M-x profiler-stop and M-x profiler-report. In the foo buffer before running vc-annotate (no noticeable input delay): 44 63% - command-execute 44 63% - byte-code 44 63% - read-extended-command 44 63% - read-extended-command-1 44 63% - completing-read-default 13 18% redisplay_internal (C function) 24 34% redisplay_internal (C function) 1 1% - undo-auto--add-boundary 1 1% undo-auto--boundaries 0 0% ... In the foo buffer after running vc-annotate, pressing p p n n, and killing = the vc-annotate buffer (noticeable input delay): 43 72% - command-execute 42 71% - byte-code 42 71% - read-extended-command 42 71% - read-extended-command-1 42 71% - completing-read-default 4 6% redisplay_internal (C function) 2 3% - command-execute 2 3% interactive-form 1 1% - funcall-interactively 1 1% execute-extended-command 13 22% redisplay_internal (C function) 3 5% - timer-event-handler 3 5% - apply 2 3% - show-paren-function 1 1% show-paren--default 1 1% - # 1 1% jit-lock-context-fontify 0 0% ... I was able to reproduce the lag on another computer running the same OS (Ni= xOS) and desktop environment (GNOME with Wayland). I can try to reproduce it wit= h another linux distribution if that would help. On Sunday, February 18th, 2024 at 1:31 PM, Eli Zaretskii wro= te: > Then I suggest to run "M-x profiler-start RET RET", press several keys > that responds with delay, then "M-x profiler-report RET", and post the > full profile after fully expanding it. That could tell us what is > getting in the way. >=20 > FWIW, I tried to reproduce this on my system, but didn't see any > delays.