all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: master e245c4f226: Add --with-native-compilation=aot configuration option
Date: Mon, 03 Oct 2022 12:51:57 +0200	[thread overview]
Message-ID: <87r0zp6uya.fsf@gnus.org> (raw)
In-Reply-To: <20221003104546.A4627C21CEA@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Mon, 3 Oct 2022 06:45:46 -0400 (EDT)")

Lars Ingebrigtsen <larsi@gnus.org> writes:

>     Add --with-native-compilation=aot configuration option

I thought it might be interesting to look at some compilation numbers.

On "master", a non-native bootstrap build takes:

real	1m9.038s
user	10m7.189s

--with-native-compilation takes:

real	1m50.159s
user	15m56.087s

--with-native-compilation=aot (full ahead-of-time build) takes:

real	3m31.860s
user	55m17.325s

So there's a bigger percentage jump from non-native to native, than
there is from native to AOT.  (On this machine; as you can see from the
"user" numbers, the CPU usage tells a somewhat different story.)

Interestingly, the full AOT on "master" on this machine is now faster
than a --with-native-compilation on the emacs-28 branch:

real	4m3.930s
user	36m49.549s




       reply	other threads:[~2022-10-03 10:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166479394630.8987.4511179100386418056@vcs2.savannah.gnu.org>
     [not found] ` <20221003104546.A4627C21CEA@vcs2.savannah.gnu.org>
2022-10-03 10:51   ` Lars Ingebrigtsen [this message]
2022-10-03 11:02     ` master e245c4f226: Add --with-native-compilation=aot configuration option Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0zp6uya.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.