mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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:
parent
db34e88b86
commit
89377d41d7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user