From b115e819af637101d9d9b0d26c3685b7236d3fb1 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 8 Aug 2017 00:55:12 +0530 Subject: benchtests: Allow selecting baseline for compare_string.py This patch allows one to provide the function name using an optional -base option to compare all other functions against. This is useful when pitching one implementation of a string function against alternatives. In the absence of this option, comparisons are done against the first ifunc in the list. * benchtests/scripts/compare_strings.py (main): Add an optional -base option. (process_results): New argument base_func. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 887fc71dc1..efdd9b6d85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2017-08-07 Siddhesh Poyarekar + * benchtests/scripts/compare_strings.py (main): Add an + optional -base option. + (process_results): New argument base_func. + * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of hardcoding memcpy. * benchtests/bench-memcpy-large.c (test_name): Likewise. -- cgit 1.4.1