From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Sun, 30 Jan 2022 12:57:04 +0100 Message-ID: References: <86bl07361o.fsf@duenenhof-wilhelm.de> <8635li3mog.fsf@duenenhof-wilhelm.de> <86y23a10fy.fsf@duenenhof-wilhelm.de> <865yqb1lsz.fsf@duenenhof-wilhelm.de> <861r0y17cf.fsf@duenenhof-wilhelm.de> <86v8y9ywa4.fsf@duenenhof-wilhelm.de> <83ee4xjcn7.fsf@gnu.org> <86k0epyoly.fsf@duenenhof-wilhelm.de> <837dapj82m.fsf@gnu.org> <86czkgztcv.fsf@duenenhof-wilhelm.de> <83zgnkijfo.fsf@gnu.org> <867daoyuhq.fsf@duenenhof-wilhelm.de> <83lez4hu6g.fsf@gnu.org> <86r18wx6zy.fsf@duenenhof-wilhelm.de> <83czkfj561.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15454"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (windows-nt) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 30 12:58:45 2022 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 1nE8qz-0003q5-4i for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 12:58:45 +0100 Original-Received: from localhost ([::1]:36810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nE8qx-0001b8-JR for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 06:58:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE8pR-0000tX-F3 for emacs-devel@gnu.org; Sun, 30 Jan 2022 06:57:10 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.73]:36319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE8pP-00076n-Rc; Sun, 30 Jan 2022 06:57:09 -0500 Original-Received: from VSL7V7PW ([92.116.183.79]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MsZif-1mPKd02SUd-00u3se; Sun, 30 Jan 2022 12:57:05 +0100 In-Reply-To: <83czkfj561.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Jan 2022 15:50:14 +0200") X-Provags-ID: V03:K1:j9x9dEPtJd4cPoHsQbqCfizH1m1Kos3x1FaqNHCsw0culOP2g40 vgaE5NLx0nzfFtsfF8yg53l8gP0Tfjd/UGSfGPzZ8wX5bdon70A0UwOnfUZ3d0bz297Pz82 LOYqcVII5vuskDbF2bETv+54fTYA2V6eDslp7syV+CXURH98Ns50CsF5xO6iRoBGk582EEN j9nhePWlTzKTwV09Q5VQw== X-UI-Out-Filterresults: notjunk:1;V03:K0:k7+siuQNUn8=:UxDiv8W3CcUcRG4WrvTJN0 EYbFy7Sm67R2AUEk6dFtafu9UDruk1nTMvJE68aAZTSHaChwd3C5836Ve2LvM2ESMJHu+OCvW DH/ADANisLtR2o54cKRCFzHk3/7a4Bq9J726DU+LvMZvnhabYrkDQlrMRaELG51TVgxkfk75k UGLT5MPgfUz7BZb0S7ZkSiPKl+VVTtFlcZ6k6B2PZsjLsuf2naW/GbeIaJXBCH6EmVicnU+ux pTm6crEb5+HqeWG9cENKNq62X8J5oQ5ulbOsJ7aJStTeBqeQpn9tTgvvlDHHvz7isVrFhSGI7 8Igz1G+qEkrsCWkodPvuxXHwOqG5ij/QG+Lj1Ib/hLY4aQYTVFZYUO+Ei8m/nLpmjSzez5sjD mysEwniArDlqQyGIy7QoE0ByhijrN6rrT3u9D1VYh94PLh1gXEIuYaE4gWuTfSemnn5yDNr7u uJjoGdMRf/2bRYm2bnxeAuQSCbazZ7Aofe9WRUMiqlEomDoCMjEcN79nk2HR8lKGhNU6Mo3GY f8uIOvMAmcrZLvzNzEkmlmL6uMrF2zHTem1HK2cTlxTkkPETWSqH0zCKu/UMw+Ed4m8C2hg84 JyfcP4ySEn4beIJMa7EI79in3K1aLQizxkGCS0TcWttylKyenPzDyriTu3X9i3BdV4VB3Ov52 AnL7SoozkGQ+lDJrR9lXc2E/N2v74i4OoDoJFe6RupRd7y8JPlrAOIT8uhP2VgcRbwvOPyPDR wCR65syPAhdmJ1y2 Received-SPF: none client-ip=217.72.192.73; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:285602 Archived-At: Eli Zaretskii writes: >> From: "H. Dieter Wilhelm" >> Cc: emacs-devel@gnu.org >> Date: Tue, 25 Jan 2022 14:46:57 +0100 >> >> In the thread's context I meant the time it takes with an empty >> eln-cache to compile all .eln files after loading the init file. > > I'm not aware of any facilities, except noting the time when the > compilation started (i.e. when you start Emacs), and then looking at > the time stamps of the produced *.eln files. Thanks a lot for the hint! $ rm -r eln-cache/ $ date && emacs $ date -r latest/eln-cache/file That worked for me doing a quick check: I'm curious about the hyperthreading potential on my 4 core Intel laptop for doing compilations. And checked Emacs-28.0.91 from Corwin with (setq native-comp-async-jobs-number 8) vs 4 jobs. My init.el forces Emacs to compile over 200 .eln files and it took about 5'40" with 8 logical processors and 7'7" with 4 logical processors. -- Dieter