From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fwd: emacs empty startup time increased from v 27.1 to 29.0 by factor 3? Date: Sat, 28 Jan 2023 14:22:07 +0200 Message-ID: <83mt62alxs.fsf@gnu.org> References: <873581tkc0.fsf@no.workgroup> <83pmb5i90e.fsf@gnu.org> <87a624zw0e.fsf@no.workgroup> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, akrl@sdf.org To: John Yates Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 28 13:23:03 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pLkEY-0005aq-Ts for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Jan 2023 13:23:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLkDu-0004bS-Qc; Sat, 28 Jan 2023 07:22:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLkDs-0004ay-Rz for emacs-devel@gnu.org; Sat, 28 Jan 2023 07:22:20 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLkDr-0008EA-N2; Sat, 28 Jan 2023 07:22:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0VtgNHNFoM8g9QP7QF1riwArvNiqlI2Foqz/EMmCdBY=; b=MYCkyASDDrpq FUlKcVVMQmx056LuFWm/FoqeMBMrAPZ5tsnr0ab04TDoFQ9QvF77nh/C8PYOmYKuyTefpKxfjRAd9 TRokR6le8Plkm6HWL6P5hd8rtfSqKcRV2uPPwaazwq4B963u10syCEG/oVpQ2TZG3wwV7ojcx/Fze G4MhUTCcSgLIkfTrVMx1JS8CYeg6p5eCZtvFRgRUHA4sCvtzI+maJ9ihgV3M8G88P/UOLsyXU7EIi CTRNmmCRxfE6b+OX3yqgTzTWbUYVYctY68eBcQfLGRGo9F1ezWwMHxo+96LaVfjOylpEadpctAPGF qBO+SrQF6+6bBLeqwmiTkg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLkDq-0006zM-S0; Sat, 28 Jan 2023 07:22:19 -0500 In-Reply-To: (message from John Yates on Fri, 27 Jan 2023 12:20:57 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302717 Archived-At: > From: John Yates > Date: Fri, 27 Jan 2023 12:20:57 -0500 > Cc: Andrea Corallo > > Re my suggested parallel, Eli asked: > > > How many hundreds? Emacs 29 loads almost 300 *.eln files at startup. > > I have never needed to answer that question. > > I work on the code generation middle-end. When I modify one of its > fundamental headers over 350 modules get rebuilt. (That number > reflects poor dependency management, which is being addressed.) > There are probably just as many modules unrelated to code generation > (e.g. UI, graphics, etc). > > /john > ---------- Forwarded message --------- > From: John Yates > Date: Thu, Jan 26, 2023 at 8:16 PM > Subject: Re: emacs empty startup time increased from v 27.1 to 29.0 by factor 3? > To: > > I work on a product whose structure involves literally hundreds of > DLLs / SOs. We tolerate slow start-up in-house because it optimizes > the compile / edit / debug cycle. > > Packaging the final product involves an extra step to collapse our > hundreds of images into just a handful via a secondary link step. > I wonder if there is anything analogous that Emacs could do. How exactly do you "collapse the hundreds of shared libraries into just a handful by a secondary link step"?