From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex V. Koval Newsgroups: gmane.emacs.bugs Subject: bug#15295: python mode slow to unusable Date: Sat, 26 Oct 2013 12:16:56 +0300 Message-ID: <87y55gie7r.fsf@halogen-dg.com> References: <522A7797.4020903@codefu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382779099 19420 80.91.229.3 (26 Oct 2013 09:18:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Oct 2013 09:18:19 +0000 (UTC) To: 15295@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 26 11:18:22 2013 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 1Va00k-0005UG-Im for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Oct 2013 11:18:22 +0200 Original-Received: from localhost ([::1]:34019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va00j-0008Hu-V5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Oct 2013 05:18:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va00a-0008HW-Ck for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2013 05:18:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va00Q-0004TI-QS for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2013 05:18:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va00Q-0004TC-NV for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2013 05:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Va00Q-0005uV-9l for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2013 05:18:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <522A7797.4020903@codefu.org> Resent-From: Alex V. Koval Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Oct 2013 09:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15295 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15295-submit@debbugs.gnu.org id=B15295.138277902522644 (code B ref 15295); Sat, 26 Oct 2013 09:18:02 +0000 Original-Received: (at 15295) by debbugs.gnu.org; 26 Oct 2013 09:17:05 +0000 Original-Received: from localhost ([127.0.0.1]:44647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZzzV-0005t9-GC for submit@debbugs.gnu.org; Sat, 26 Oct 2013 05:17:05 -0400 Original-Received: from monitor1-valor.halogen.kharkov.ua ([195.24.253.71]:42004 helo=mail2.ua2web.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZzzT-0005sf-FS for 15295@debbugs.gnu.org; Sat, 26 Oct 2013 05:17:04 -0400 Original-Received: from [195.24.252.130] (helo=avk-br.local) by mail2.ua2web.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80.1) (envelope-from ) id 1VZzzQ-000795-8i for 15295@debbugs.gnu.org; Sat, 26 Oct 2013 12:17:00 +0300 User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-pc-linux-gnu) 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:79669 Archived-At: For me this is happen as well. Emacs, starting from version 24.3 became so slow in Python mode that I had to tell all developers at our company to use version 24.2 until I sorted this out. Sit today and started trying various emacs versions, and calling different functions. The suggested test case from original author above, runs with this benchmark: (7.3956507 53 1.8788885930000063) In fact, when I enable which-function-mode and just try to open one of our project files, it reads it 62 seconds. *Same* file opened with emacs 24.2 reads < 1second. Same thing happens when I try to call 'help-imenu' - 46 seconds. In emacs 24.2 - less then 1 second. I have this bug in version 24.3 and 'bzr' current: * Emacs branch: trunk * Revision: 114814 * Emacs version number: 24.3.50 Please tell me what additional information should I provide. Not very big expert in Lisp but may try to debug it more to detail. WBR, Alex