emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed


From: H. Dieter Wilhelm
Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed
Date: Tue, 25 Jan 2022 11:34:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> [Why personal email?]

There was no purpose behind it, except saving traffic to this long
thread.  Initially I only wanted to confirm your statement.  Then I came
up with the cores vs. logical processors questions.

>> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
>> Date: Mon, 24 Jan 2022 23:01:04 +0100
>> 
>> >> When doing emacs -Q nothing is compiled at first, the eln-cache remains
>> >> empty.  After loading init.el Emacs is beavering away for some minutes
>> >> (4 cores, with virus scanners active). :-/
>> >
>> > This is normal and expected.
>> 
>> Yes, I was not sceptical about the process, only a bit impatient, this
>> system is "stuffed" to the neck from our corporate IT.  Wouldn't it more
>> "polite" for Emacs if only half the available cores would be taken on
>> Intel systems by default?
>
> The notion of "available cores" is not well defined on a modern
> system.  Emacs uses half of the cores present on the system, and you
> can customize that via native-comp-async-jobs-number, if that's not
> good enough for your system.

Could you please tell me how to measure the compilation time of Emacs
without a stopwatch, how would you do it?  I'm interested in how
compilation time is scaling when I'm using all available logical
processors..

Thank you
-- 
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]