diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-04-30 10:10:47 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-05-03 05:08:22 -0700 |
commit | 98544f5bcf1bef9311463ded60ddd3941c75a547 (patch) | |
tree | 9eff501ab6c086e3008f01b6ccbebf07e8e2729d /benchtests | |
parent | b03e4d7bd25b1ac485f858f0a857ba6085e8c9b0 (diff) | |
download | glibc-98544f5bcf1bef9311463ded60ddd3941c75a547.tar.gz glibc-98544f5bcf1bef9311463ded60ddd3941c75a547.tar.xz glibc-98544f5bcf1bef9311463ded60ddd3941c75a547.zip |
bench-memcpy: Collect data from 2KB to 4KB
Collect data on memcpy from 2KB to 4KB with the 64-byte increment value.
Diffstat (limited to 'benchtests')
-rw-r--r-- | benchtests/bench-memcpy.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/benchtests/bench-memcpy.c b/benchtests/bench-memcpy.c index 5bddaeb8fc..184495d539 100644 --- a/benchtests/bench-memcpy.c +++ b/benchtests/bench-memcpy.c @@ -145,6 +145,14 @@ test_main (void) do_test (&json_ctx, 0, 0, getpagesize ()); + for (i = 0; i <= 32; ++i) + { + do_test (&json_ctx, 0, 0, 2048 + 64 * i); + do_test (&json_ctx, i, 0, 2048 + 64 * i); + do_test (&json_ctx, 0, i, 2048 + 64 * i); + do_test (&json_ctx, i, i, 2048 + 64 * i); + } + json_array_end (&json_ctx); json_attr_object_end (&json_ctx); json_attr_object_end (&json_ctx); |