From df26ea5359820f692565c44afb84ee3fd05e20d1 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 6 Dec 2013 13:51:09 +0530 Subject: Implement benchmarking script in python Implemented the benchmark script in python since it is much cleaner and simpler to maintain. --- benchtests/Makefile | 2 +- benchtests/README | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'benchtests') diff --git a/benchtests/Makefile b/benchtests/Makefile index 55d957af35..89151b42ae 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -129,5 +129,5 @@ $(objpfx)bench-%.c: %-inputs $(bench-deps) { if [ -n "$($*-INCLUDE)" ]; then \ cat $($*-INCLUDE); \ fi; \ - $(..)scripts/bench.pl $(patsubst %-inputs,%,$<); } > $@-tmp + $(..)scripts/bench.py $(patsubst %-inputs,%,$<); } > $@-tmp mv -f $@-tmp $@ diff --git a/benchtests/README b/benchtests/README index a5fd8dafe3..2a940fab7f 100644 --- a/benchtests/README +++ b/benchtests/README @@ -8,7 +8,9 @@ basic performance properties of the function. Running the benchmark: ===================== -The benchmark can be executed by invoking make as follows: +The benchmark needs python 2.7 or later in addition to the +dependencies required to build the GNU C Library. One may run the +benchmark by invoking make as follows: $ make bench -- cgit v1.2.3