From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lynn Winebarger Newsgroups: gmane.emacs.devel Subject: Re: Unboxed package manager Date: Mon, 20 Mar 2023 21:55:18 -0400 Message-ID: References: <57668895-8EEA-44F7-BD46-9CDFAA11FD2C@gmail.com> <08b5f766ddd9da754a86@heytings.org> <08b5f766ddf4b33993cd@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36858"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , emacs-devel To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 21 02:56:18 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 1peREX-0009IY-69 for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Mar 2023 02:56:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peRDp-0003ln-9S; Mon, 20 Mar 2023 21:55:33 -0400 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 1peRDn-0003lV-GX for emacs-devel@gnu.org; Mon, 20 Mar 2023 21:55:31 -0400 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peRDm-0004QQ-01 for emacs-devel@gnu.org; Mon, 20 Mar 2023 21:55:31 -0400 Original-Received: by mail-pl1-x634.google.com with SMTP id bc12so13907327plb.0 for ; Mon, 20 Mar 2023 18:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679363728; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0jihX7SVGIsTqXXjxa5bPuzQCvebP7hfmm4JZSvVhFQ=; b=bTg2PgOWRpjhdUdDki8Yg8TT1YI3BjypkRAMHthslF0B+Am9FlC87B8R0yBcvS88xE vTI/z0tIstw9Q0/XAELAjShKJgOk3zALK2Phg6XWF4T3WrTuPZG8VQSbvC7WCuHgGxMr CQSDmtDkQHOaR1DSbCiXOV7OYpVp9ZZO9/flK/rwcuIfkmEzqmBm/T6lobwqDkoUPSu7 /jPQ5bOv94IlrMJ/UHI5976rzUIn8aT53zP+1d3faeCmIBSriqCMPnFcnGhgdNgv/Dgi U2Es467ZqJeDXoIdgwNVDSah1lqdhw8D+13yVN9ZzXPaTkBF9rUpMXUptjODulfJ0sqj huFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679363728; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0jihX7SVGIsTqXXjxa5bPuzQCvebP7hfmm4JZSvVhFQ=; b=2Uj0ZDD9m8e1IrtrT7F9O7blTNHQ2NT5FGiRrn2BTbH+o2prjM+T3TdDpfNpk0FyRW l7IqJEAQSLkK/0k2EQy3yT6DfnOKlMOMIiXSu1qJ1QfFj8voc5NUnDahPh9w4ELKud6F sEV65kjzPWoHVzQSFvpt4cDitkgmg81dvO+tw0vn0YKJ9RaQaOuPrvZC36YZkjw/TLtS PKMxK3CGst1ZWdJYPRQO9Iuja4a5nA/rrVLpig7voVV2oxbbrTzqpp88NfbDVJO5ogCX W5gN0zckc1HxB5wNaOZQrtDSW7i5+6bWAwrmQfPq7+hNXbUFz9BKuHS4kRsXDNryNAF/ lGbQ== X-Gm-Message-State: AO0yUKWw8aTtudZskjGS4VuYRmDyP4O8bAPe/bkKQQzZdO40OlmWKRqH T/0olY9F5z5azTDmL4BKQz6V5xbgtMSeBt1e4i0= X-Google-Smtp-Source: AK7set96tv4N4zwnVgzYcuuYIQmLGCvvrz6m1TleVj7VU6A6TYEfGSYC+tOGGiMn1Q0ik7FCm7q6q21/6fkkm54EBsA= X-Received: by 2002:a17:903:452:b0:199:1a40:dccc with SMTP id iw18-20020a170903045200b001991a40dcccmr138373plb.9.1679363728219; Mon, 20 Mar 2023 18:55:28 -0700 (PDT) In-Reply-To: <08b5f766ddf4b33993cd@heytings.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=owinebar@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:304624 Archived-At: On Mon, Mar 20, 2023 at 8:25=E2=80=AFPM Gregory Heytings wrote: > >> my recollection is that installing ~1200 packages on those systems and > >> "loading the world" took something like 5 minutes > > > > I'm not sure I understand what you mean here. Do you mean that > > byte-compiling and loading ~1200 packages takes about 5 minutes (which > > would not be a problem per se AFAIU)? Or that loading ~1200 already > > byte-compiled packages takes about 5 minutes? I took the file you > > posted in bug#61004, modified it a bit to make it work with emacs -Q > > (without external packages), and on my computer emacs -Q -l loadall.el > > takes ~4.5 seconds. You're right, my wording is very confusing. The installation phase took much, much longer than 5 minutes. Loading the world, after everything was byte-compiled, took about 5 minutes. The 1200 packages is just to give the number of directories prepended to the standard load-path (it was more work to get those packages on those sandboxed systems, hence "only" 1200, not the 2400+ I currently have on my personal machine). The number of libraries being loaded was closer to 4000, if I am recalling correctly (big if - this is ~9 months ago). That was on fairly nice server hardware with SSDs, lots of RAM, and 24 cores. I'm pretty sure the profiling report I filed for #61004 was generated on a 2017-vintage laptop with a physically spinning disk for storage. I don't think it would run emacs -Q -l loadall.el in 4.5 seconds on that laptop, but with "-Q" you're taking out the main drag on the startup time - having to search 1000-2000+ directories before getting to the system directories where all the libraries in loadall.el will actually be found. Lynn