diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-10-05 21:51:41 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-10-05 22:20:23 +0530 |
commit | 36bb8edf5178247933dfeee71812cda93587d32e (patch) | |
tree | 0f5ba7d7124fddb58807aab3e330e2cd971e4f93 /benchtests/scripts | |
parent | 9ec87fd2b11ffce5c27c8eacb9deaa20e2373ff5 (diff) | |
download | glibc-36bb8edf5178247933dfeee71812cda93587d32e.tar glibc-36bb8edf5178247933dfeee71812cda93587d32e.tar.gz glibc-36bb8edf5178247933dfeee71812cda93587d32e.tar.bz2 glibc-36bb8edf5178247933dfeee71812cda93587d32e.zip |
benchtests: Memory walking benchmark for memset
This benchmark is an attempt to eliminate cache effects from string
benchmarks. The benchmark walks backward through a large memory area
and sets 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 memset 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.
* benchtests/bench-memset-walk.c: New file.
* benchtests/Makefile (string-benchset): Add it.
Diffstat (limited to 'benchtests/scripts')
0 files changed, 0 insertions, 0 deletions