From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: Emacs Slowdown Date: Thu, 12 Mar 2015 11:36:43 +0000 Message-ID: <87lhj2qwfo.fsf@newcastle.ac.uk> References: <87pp8i75nk.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426160237 694 80.91.229.3 (12 Mar 2015 11:37:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2015 11:37:17 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 12 12:37:11 2015 Return-path: Envelope-to: geh-help-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 1YW1QL-0008Tl-L2 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Mar 2015 12:37:09 +0100 Original-Received: from localhost ([::1]:59344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW1QK-0001c0-Mp for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Mar 2015 07:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW1Q7-0001YV-Gp for help-gnu-emacs@gnu.org; Thu, 12 Mar 2015 07:36:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YW1Q3-0001uJ-HY for help-gnu-emacs@gnu.org; Thu, 12 Mar 2015 07:36:55 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:47248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW1Q3-0001st-Bl for help-gnu-emacs@gnu.org; Thu, 12 Mar 2015 07:36:51 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1YW1Pv-0005PI-Fx for help-gnu-emacs@gnu.org; Thu, 12 Mar 2015 11:36:43 +0000 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YW1Pv-0002RS-Rz for help-gnu-emacs@gnu.org; Thu, 12 Mar 2015 11:36:43 +0000 In-Reply-To: <87pp8i75nk.fsf@newcastle.ac.uk> (Phillip Lord's message of "Mon, 9 Mar 2015 11:48:47 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103111 Archived-At: Phillip Lord writes: > - command-execute 3996 73% > - call-interactively 3996 73% > - apply 3996 73% > - ad-Advice-call-interactively 3996 73% > - # 3993 73% > - ido-find-file 2231 40% > - ido-file-internal 2231 40% > - ido-read-internal 2181 39% > - apply 2181 39% > - ad-Advice-ido-read-internal 2181 39% > + # Okay, I think that I have chased down the issue here (at least to a first approximation. This bit of trace above was what was confusing me, as I couldn't see why there were so many calls to ido-find-file, or the time taken in ad-Advice-call-interactively. Actually most of this seems to be coming from ido-ubiquitous.el which advinces call-interactively. Certainly the problem goes away without ido-ubiquitous. I haven't worked out yet whether there is a specific problem with ubiquitous yet, or whether it really is leaking memory. Or whether, it's just the nature of the beast. Phil