Re: [PATCH 0/7] minmax: reduce compilation time

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

 



On Wed, 24 Jul 2024 at 12:35, Lorenzo Stoakes
<lorenzo.stoakes@xxxxxxxxxx> wrote:
>
> My rough numbers below, on a 32-core intel i9-14900KF box using defconfig +
> a small number of debug flags I use for compiler development:

Side note: I think better than "time it" would be to simply generate
all the pre-processor files, and look at the size.

Because to a very close approximation, all the overhead from these
things comes from the deep macro expansions.

And unlike timings, the pre-processor size is going to be (a) entirely
repeatable, and (b) will also perhaps point out other worst-case
scenarios. IOW, maybe there is something else that looks like that
"min3()" horror, that can be more surgically fixed.

                 Linus




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux