[dpdk-dev] [PATCH] test/ring: code rework to reduce compilation time

David Marchand david.marchand at redhat.com
Fri Jul 3 12:29:24 CEST 2020


On Thu, Jul 2, 2020 at 10:47 PM Honnappa Nagarahalli
<Honnappa.Nagarahalli at arm.com> wrote:
> > Rework test code to reduce code complexity for the compiler and bring down
> > compilation time and memory consumption.
> >
> > Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> Acked-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
>

Updated commitlog with Konstantin offlist feedback.

Before patch:
$ ./devtools/test-meson-builds.sh && sync && echo >>
app/test/test_ring.c && time ./devtools/test-meson-builds.sh
...
real    8m41.694s
user    8m32.027s
sys    0m10.119s


After patch:
$ ./devtools/test-meson-builds.sh && sync && echo >>
app/test/test_ring.c && time ./devtools/test-meson-builds.sh
...
real    1m13.067s
user    1m6.169s
sys    0m7.234s


Applied, thanks.


-- 
David Marchand



More information about the dev mailing list