diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-11-20 17:55:59 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-11-20 18:03:32 +0530 |
commit | 4d7632ff687dc60fb9ed38bae682d395017b61a8 (patch) | |
tree | 3ee504482bd103ea4adb3cf2368451b133c9266a /ChangeLog | |
parent | a465b89ee82642c193cfd7deb6eb5d999ffaa5b7 (diff) | |
download | glibc-4d7632ff687dc60fb9ed38bae682d395017b61a8.zip glibc-4d7632ff687dc60fb9ed38bae682d395017b61a8.tar.gz glibc-4d7632ff687dc60fb9ed38bae682d395017b61a8.tar.bz2 |
benchtests: Fix walking sizes and directions for *-walk benchmarks
Make the walking benchmarks walk only backwards since copying both
ways is biased in favour of implementations that use non-temporal
stores for larger sizes; falkor is one of them. This also fixes up
bugs in computation of the result which ended up multiplying the
length with the timing result unnecessarily.
* benchtests/bench-memcpy-walk.c (do_one_test): Copy only
backwards. Fix timing computation.
* benchtests/bench-memmove-walk.c (do_one_test): Likewise.
* benchtests/bench-memset-walk.c (do_one_test): Walk backwards
on memset by N at a time. Fix timing computation.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org> + + * benchtests/bench-memcpy-walk.c (do_one_test): Copy only + backwards. Fix timing computation. + * benchtests/bench-memmove-walk.c (do_one_test): Likewise. + * benchtests/bench-memset-walk.c (do_one_test): Walk backwards + on memset by N at a time. Fix timing computation. + 2017-11-20 Florian Weimer <fweimer@redhat.com> * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB, |