bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#43269: 28.0.50; [feature/native-comp] provide a user feedback on Ema


From: Andrea Corallo
Subject: bug#43269: 28.0.50; [feature/native-comp] provide a user feedback on Emacs being native compiled
Date: Wed, 09 Sep 2020 18:15:51 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: rms@gnu.org,  arthur.miller@live.com,  43269@debbugs.gnu.org
>> Date: Wed, 09 Sep 2020 16:32:58 +0000
>> 
>> > Is this with "make" or with "make -jN"? if the latter, what value of N
>> > was used?
>> 
>> $ git clean -xfd && ./autogen.sh && ./configure --without-x
>> --with-nativecomp && time make NATIVE_FAST_BOOT=1 -j16
>> [...]
>> real    4m19.570s
>> user    28m59.958s
>> sys     0m48.797s
>> $
>> 
>> I guess -j1 may even score slightly less user time.
>
> So what do you have there, an i9 CPU?  In any case, 4 min with -j16 is
> quite a lot.

It's Xeon from three yeas ago (8 real cores).  It's 4 mins because our
build is not very parallel.

But that said I think what matters it the total CPU time (here ~30min)
to be compared against the same for the vanilla build (~12min).  This is
about what one would get at -j1.

This indicates a 2.5x.

> And what does NATIVE_FAST_BOOT=1 do? what kind of compiler
> optimizations does it imply?

It's just the current way to say not to compile AoT all the Emacs
distribution but only what goes into the dump.  Is going to to be the
default soon as agreed.

  Andrea





reply via email to

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