projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7a345
)
benchtests: Remove duplicated loop in bench-bzero-walk.c
author
H.J. Lu
<hjl.tools@gmail.com>
Fri, 25 Feb 2022 03:24:36 +0000
(19:24 -0800)
committer
H.J. Lu
<hjl.tools@gmail.com>
Fri, 25 Feb 2022 15:07:43 +0000
(07:07 -0800)
Remove one of 2 identical loops in bench-bzero-walk.c.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
benchtests/bench-bzero-walk.c
patch
|
blob
|
history
diff --git
a/benchtests/bench-bzero-walk.c
b/benchtests/bench-bzero-walk.c
index
4984f6e
..
851a72b
100644
(file)
--- a/
benchtests/bench-bzero-walk.c
+++ b/
benchtests/bench-bzero-walk.c
@@
-122,12
+122,6
@@
test_main (void)
do_test (&json_ctx, i + 1);
}
- for (i = START_SIZE; i <= MIN_PAGE_SIZE; i <<= 1)
- {
- do_test (&json_ctx, i);
- do_test (&json_ctx, i + 1);
- }
-
json_array_end (&json_ctx);
json_attr_object_end (&json_ctx);
json_attr_object_end (&json_ctx);