diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-29 09:40:19 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-29 09:40:19 +0530 |
commit | 56737508002f1759da8d4d9944a8e98e58dce917 (patch) | |
tree | 25105d29ef08035127c492424c545a3b3c04634f /ChangeLog | |
parent | cb5e4aada7f044fc029dd64b31411a23bb09c287 (diff) | |
download | glibc-56737508002f1759da8d4d9944a8e98e58dce917.tar glibc-56737508002f1759da8d4d9944a8e98e58dce917.tar.gz glibc-56737508002f1759da8d4d9944a8e98e58dce917.tar.bz2 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-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. |