From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: Skipping unexec via a big .elc file Date: Tue, 4 Apr 2017 04:08:06 -0400 Message-ID: <0D99B4FE-FEEF-4565-87D6-E230A05DEF3C@raeburn.org> References: <8A8DA980-13A7-4F8B-9D07-391728C673C9@raeburn.org> <831su4dmn4.fsf@gnu.org> <87h9300x5n.fsf@linux-m68k.org> <734D2132-71FD-414D-B091-629189742DB4@raeburn.org> <83a8889ede.fsf@gnu.org> <144D5F87-D876-485D-BAB3-2AA93627272A@raeburn.org> <83inmq53xk.fsf@gnu.org> <96D35768-314C-43F5-BD5E-B12187759DCA@raeburn.org> <123104DD-447F-4CDB-B3A0-CED80E3AC8C9@raeburn.org> <20170403165736.GA2851@acm> <2497A2D5-FDB1-47FF-AED3-FD4ABE2FE144@raeburn.org> <83lgrhpalq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1491293302 14344 195.159.176.226 (4 Apr 2017 08:08:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Apr 2017 08:08:22 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 04 10:08:16 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cvJVc-0002r7-Q3 for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 10:08:13 +0200 Original-Received: from localhost ([::1]:34408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvJVi-0007MO-Mz for ged-emacs-devel@m.gmane.org; Tue, 04 Apr 2017 04:08:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvJVc-0007MJ-IW for emacs-devel@gnu.org; Tue, 04 Apr 2017 04:08:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvJVZ-0007rj-Cg for emacs-devel@gnu.org; Tue, 04 Apr 2017 04:08:12 -0400 Original-Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:33924) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvJVZ-0007rR-8E for emacs-devel@gnu.org; Tue, 04 Apr 2017 04:08:09 -0400 Original-Received: by mail-qk0-x231.google.com with SMTP id d10so135360127qke.1 for ; Tue, 04 Apr 2017 01:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raeburn-org.20150623.gappssmtp.com; s=20150623; h=subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=s+NQA2Wi/qTTWzNF1zjPXpDco3uboUurOUPexfW7vCI=; b=biQpIhOd4L31f7IYgPMaP8WCan1KZC9fyjZYcEl6ONSJtqDAuq885rxY2cnhrNg5oj 2bu/XFZXpaGUDevYrEHEFLlhN4LYpKz8EpTUBV/rKghwKL/m9RoDVmskmAMJ+68hFg7F Jr7FX++4IlyNUFrLWBHkawglm26KKz3vCeY+9NOrSKsa454a3cZUVYLdcyMvf1o4mtsg eURBPKkrd9lhHPP+kiLNj41UGtJPI9D8iapbbpX4epq0rwKeMbhCoWYciET+hHqk1iXf rhO13PmB5r26SVKEuabeDG6jKkB8ux6JEvjm2KTjZk0ojIIER1uq/mXOOLvgq0yehOJJ +z5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=s+NQA2Wi/qTTWzNF1zjPXpDco3uboUurOUPexfW7vCI=; b=uR67jyu9YncQMmfFUHrVQBPfv4j1+uEy0o3+LYogVnClRYMwwYr2uZd9VGG7+t+GVq rdkJ6rvgI3WOiulITapCXcE3A0YZZoDC876PXLrpWsL7pJnbMmPQokHWH784/AD7anSF A7k7KurYU7AbRR5VOPh2f2qxDDt18agwSkCHe5Pf6+M5/RCZhzJL1bWqz0VkyxisGUou OavPEXLdZB+Xazz8kPPlT5L53P0w6+LsK38sxFtQMpGFCkZWTS7SloIPQuMfxgaU9uZA 9tXOiwp/BKnDWojYlWAHz+NPkY40aD20269vdNzlvMzxZdruvFEOd7yyNKCnUHEiX+TJ Dsug== X-Gm-Message-State: AFeK/H25A9nR2vxPWc9g38krR8RKOXcfHyE+MZQ5Dt5WMJZVezEnEb5ZidoilIpKhyiGIw== X-Received: by 10.55.17.84 with SMTP id b81mr13204289qkh.167.1491293288452; Tue, 04 Apr 2017 01:08:08 -0700 (PDT) Original-Received: from [192.168.23.52] (c-50-138-183-136.hsd1.ma.comcast.net. [50.138.183.136]) by smtp.gmail.com with ESMTPSA id k51sm11352291qtf.31.2017.04.04.01.08.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Apr 2017 01:08:07 -0700 (PDT) In-Reply-To: <83lgrhpalq.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213633 Archived-At: On Apr 3, 2017, at 15:14, Eli Zaretskii wrote: >> From: Ken Raeburn >> Date: Mon, 3 Apr 2017 14:35:16 -0400 >> Cc: emacs-devel@gnu.org >>=20 >> Despite a few little speed-ups, I=E2=80=99ve got my doubts as to = whether it=E2=80=99s going to be fast enough. >=20 > I published my preliminary timings in these 2 messages: >=20 > http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00923.html > http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00959.html Yes, I got some speedups, but I didn=E2=80=99t get it as fast as I was = hoping. Some of my changes since your second message above might=E2=80=99= ve improved the numbers a little, but some (like loading the doc = pointers at startup, and I think =E2=80=9Cuniquify=E2=80=9D is going to = need to be loaded at startup too because it attaches advice to = =E2=80=9Crename-buffer=E2=80=9D which we can=E2=80=99t save properly) = may slow it a little too. I was aiming for a startup time under a tenth of a second, and didn=E2=80=99= t get there, though there were a couple of additional things that could = be tried, with some effort. I=E2=80=99m not sure a startup time of = nearly a fifth of a second will feel for people. If they start Emacs = once as part of logging in, it probably won=E2=80=99t be an issue. If = they start it every time they want to edit a file, it may be annoying to = have the startup time increased by even 0.15s. Still, I suppose we can let people try it out, and find out what they = think. Then we can decide if it=E2=80=99s good enough, if further = speedup measures are worth exploring, or if it=E2=80=99s a dead end. Ken=