app/crypto-perf: compile with O3

Message ID 20180625125311.26190-1-pablo.de.lara.guarch@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Pablo de Lara Guarch
Headers
Series app/crypto-perf: compile with O3 |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

De Lara Guarch, Pablo June 25, 2018, 12:53 p.m. UTC
  The crypto performance application was not being compiled
with -O3, which means that the performance shown may not be
optimal.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 app/test-crypto-perf/Makefile | 1 +
 1 file changed, 1 insertion(+)
  

Comments

De Lara Guarch, Pablo July 23, 2018, 11:27 a.m. UTC | #1
> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Monday, June 25, 2018 1:53 PM
> To: Doherty, Declan <declan.doherty@intel.com>
> Cc: dev@dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>
> Subject: [PATCH] app/crypto-perf: compile with O3
> 
> The crypto performance application was not being compiled with -O3, which
> means that the performance shown may not be optimal.
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied to dpdk-next-crypto.

Pablo
  

Patch

diff --git a/app/test-crypto-perf/Makefile b/app/test-crypto-perf/Makefile
index 28a0cd03c..78135f38c 100644
--- a/app/test-crypto-perf/Makefile
+++ b/app/test-crypto-perf/Makefile
@@ -8,6 +8,7 @@  APP = dpdk-test-crypto-perf
 
 CFLAGS += $(WERROR_FLAGS)
 CFLAGS += -DALLOW_EXPERIMENTAL_API
+CFLAGS += -O3
 
 # all source are stored in SRCS-y
 SRCS-y := main.c