benchtests: Add small sizes (<= 64) to bench-bzero-walk.c

Small sizes (<= 64) represent large portion of memset usages with zero
value.  Add sizes (<= 64) to bench-bzero-walk.c to cover small sizes.
Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
This commit is contained in:
H.J. Lu 2022-02-24 09:47:27 -08:00
parent db34e88b86
commit 89377d41d7

View File

@ -113,6 +113,9 @@ test_main (void)
json_array_end (&json_ctx);
json_array_begin (&json_ctx, "results");
for (i = 1; i <= 64; i++)
do_test (&json_ctx, i);
for (i = START_SIZE; i <= MIN_PAGE_SIZE; i <<= 1)
{
do_test (&json_ctx, i);