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

Previous Next

Package: emacs;

Reported by: Andrea Corallo <akrl <at> sdf.org>

Date: Tue, 8 Sep 2020 08:04:01 UTC

Severity: normal

Tags: wontfix

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43269 <at> debbugs.gnu.org, rms <at> gnu.org, arthur.miller <at> live.com, Andrea Corallo <akrl <at> sdf.org>
Subject: bug#43269: 28.0.50; [feature/native-comp] provide a user feedback on Emacs being native compiled
Date: Thu, 10 Sep 2020 14:16:24 +0200
Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> 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




This bug report was last modified 3 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.