From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.help Subject: Re: Emacs startup suddenly slower Date: Thu, 14 Sep 2017 08:26:34 +0530 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505357835 31866 195.159.176.226 (14 Sep 2017 02:57:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2017 02:57:15 +0000 (UTC) User-Agent: Gnus/5.130015 (Ma Gnus v0.15) Emacs/25.1 (windows-nt) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 14 04:57:12 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dsKL1-0008CR-WB for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Sep 2017 04:57:12 +0200 Original-Received: from localhost ([::1]:45479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsKL9-0005Rp-A9 for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Sep 2017 22:57:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsKKb-0005Rg-7d for help-gnu-emacs@gnu.org; Wed, 13 Sep 2017 22:56:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsKKY-0007VM-4w for help-gnu-emacs@gnu.org; Wed, 13 Sep 2017 22:56:45 -0400 Original-Received: from [195.159.176.226] (port=52626 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsKKX-0007Uj-Th for help-gnu-emacs@gnu.org; Wed, 13 Sep 2017 22:56:42 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dsKKO-0007Z8-F9 for help-gnu-emacs@gnu.org; Thu, 14 Sep 2017 04:56:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org User-Mail-Address: nsivaram.net@gmail.com Cancel-Lock: sha1:8p0a69wkRjhQzUHfYvaV2Hg01AU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:114274 Archived-At: On Wed, Sep 13 2017,John Mastro wrote: > Sivaram Neelakantan wrote: >> I was tinkering with my .Emacs file and I don't know what happened >> but my Emacs startup has shot up to 83 secs compared to 4 to 7 secs >> earlier as checked by M-x Emacs-init-time. This was done multiple >> times and time ranged from 45 to 85 secs > > Not sure if this is relevant to your case, but at my job I use a Windows > machine with an antivirus product from Trend Micro. The antivirus > program increases Emacs's startup time with my configuration from 5 > seconds to 60+ seconds - a huge increase. When profiled, almost all the > time is spent in `require' and `load'. [snipped 9 lines] This. I'm on Windows 10 and I just rebooted the machine and it went through a 45m patch update and now Emacs behaves correctly. I've got the startup back to 4 to 7 secs. Not tracked it down to antivirus issue though. Apparently, patches are downloaded and applied without any user notifications; so the sudden slowness is disconcerting when you know the changes you made were trivial and should not affect in any way. tldr: the infamous reboot and it goes away worked. Apologies for the noise. sivaram --