diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-11 12:17:24 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-08-11 12:19:26 +0530 |
commit | 61c982910da9b60f7ac48eb1caaac1f4b013dbb1 (patch) | |
tree | 511ff18d802d82610ec60a40a49e5daef8681446 /benchtests/bench-string.h | |
parent | 925733a913ff7087e56f6ffebd2998f683212e78 (diff) | |
download | glibc-61c982910da9b60f7ac48eb1caaac1f4b013dbb1.tar glibc-61c982910da9b60f7ac48eb1caaac1f4b013dbb1.tar.gz glibc-61c982910da9b60f7ac48eb1caaac1f4b013dbb1.tar.bz2 glibc-61c982910da9b60f7ac48eb1caaac1f4b013dbb1.zip |
benchtests: Remove verification runs from benchmark tests
The test run is unnecessary and interferes with the benchmark. The
tests are done during make check, so they're unnecessary here.
* benchtests/bench-memccpy.c (do_one_test): Remove checks.
* benchtests/bench-memchr.c (do_one_test): Likewise.
* benchtests/bench-memcpy-large.c (do_one_test): Likewise.
* benchtests/bench-memcpy.c (do_one_test): Likewise.
* benchtests/bench-memmove-large.c (do_one_test): Likewise.
* benchtests/bench-memmove.c (do_one_test): Likewise.
* benchtests/bench-memset-large.c (do_one_test): Likewise.
* benchtests/bench-memset.c (do_one_test): Likewise.
* benchtests/bench-string.h (test_init): Remove memsets.
Diffstat (limited to 'benchtests/bench-string.h')
-rw-r--r-- | benchtests/bench-string.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/benchtests/bench-string.h b/benchtests/bench-string.h index d76724d27c..3aacfdf83e 100644 --- a/benchtests/bench-string.h +++ b/benchtests/bench-string.h @@ -203,9 +203,6 @@ test_init (void) printf ("Setting seed to 0x%x\n", seed); srandom (seed); } - - memset (buf1, 0xa5, BUF1PAGES * page_size); - memset (buf2, 0x5a, page_size); } #endif /* TEST_MAIN */ |