[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190611122800.56d72eba@hermes.lan>
Date: Tue, 11 Jun 2019 12:28:00 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Matteo Croce <mcroce@...hat.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...nel.org>
Subject: Re: [PATCH iproute2-next] Makefile: pass -pipe to the compiler
On Tue, 11 Jun 2019 20:05:13 +0200
Matteo Croce <mcroce@...hat.com> wrote:
> Pass the -pipe option to GCC, to use pipes instead of temp files.
> On a slow AMD G-T40E CPU we get a non negligible 6% improvement
> in build time.
>
> real 1m15,111s
> user 1m2,521s
> sys 0m12,465s
>
> real 1m10,861s
> user 1m2,520s
> sys 0m12,901s
>
> Signed-off-by: Matteo Croce <mcroce@...hat.com>
Why bother, on my machine (make -j12).
Before
real 0m6.320s
user 0m30.674s
sys 0m3.649s
After (with -pipe)
real 0m6.158s
user 0m31.197s
sys 0m3.532s
So it is slower. Get a faster disk :-)
Maybe allow "EXTRA_CFLAGS" to be passed to Makefile for those that
have a burning need for this.
Powered by blists - more mailing lists