[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQ8SeXevJqwp+qXpTPdSEDV-p=aFjDP2GP_vfgr3wCHiQ@mail.gmail.com>
Date: Wed, 3 May 2017 13:49:29 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Rabin Vincent <rabin@....in>
Cc: Michal Marek <mmarek@...e.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Makefile: evaluate LDFLAGS_BUILD_ID only once
2017-05-01 1:16 GMT+09:00 Rabin Vincent <rabin@....in>:
> Evaluate LDFLAGS_BUILD_ID (which involves invoking the compiler) only
> once instead of over and over.
>
> This provides a ~20% reduction in null build time with x86 allnoconfig:
>
> $ make allnoconfig && make -j8
> $ perf stat -r5 -e sched:sched_process_exec make -j8
> - 2 119 sched:sched_process_exec
> + 1 878 sched:sched_process_exec
>
> - 1,238817018 seconds time elapsed
> + 0,971020553 seconds time elapsed
>
> Signed-off-by: Rabin Vincent <rabin@....in>
Applied to linux-kbuild/kbuild. Thanks!
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists