Subject: bug#43269: 28.0.50; [feature/native-comp] provide a user feedback on Emacs being native compiled

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 10 Sep 2020 14:16:24 +0200

Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <[email-masked]> writes:
> $ 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

Just another data point -- on my AMD Ryzen 7 3700X 8-Core Processor,

$ make bootstrap-clean; ./configure; time make NATIVE_FAST_BOOT=1 -j16

real	1m51.603s
user	11m27.197s
sys	0m38.004s

$ make bootstrap-clean; ./configure --with-nativecomp; time make NATIVE_FAST_BOOT=1 -j16 

real	3m44.636s
user	27m15.699s
sys	0m53.677s

So it takes about 2x the time to build Emacs on this machine with native
compilation, which isn't so bad.  (And the result is a really snappy and
responsive Emacs. :-))

Of course, the non-native compilation spends a lot of time being
single-threaded, and there's room for improvement there.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no