|
From: | H. Dieter Wilhelm |
Subject: | Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed |
Date: | Sun, 30 Jan 2022 12:57:04 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (windows-nt) |
Eli Zaretskii <eliz@gnu.org> writes: >> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> >> 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
[Prev in Thread] | Current Thread | [Next in Thread] |