diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-10-05 21:53:13 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-10-05 22:20:23 +0530 |
commit | 5bfb04042dfadc335cde63afe892be140cbe6f31 (patch) | |
tree | b40812b01d727d54331d52c9b2e2bd29373645a8 /ChangeLog | |
parent | 36bb8edf5178247933dfeee71812cda93587d32e (diff) | |
download | glibc-5bfb04042dfadc335cde63afe892be140cbe6f31.tar.gz glibc-5bfb04042dfadc335cde63afe892be140cbe6f31.tar.xz glibc-5bfb04042dfadc335cde63afe892be140cbe6f31.zip |
benchtests: Memory walking benchmark for memmove
This benchmark is an attempt to eliminate cache effects from string benchmarks. The benchmark walks both ways through a large memory area and copies different sizes of memory and alignments one at a time instead of looping around in the same memory area. This is a good metric to have alongside the simple memmove benchmark (which is only really useful for smaller sizes) especially for larger sizes where the likelihood of the call being done only once is pretty high. This benchmark is different from memcpy in that it also tests overlapping copies. * benchtests/bench-memmove-walk.c: New file. * benchtests/Makefile (string-benchset): Add it.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 5821c5d41f..6d4b5f2de9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org> + * benchtests/bench-memmove-walk.c: New file. + * benchtests/Makefile (string-benchset): Add it. + * benchtests/bench-memset-walk.c: New file. * benchtests/Makefile (string-benchset): Add it. |