]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add documentation on how to run the performance suite.
authorNicholas Nethercote <njn@valgrind.org>
Fri, 2 Jun 2006 23:57:22 +0000 (23:57 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 2 Jun 2006 23:57:22 +0000 (23:57 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5951

NEWS
README_DEVELOPERS

diff --git a/NEWS b/NEWS
index 4c57553e67aab715eff10ea06950dfc5dfd290ad..b87a9a454a2c07a5c64b5086ddb165c20159f49e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -83,7 +83,7 @@ Lackey has been improved, and MPI support has been added.  In detail:
   have been fixed.
 
 - A simple performance evaluation suite has been added.  See
-  perf/README for details.  "make perf" runs the tests.  There are
+  perf/README and README_DEVELOPERS for details.  There are
   various bells and whistles.
 
 - New configuration flags:
index 2797565c1b7e4e1e5997a1e35a1b9b34dd0a4191..783502839992bfed84391c7e7e96a4816d421f50 100644 (file)
@@ -33,6 +33,30 @@ file.  Eg:
   perl tests/vg_regtest memcheck/tests/badfree
 
 
+Running the performance suite
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+To build and run the whole performance suite, run "make [--quiet] perf".
+
+To run a subset of the regression tests, execute:
+
+  perl perf/vg_perf <name>
+
+where <name> is a directory (all tests within will be run) or a single
+.vgperf test file, or the name of a program which has a like-named .vgperf
+file.  Eg:
+
+  perl perf/vg_perf perf/
+  perl perf/vg_perf perf/bz2.vgperf
+  perl perf/vg_perf perf/bz2
+
+To compare multiple versions of Valgrind, use the --vg= options multiple
+times.  For example, if you have two Valgrinds next to each other, one in
+trunk1/ and one in trunk2/, from either trunk1/ or trunk2/ do this to
+compare them on the entire suite:
+
+  perl perf/vg_perf --vg=../trunk1 --vg=../trunk2 perf/
+
+
 Debugging Valgrind with GDB
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 To debug the valgrind launcher program (<prefix>/bin/valgrind) just