about summary refs log tree commit diff
path: root/benchtests
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-06 13:51:09 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-03-21 17:32:50 +0530
commitdf26ea5359820f692565c44afb84ee3fd05e20d1 (patch)
treeac8d2e08493a4ece8772a4811591b566c194c14d /benchtests
parentfdf4534d02483af279deddfd23cb61f6079dd277 (diff)
downloadglibc-df26ea5359820f692565c44afb84ee3fd05e20d1.tar.gz
glibc-df26ea5359820f692565c44afb84ee3fd05e20d1.tar.xz
glibc-df26ea5359820f692565c44afb84ee3fd05e20d1.zip
Implement benchmarking script in python
Implemented the benchmark script in python since it is much cleaner
and simpler to maintain.
Diffstat (limited to 'benchtests')
-rw-r--r--benchtests/Makefile2
-rw-r--r--benchtests/README4
2 files changed, 4 insertions, 2 deletions
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