From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44610: 27.1; Keyboard Macro Performance Problem Date: Sat, 14 Nov 2020 18:24:48 +0200 Message-ID: <83a6vjvrcf.fsf@gnu.org> References: <87d00irmu7.fsf@robertthorpeconsulting.com> <83pn4gui95.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6459"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rt@robertthorpeconsulting.com, 44610@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 14 17:26:11 2020 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 1kdyNP-0001Z3-A1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Nov 2020 17:26:11 +0100 Original-Received: from localhost ([::1]:35424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdyNO-0007Q6-Cg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Nov 2020 11:26:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdyNH-0007Pq-5l for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 11:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdyNG-0007sb-Sc for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 11:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdyNG-0007Kf-PW for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 11:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Nov 2020 16:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44610 X-GNU-PR-Package: emacs Original-Received: via spool by 44610-submit@debbugs.gnu.org id=B44610.160537111028084 (code B ref 44610); Sat, 14 Nov 2020 16:26:02 +0000 Original-Received: (at 44610) by debbugs.gnu.org; 14 Nov 2020 16:25:10 +0000 Original-Received: from localhost ([127.0.0.1]:51737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyMQ-0007Iu-0B for submit@debbugs.gnu.org; Sat, 14 Nov 2020 11:25:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdyMN-0007IV-D3 for 44610@debbugs.gnu.org; Sat, 14 Nov 2020 11:25:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57014) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdyMH-0007Lp-G6; Sat, 14 Nov 2020 11:25:01 -0500 Original-Received: from [176.228.60.248] (port=1326 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kdyMG-0003Xz-Rt; Sat, 14 Nov 2020 11:25:01 -0500 In-Reply-To: (message from Jean Louis on Sat, 14 Nov 2020 19:03:11 +0300) 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" Xref: news.gmane.io gmane.emacs.bugs:193298 Archived-At: > Date: Sat, 14 Nov 2020 19:03:11 +0300 > From: Jean Louis > Cc: Robert Thorpe , > 44610@debbugs.gnu.org > > I am not the initial reporter. I have tested it in python-mode in > plain emacs -Q with the latest development version: > > - command-execute 20,601,881 99% > - call-interactively 20,601,881 99% > - funcall-interactively 19,934,160 96% > - kmacro-end-or-call-macro 15,337,767 74% > - kmacro-call-macro 15,337,767 74% > - call-last-kbd-macro 15,242,727 73% > - command-execute 15,102,838 73% > - call-interactively 15,021,006 72% > - funcall-interactively 14,985,294 72% > - next-line 13,970,433 67% > - line-move 13,968,321 67% > - line-move-visual 12,842,225 62% > - vertical-motion 9,925,619 48% > - jit-lock-function 9,925,619 48% > - jit-lock-fontify-now 9,925,619 48% > - jit-lock--run-functions 7,165,300 34% > - run-hook-wrapped 7,157,012 34% > - # 7,157,012 34% > - font-lock-fontify-region 7,157,012 34% > - font-lock-default-fontify-region 7,153,844 34% > - font-lock-fontify-keywords-region 5,169,903 25% Thanks, this seems to indicate that the mode's fontifications take the lion's share of the time. Which explains why Fundamental mode doesn't suffer from this problem.