about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-29 09:40:19 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-29 09:40:19 +0530
commit56737508002f1759da8d4d9944a8e98e58dce917 (patch)
tree25105d29ef08035127c492424c545a3b3c04634f /ChangeLog
parentcb5e4aada7f044fc029dd64b31411a23bb09c287 (diff)
downloadglibc-56737508002f1759da8d4d9944a8e98e58dce917.tar.gz
glibc-56737508002f1759da8d4d9944a8e98e58dce917.tar.xz
glibc-56737508002f1759da8d4d9944a8e98e58dce917.zip
Detailed benchmark outputs for functions
This patch adds an option to get detailed benchmark output for
functions.  Invoking the benchmark with 'make DETAILED=1 bench' causes
each benchmark program to store a mean execution time for each input
it works on.  This is useful to give a more comprehensive picture of
performance of functions compared to just the single mean figure.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 072747b387..081bf0b6d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+	* benchtests/Makefile (DETAILED_OPT): New make option.
+	(bench-func): Run benchmark program with -d if DETAILED_OPT is
+	set.
+	* benchtests/bench-skeleton.c: Include stdbool.h.
+	(main): Store and print timings per input.
+	* benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
+	member to each argument value.
+	(EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
+	(_print_arg_data): Initialize per-input timing to 0.
+
 	* benchtests/Makefile (timing-type): New binary.
 	(bench-clean): Also remove bench-timing-type.
 	(bench): New target for timing-type.