mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
benchtests: Bump start size since smaller sizes are noisy
Numbers for very small sizes (< 128B) are much noisier for non-cached benchmarks like the walk benchmarks, so don't include them. * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128. * benchtests/bench-memmove-walk.c (START_SIZE): Likewise. * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
This commit is contained in:
parent
4d7632ff68
commit
eb332f9feb
@ -1,5 +1,9 @@
|
||||
2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
||||
* benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
|
||||
* benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
|
||||
* benchtests/bench-memset-walk.c (START_SIZE): Likewise.
|
||||
|
||||
* benchtests/bench-memcpy-walk.c (do_one_test): Copy only
|
||||
backwards. Fix timing computation.
|
||||
* benchtests/bench-memmove-walk.c (do_one_test): Likewise.
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#ifndef MEMCPY_RESULT
|
||||
# define MEMCPY_RESULT(dst, len) dst
|
||||
# define START_SIZE 1
|
||||
# define START_SIZE 128
|
||||
# define MIN_PAGE_SIZE (getpagesize () + 32 * 1024 * 1024)
|
||||
# define TEST_MAIN
|
||||
# define TEST_NAME "memcpy"
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#ifndef MEMMOVE_RESULT
|
||||
# define MEMMOVE_RESULT(dst, len) dst
|
||||
# define START_SIZE 1
|
||||
# define START_SIZE 128
|
||||
# define MIN_PAGE_SIZE (getpagesize () + 32 * 1024 * 1024)
|
||||
# define TEST_MAIN
|
||||
# define TEST_NAME "memmove"
|
||||
|
@ -22,7 +22,7 @@
|
||||
#else
|
||||
# define TEST_NAME "wmemset"
|
||||
#endif /* WIDE */
|
||||
#define START_SIZE (1)
|
||||
#define START_SIZE 128
|
||||
#define MIN_PAGE_SIZE (getpagesize () + 32 * 1024 * 1024)
|
||||
#define TIMEOUT (20 * 60)
|
||||
#include "bench-string.h"
|
||||
|
Loading…
Reference in New Issue
Block a user