[PATCH] app/crypto-perf: update result granularity
Akhil Goyal
gakhil at marvell.com
Tue Aug 5 09:14:01 CEST 2025
In cases like RSA which has low performance numbers
compared to AES, the Mops and gbps may not give accurate results.
Hence updated the number of decimal places to have meaningful
results.
The results are not updated to show Kops or mbps as the results
may be used in CI scripts which considers them as Mops/gbps and
hence all scripts will need to be updated.
Signed-off-by: Akhil Goyal <gakhil at marvell.com>
---
app/test-crypto-perf/cperf_test_throughput.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test-crypto-perf/cperf_test_throughput.c b/app/test-crypto-perf/cperf_test_throughput.c
index 13b16d9670..3a82d75f95 100644
--- a/app/test-crypto-perf/cperf_test_throughput.c
+++ b/app/test-crypto-perf/cperf_test_throughput.c
@@ -374,7 +374,7 @@ cperf_throughput_test_runner(void *test_ctx)
"Cycles/Buf");
printf("%12u%12u%12u%12"PRIu64"%12"PRIu64"%12"PRIu64
- "%12"PRIu64"%12.4f%12.4f%12.2f\n",
+ "%12"PRIu64"%12.6f%12.6f%12.2f\n",
ctx->lcore_id,
ctx->options->test_buffer_size,
test_burst_size,
@@ -394,7 +394,7 @@ cperf_throughput_test_runner(void *test_ctx)
"Cycles/Buf\n\n");
printf("%u,%u,%u,%"PRIu64",%"PRIu64",%"PRIu64",%"PRIu64","
- "%.3f,%.3f,%.3f\n",
+ "%.6f,%.6f,%.3f\n",
ctx->lcore_id,
ctx->options->test_buffer_size,
test_burst_size,
--
2.25.1
More information about the dev
mailing list