From: Noah Goldstein <goldstein.w.n@gmail.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: GNU C Library <libc-alpha@sourceware.org>,
"Carlos O'Donell" <carlos@systemhalted.org>
Subject: Re: [PATCH v1 1/3] benchtests: Add medium cases and increase iters in bench-memset.c
Date: Fri, 8 Oct 2021 16:04:43 -0500 [thread overview]
Message-ID: <CAFUsyfJ8_f0J0oYGBHh-euO8FgW1CTFr=DqDAV8n9NvLefrsLg@mail.gmail.com> (raw)
In-Reply-To: <CAMe9rOp-iU_K1HEgC69K4Cic6Z77mcjiNYa-1NFnYXvZpZfynA@mail.gmail.com>
On Fri, Oct 8, 2021 at 2:39 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> On Sun, Sep 26, 2021 at 1:53 PM Noah Goldstein <goldstein.w.n@gmail.com>
> wrote:
> >
> > No bug.
> >
> > This commit adds new medium size cases for lengths in [512, 1024). As
> > well it increase the iters to INNER_LOOP_ITERS_LARGE for more reliable
> > results.
> >
> > Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
> > ---
> > benchtests/bench-memset.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/benchtests/bench-memset.c b/benchtests/bench-memset.c
> > index d6619b4836..4284cb1724 100644
> > --- a/benchtests/bench-memset.c
> > +++ b/benchtests/bench-memset.c
> > @@ -43,7 +43,7 @@ static void
> > do_one_test (json_ctx_t *json_ctx, impl_t *impl, CHAR *s,
> > int c __attribute ((unused)), size_t n)
> > {
> > - size_t i, iters = INNER_LOOP_ITERS;
> > + size_t i, iters = INNER_LOOP_ITERS_LARGE;
> > timing_t start, stop, cur;
> >
> > TIMING_NOW (start);
> > @@ -118,7 +118,7 @@ test_main (void)
> > if (i & (i - 1))
> > do_test (&json_ctx, 0, c, i);
> > }
> > - for (i = 32; i < 512; i+=32)
> > + for (i = 32; i < 1024; i+=32)
> > {
> > do_test (&json_ctx, 0, c, i);
> > do_test (&json_ctx, i, c, i);
> > --
> > 2.25.1
> >
>
> LGTM.
>
> Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
>
> Thanks.
>
> --
> H.J.
>
Thanks. Pushed.
prev parent reply other threads:[~2021-10-08 21:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-26 20:53 Noah Goldstein
2021-09-26 20:53 ` [PATCH v1 2/3] x86: Modify ENTRY in sysdep.h so that p2align can be specified Noah Goldstein
2021-09-27 16:07 ` Noah Goldstein
2021-10-08 14:27 ` H.J. Lu
2021-10-08 17:20 ` Noah Goldstein
2022-04-23 1:13 ` Sunil Pandey
2021-09-26 20:53 ` [PATCH v1 3/3] x86: Optimize memset-vec-unaligned-erms.S Noah Goldstein
2021-09-26 20:55 ` Noah Goldstein
2021-10-12 15:23 ` H.J. Lu
2021-10-12 19:01 ` Noah Goldstein
2022-04-23 1:19 ` Sunil Pandey
2021-10-05 16:33 ` [PATCH v1 1/3] benchtests: Add medium cases and increase iters in bench-memset.c Noah Goldstein
2021-10-08 19:39 ` H.J. Lu
2021-10-08 21:04 ` Noah Goldstein [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFUsyfJ8_f0J0oYGBHh-euO8FgW1CTFr=DqDAV8n9NvLefrsLg@mail.gmail.com' \
--to=goldstein.w.n@gmail.com \
--cc=carlos@systemhalted.org \
--cc=hjl.tools@gmail.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).