Building and not installing it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
To run Valgrind without having to install it, run coregrind/valgrind
with the VALGRIND_LIB environment variable set, where <dir> is the root
of the source tree (and must be an absolute path). Eg:
perl tests/vg_regtest memcheck/tests/badfree
-Running the performance suite
+Running the performance tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-To build and run the whole performance suite, run "make [--quiet] perf".
+To build and run all the performance tests, run "make [--quiet] perf".
-To run a subset of the regression tests, execute:
+To run a subset of the performance suite, execute:
perl perf/vg_perf <name>
perl perf/vg_perf perf/bz2.vgperf
perl perf/vg_perf perf/bz2
-To compare multiple versions of Valgrind, use the --vg= options multiple
+To compare multiple versions of Valgrind, use the --vg= option 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:
+trunk1/ and one in trunk2/, from within either trunk1/ or trunk2/ do this to
+compare them on all the performance tests:
perl perf/vg_perf --vg=../trunk1 --vg=../trunk2 perf/