diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-02-24 09:47:27 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-24 12:28:34 -0800 |
commit | 89377d41d73b59a5b8c781fe08df99df0a470fac (patch) | |
tree | 0fa9ff2b3246162ce7d3655026bd61ccac682204 /benchtests | |
parent | db34e88b86af8eafa59e26aaa2e7abc608d95fb9 (diff) | |
download | glibc-89377d41d73b59a5b8c781fe08df99df0a470fac.tar.gz glibc-89377d41d73b59a5b8c781fe08df99df0a470fac.tar.xz glibc-89377d41d73b59a5b8c781fe08df99df0a470fac.zip |
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>
Diffstat (limited to 'benchtests')
-rw-r--r-- | benchtests/bench-bzero-walk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/benchtests/bench-bzero-walk.c b/benchtests/bench-bzero-walk.c index 00226f80b8..4984f6e190 100644 --- a/benchtests/bench-bzero-walk.c +++ b/benchtests/bench-bzero-walk.c @@ -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); |