From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: Re: [PATCH 1/1] improve performance by immediate evaluation of HOST_ARCH
Date: Mon, 22 Dec 2025 09:45:05 +0200 [thread overview]
Message-ID: <4d215127-816b-4b5e-a8be-8390b23dd626@ilbers.de> (raw)
In-Reply-To: <20251219090922.279275-1-felix.moessbauer@siemens.com>
19/12/2025 11:09, 'Felix Moessbauer' via isar-users wrote:
> To determine the host architecture dpkg --print-architecture is
> executed. This call is currently a lazy one, hence it is evaluated at
> the location where HOST_ARCH is expanded. On multiconfig this led to
> almost a million process invocations, slowing down the parsing.
>
> By making this assignment immediate, it is only evaluated once (per
> recipe), reducing the parse time by around 50% on some larger
> multiconfigs. Prior to the change an extra weak assignemnt was used.
> However, the HOST_ARCH is not expected to change anyways, hence the
> replacement should be fine.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Applied to next, thanks.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/4d215127-816b-4b5e-a8be-8390b23dd626%40ilbers.de.
prev parent reply other threads:[~2025-12-22 7:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-19 9:09 'Felix Moessbauer' via isar-users
2025-12-22 7:45 ` Anton Mikanovich [this message]
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=4d215127-816b-4b5e-a8be-8390b23dd626@ilbers.de \
--to=amikan@ilbers.de \
--cc=felix.moessbauer@siemens.com \
--cc=isar-users@googlegroups.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox