Skip to content

Commit 199a0a8

Browse files
committed
crc: add CRC consolidated performance benchmark
Added new CRC performance application which consolidates the existing CRC performance applications (CRC16, CRC32 and CRC64). This application accepts buffer sizes to benchmark, as a single value, list or range, and the CRC function to test (or all of them). Signed-off-by: Pablo de Lara <[email protected]>
1 parent 5d437d7 commit 199a0a8

File tree

5 files changed

+924
-5
lines changed

5 files changed

+924
-5
lines changed

Makefile.nmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ perfs = \
331331
crc32_iscsi_perf.exe \
332332
crc64_funcs_perf.exe \
333333
crc32_gzip_refl_perf.exe \
334+
crc_funcs_perf.exe \
334335
adler32_perf.exe \
335336
mem_zero_detect_perf.exe
336337

Release_notes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ v2.32
161161
- CRC64 Rocksoft implementation on aarch64 optimized similar to other CRC64
162162
implementations.
163163

164+
* Performance applications:
165+
- Add consolidated CRC performance application.
166+
164167
v2.31
165168

166169
* API changes:

crc/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ check_tests += crc/crc16_t10dif_test \
8787
perf_tests += crc/crc16_t10dif_perf crc/crc16_t10dif_copy_perf \
8888
crc/crc16_t10dif_op_perf \
8989
crc/crc32_ieee_perf crc/crc32_iscsi_perf \
90-
crc/crc64_funcs_perf crc/crc32_gzip_refl_perf
90+
crc/crc64_funcs_perf crc/crc32_gzip_refl_perf \
91+
crc/crc_funcs_perf
9192

9293
examples += crc/crc_simple_test crc/crc64_example
9394

0 commit comments

Comments
 (0)