app/test: reduce libcrypto operations number
authorMarcin Kerlin <marcinx.kerlin@intel.com>
Mon, 10 Oct 2016 08:07:50 +0000 (10:07 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 13 Oct 2016 19:58:44 +0000 (21:58 +0200)
This patch reduce the number of total operations from 1M to 10K,
because test is taking too long time now.

Fixes: ffbe3be0d4b5 ("app/test: add libcrypto")

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test/test_cryptodev_perf.c

index 4aee9af..43a7166 100644 (file)
@@ -3420,7 +3420,7 @@ test_perf_snow3G_vary_pkt_size(void)
 static int
 test_perf_libcrypto_vary_pkt_size(void)
 {
-       unsigned int total_operations = 1000000;
+       unsigned int total_operations = 10000;
        unsigned int burst_size = { 64 };
        unsigned int buf_lengths[] = { 64, 128, 256, 512, 768, 1024, 1280, 1536,
                        1792, 2048 };