From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: david@adboyd.com (J. David Boyd) Newsgroups: gmane.emacs.help Subject: Re: Speeding up Emacs load time Date: Fri, 28 Jun 2013 10:00:35 -0400 Message-ID: References: <20130628032009.GA31464@hysteria.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372428074 30946 80.91.229.3 (28 Jun 2013 14:01:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2013 14:01:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 28 16:01:14 2013 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 1UsZEf-0000UN-KC for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2013 16:01:13 +0200 Original-Received: from localhost ([::1]:52325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZEf-0005KL-8E for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2013 10:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZET-0005KG-9Q for help-gnu-emacs@gnu.org; Fri, 28 Jun 2013 10:01:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsZEL-0003LX-Em for help-gnu-emacs@gnu.org; Fri, 28 Jun 2013 10:01:01 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsZEL-0003Kw-7I for help-gnu-emacs@gnu.org; Fri, 28 Jun 2013 10:00:53 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UsZEF-00005H-NW for help-gnu-emacs@gnu.org; Fri, 28 Jun 2013 16:00:47 +0200 Original-Received: from 169.15.137.27 ([169.15.137.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Jun 2013 16:00:47 +0200 Original-Received: from david by 169.15.137.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Jun 2013 16:00:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 169.15.137.27 User-Agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/24.3 (cygwin) Cancel-Lock: sha1:Vc9rMTDPiPVQLz8+lN5D8y0stSk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:91814 Archived-At: david@adboyd.com (J. David Boyd) writes: > Bob Proulx writes: > >> >> Timings from my system after much optimization. >> >> $ time emacs -f kill-emacs >> real 0m0.157s >> user 0m0.140s >> sys 0m0.012s >> $ time emacs -q -f kill-emacs >> real 0m0.137s >> user 0m0.116s >> sys 0m0.016s >> $ time emacs -Q -f kill-emacs >> real 0m0.051s >> user 0m0.028s >> sys 0m0.020s >> >> Bob > > > Here's mine at present. I'll have to work at it and see if I can approach > your times... > > > $ time emacs -f kill-emacs > > real 0m23.400s > user 0m7.199s > sys 0m9.500s > > $ time emacs -q -f kill-emacs > > real 0m1.710s > user 0m1.170s > sys 0m0.249s > > $ time emacs -Q -f kill-emacs > > real 0m1.680s > user 0m1.201s > sys 0m0.217s After some minor tweaking, I got it down to real 0m11.623s user 0m5.439s sys 0m4.451s I can live with that for a while. Getting it any faster would take a lot of tweaking that I don't have time for right now. Thanks for the thread. 11 seconds is much better than 24!