aboutsummaryrefslogtreecommitdiff
path: root/benchtests/README
diff options
context:
space:
mode:
authorVictor Rodriguez <victor.rodriguez.bahena@intel.com>2017-11-28 19:57:46 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-11-28 19:57:46 +0530
commit0422ed1e84d923023f3bd57e723d3d4dc7569901 (patch)
tree695887f870b2b6303dd0ef96130545223276c381 /benchtests/README
parentd5090db30edf04f39dc0eacfc09db72af8045f39 (diff)
downloadglibc-0422ed1e84d923023f3bd57e723d3d4dc7569901.zip
glibc-0422ed1e84d923023f3bd57e723d3d4dc7569901.tar.gz
glibc-0422ed1e84d923023f3bd57e723d3d4dc7569901.tar.bz2
benchtests: Enable BENCHSET to run subset of tests
This patch adds BENCHSET variable to benchtests/Makefile in order to provide the capability to run a list of subsets of benchmark tests, ie; make bench BENCHSET="bench-pthread bench-math malloc-thread" This helps users to benchmark specific glibc area ChangeLog: * benchtests/Makefile:Add BENCHSET to allow subsets of benchmarks to be run. * benchtests/README: Add documentation for: Running subsets of benchmarks. Signed-off-by: Victor Rodriguez <victor.rodriguez.bahena@intel.com> Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com> Reviewed-By: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'benchtests/README')
-rw-r--r--benchtests/README19
1 files changed, 19 insertions, 0 deletions
diff --git a/benchtests/README b/benchtests/README
index 9aa750a..4ddff79 100644
--- a/benchtests/README
+++ b/benchtests/README
@@ -53,6 +53,25 @@ otherwise the above command may try to build the benchmark again. Benchmarks
that require generated code to be executed during the build are skipped when
cross-building.
+Running subsets of benchmarks:
+==============================
+
+To run only a subset of benchmarks, one may invoke make as follows
+
+ $ make bench BENCHSET="bench-pthread bench-math malloc-thread"
+
+where BENCHSET may be a space-separated list of the following values:
+
+ bench-math
+ bench-pthread
+ bench-string
+ string-benchset
+ wcsmbs-benchset
+ stdlib-benchset
+ stdio-common-benchset
+ math-benchset
+ malloc-thread
+
Adding a function to benchtests:
===============================