diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2018-03-06 18:29:52 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2018-03-06 18:29:52 +0530 |
commit | 7bb3a8a556b6d72a33b8733ffb46165f3d9066c5 (patch) | |
tree | 07f0023cae487f1bb9aff8acb9e748f5a733ec73 /benchtests/pthread_once-source.c | |
parent | ad4e816e0673b80a35a12ba6892837022bf88972 (diff) | |
download | glibc-7bb3a8a556b6d72a33b8733ffb46165f3d9066c5.tar.gz glibc-7bb3a8a556b6d72a33b8733ffb46165f3d9066c5.tar.xz glibc-7bb3a8a556b6d72a33b8733ffb46165f3d9066c5.zip |
benchtests: Reallocate buffers for every strncmp implementation
Don't reuse buffers for different strncmp implementations since the earlier implementation will end up warming the cache for the later one. Eventually there should be a more elegant way to do this. * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers for every implementation. (do_test): Likewise.
Diffstat (limited to 'benchtests/pthread_once-source.c')
0 files changed, 0 insertions, 0 deletions