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: Fri, 7 Apr 2017 05:02:30 -0400 Message-ID: <968E8F50-92F6-43C7-B7E4-EE8378943087@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> <0D99B4FE-FEEF-4565-87D6-E230A05DEF3C@raeburn.org> <86lgrc4vob.fsf@molnjunk.nocrew.org> <834ly0oew1.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 1491555798 15918 195.159.176.226 (7 Apr 2017 09:03:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 09:03:18 +0000 (UTC) Cc: Lars Brinkhoff , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 07 11:03:14 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 1cwPnQ-00031k-19 for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 11:03:08 +0200 Original-Received: from localhost ([::1]:49602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwPnV-0006qq-Pi for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 05:03:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwPmw-0006qh-IC for emacs-devel@gnu.org; Fri, 07 Apr 2017 05:02:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwPmt-0000P2-GW for emacs-devel@gnu.org; Fri, 07 Apr 2017 05:02:38 -0400 Original-Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:36759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwPmt-0000Oh-Ab for emacs-devel@gnu.org; Fri, 07 Apr 2017 05:02:35 -0400 Original-Received: by mail-qk0-x244.google.com with SMTP id v75so9261244qkb.3 for ; Fri, 07 Apr 2017 02:02:33 -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=7X6/H1OLmwXJXkjjYu9Smo/LtY4Bg25F+zw87ETkBNo=; b=nBG0Usm1VOdrPDf9ZBKloQGOAdABKmoDN3WZTEoKygjPXT7wY0R0cS0HlUQoBZMxpc 3YaUAMl9uPwzAS64Xv4vfC4wR8TGj6d52DrTruJEs84cY992InMw5Skva6xRXkMB9Tys DVn9WKcK6rhu7lU80hdTz57ILkimwG/XKMg0iMkZo93X7EtMLyiw56RVLx2p6tUtzqu0 0WrixA5Zyv9OZs+auVWBAKozhtHDBtE5n1zCi66Z4qPMcGs4qTGnR6q0RyUKJllx/YVX E83OV7wdRuecZ9En9bfxhbg3S59o5vP/b8joZabWwpu4EqSFPdmDUE8VoQOY/pMN+/Tc H9lw== 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=7X6/H1OLmwXJXkjjYu9Smo/LtY4Bg25F+zw87ETkBNo=; b=JZ9NzBKb/ODlSnA7PGtXEJSD1b0Qib4o8/AIa3RAJMIlP5LxLcqTv8D5z5S4sRfhHq lMmJRVWeIWo/sM1RiKjLJUVWJpr2FgrQHtZV25rWyEomHvfjIZIsHP4ap+0DUDfz7UyV MIoDJ4R2sKKMH8PTe45c4Vsm8tRE9A0PpatyO5+zciio2bJtmCCGOKaEWo31oStJCEUQ NxH/FwZEOBZU0Too1AiiimQ3FGngC+wJXPAW7pmR1qBzZlYYWZHAaElgIRerUFVwMkhN JuNV1lgkLr2Btptsc6jv+tWig03DK2xp8KmlAsQfyiPMQmmM4AjMqgVwME59oJ/Ne98D pPqA== X-Gm-Message-State: AN3rC/6xB6RM4ikfobSOPz7EZPDtXVGBN1weyWMKNo/uHXwzDZOpr7Waae1e6TgnxnUUqw== X-Received: by 10.55.3.66 with SMTP id 63mr21323152qkd.194.1491555753249; Fri, 07 Apr 2017 02:02:33 -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 e55sm2652723qte.52.2017.04.07.02.02.31 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Apr 2017 02:02:32 -0700 (PDT) In-Reply-To: <834ly0oew1.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::244 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:213738 Archived-At: On Apr 7, 2017, at 03:28, Eli Zaretskii wrote: >> From: Lars Brinkhoff >> Date: Fri, 07 Apr 2017 07:46:12 +0200 >>=20 >> Ken Raeburn wrote: >>> I was aiming for a startup time under a tenth of a second, and = didn=E2=80=99t >>> 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. >>=20 >> Every invokation of async-start launches a new emacs subprocess, = doesn't >> it? So startup time would also affect uses of async.el. >=20 > Perhaps we could have a separate, much smaller dumped.elc for batch > invocations, to cater to these use cases. Ken, does this make sense? We could do it, sure. For example, stuff relating to window systems = probably isn=E2=80=99t of much use in batch mode. One question is, do = we change such things to use autoload in case the user=E2=80=99s init = file references their functions, or do we require that the user know to = use =E2=80=9Cload=E2=80=9D or =E2=80=9Crequire=E2=80=9D? Maybe we can find file currently loaded that we could change over to = autoloading in all cases, improving the interactive startup time too? Ken=