From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39598: 26.3; Emacs is extremely unresponsive on a trivial python file Date: Fri, 14 Feb 2020 18:17:32 +0200 Message-ID: <83v9o9nnxf.fsf@gnu.org> References: <831rqxp9z5.fsf@gnu.org> <83zhdlnuqe.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="19829"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39598@debbugs.gnu.org To: Ivan Oreshnikov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 14 17:18: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 1j2dfP-00052l-6e for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Feb 2020 17:18:11 +0100 Original-Received: from localhost ([::1]:41028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2dfO-00009g-2a for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Feb 2020 11:18:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58291) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2dfH-00009Z-A6 for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2020 11:18:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2dfG-0001P4-Cp for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2020 11:18:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2dfG-0001Ow-A7 for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2020 11:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2dfG-0003xG-6s for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2020 11:18: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: Fri, 14 Feb 2020 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39598 X-GNU-PR-Package: emacs Original-Received: via spool by 39598-submit@debbugs.gnu.org id=B39598.158169705415167 (code B ref 39598); Fri, 14 Feb 2020 16:18:02 +0000 Original-Received: (at 39598) by debbugs.gnu.org; 14 Feb 2020 16:17:34 +0000 Original-Received: from localhost ([127.0.0.1]:34565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2deo-0003wZ-HN for submit@debbugs.gnu.org; Fri, 14 Feb 2020 11:17:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2dem-0003wN-IV for 39598@debbugs.gnu.org; Fri, 14 Feb 2020 11:17:33 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2deh-0000ql-Fg; Fri, 14 Feb 2020 11:17:27 -0500 Original-Received: from [176.228.60.248] (port=1556 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2deg-0007fA-Sc; Fri, 14 Feb 2020 11:17:27 -0500 In-reply-to: (message from Ivan Oreshnikov on Fri, 14 Feb 2020 17:08:19 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176060 Archived-At: > From: Ivan Oreshnikov > Date: Fri, 14 Feb 2020 17:08:19 +0100 > Cc: 39598@debbugs.gnu.org > > Sorry, didn't notice your first message (didn't expect such a quick response :). > > Yes, my profile is very similar to yours: It is. Looks like python-nav--forward-sexp is indeed the main culprit. To narrow this down even more, I suggest to load python.el (not .elc!) manually into a new Emacs session, then repeat the experiment, and show the profile below python-nav--forward-sexp. This might point out the part of that function that takes the lion's share of the run time. Thanks.