* [PATCH] benchtests: Remove duplicated loop in bench-bzero-walk.c
@ 2022-02-25 3:24 H.J. Lu
2022-02-25 5:31 ` Siddhesh Poyarekar
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2022-02-25 3:24 UTC (permalink / raw)
To: libc-alpha
Remove one of 2 identical loops in bench-bzero-walk.c.
---
benchtests/bench-bzero-walk.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/benchtests/bench-bzero-walk.c b/benchtests/bench-bzero-walk.c
index 4984f6e190..851a72b137 100644
--- 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);
--
2.35.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] benchtests: Remove duplicated loop in bench-bzero-walk.c
2022-02-25 3:24 [PATCH] benchtests: Remove duplicated loop in bench-bzero-walk.c H.J. Lu
@ 2022-02-25 5:31 ` Siddhesh Poyarekar
0 siblings, 0 replies; 2+ messages in thread
From: Siddhesh Poyarekar @ 2022-02-25 5:31 UTC (permalink / raw)
To: H.J. Lu, libc-alpha
On 25/02/2022 08:54, H.J. Lu via Libc-alpha wrote:
> Remove one of 2 identical loops in bench-bzero-walk.c.
LGTM.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
> ---
> benchtests/bench-bzero-walk.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/benchtests/bench-bzero-walk.c b/benchtests/bench-bzero-walk.c
> index 4984f6e190..851a72b137 100644
> --- 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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-25 5:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25 3:24 [PATCH] benchtests: Remove duplicated loop in bench-bzero-walk.c H.J. Lu
2022-02-25 5:31 ` Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).