aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-05-21 15:19:06 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2019-05-21 15:19:06 +0100
commit46ae07324b1cd50fbf8f37a076d6babcfca7c510 (patch)
treee8780d68dd3c13c83a7face67d7e69a6902a8b6b /ChangeLog
parent004e52febf30012abeafb696a4f16aedd75aeb83 (diff)
downloadglibc-46ae07324b1cd50fbf8f37a076d6babcfca7c510.tar
glibc-46ae07324b1cd50fbf8f37a076d6babcfca7c510.tar.gz
glibc-46ae07324b1cd50fbf8f37a076d6babcfca7c510.tar.bz2
glibc-46ae07324b1cd50fbf8f37a076d6babcfca7c510.zip
Improve string benchtest timing
Improve string benchtest timing. Many tests run for 0.01s which is way too short to give accurate results. Other tests take over 40 seconds which is way too long. Significantly increase the iterations of the short running tests. Reduce number of alignment variations in the long running memcpy walk tests so they take less than 5 seconds. As a result most tests take at least 0.1s and all finish within 5 seconds. * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations. * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests. * benchtests/bench-memmem.c (do_one_test): Use small iterations. * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests. * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests. * benchtests/bench-strcasestr.c (do_one_test): Use small iterations. * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations. (INNER_LOOP_ITERS_MEDIUM): New define. (INNER_LOOP_ITERS_SMALL): New define. * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations. * benchtests/bench-strsep.c (do_one_test): Use small iterations. * benchtests/bench-strspn.c (do_one_test): Use medium iterations. * benchtests/bench-strstr.c (do_one_test): Use small iterations. * benchtests/bench-strtok.c (do_one_test): Use small iterations.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 324964a73d..1f0dd674f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
+ * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
+ * benchtests/bench-memmem.c (do_one_test): Use small iterations.
+ * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
+ * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
+ * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
+ * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
+ (INNER_LOOP_ITERS_MEDIUM): New define.
+ (INNER_LOOP_ITERS_SMALL): New define.
+ * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
+ * benchtests/bench-strsep.c (do_one_test): Use small iterations.
+ * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
+ * benchtests/bench-strstr.c (do_one_test): Use small iterations.
+ * benchtests/bench-strtok.c (do_one_test): Use small iterations.
+
2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):