Commit Graph

27 Commits

Author SHA1 Message Date
Julian Seward
adc2dafee9 Update copyright dates, to include 2015. No functional change.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15577
2015-08-21 11:32:26 +00:00
Florian Krohm
7aefdaa6ef Update the copyright notice in files ending in '.in' because the
script change-copyright-year did not handle them.
Update the script as well.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14087
2014-06-23 19:33:45 +00:00
Florian Krohm
e50359ee42 Improve help message.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13266
2013-01-24 21:32:32 +00:00
Florian Krohm
44100fc7db Upon successful run, remove temporary files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12991
2012-09-17 21:20:06 +00:00
Philippe Waroquiers
244ccd72d3 Have perf/vg_perf handling EXTRA_REGTEST_OPTS
Similarly to tests/vg_regtest, allow to run all perf tests with extra options.
(note: it was preferred to use the same env var name).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12777
2012-07-24 19:47:46 +00:00
Philippe Waroquiers
2bd926a725 outer/inner setup: new perf/vg_perf options to run perf tests + support translation chaining in inner.
* perf/vg_perf:
Similarly to tests/vg_regtest, perf/vg_perf now accepts the 3 
optional arguments:
    --outer-valgrind
    --outer-tool
    --outer-args

This allows easy analysis or comparison of performance between
different Valgrind versions (e.g. using callgrind, or cachegrind/cg_diff).

* See README_DEVELOPERS for more details.

* vg_regtest modified so as to use the 'in-place' build of inner, rather
  than the installed version.

* added option --smc-check=all-non-file to vg_perf and vg_regtest 
  outer default arguments (needed when evaluating a Valgrind which does
  translation chaining).




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12496
2012-04-08 19:52:38 +00:00
Nicholas Nethercote
00f539d573 Remove the --all option from vg_perf. It's useless now that there are
tool-specific tests in massif/perf/ and memcheck/perf/.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10390
2009-07-01 04:50:41 +00:00
Nicholas Nethercote
a01fea1a7a Simplify some Perl.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6569
2007-02-02 23:23:01 +00:00
Nicholas Nethercote
eef723fbcc An extension of the previous commit: the vg_perf --tools option is so useful
that I got rid of the "tools:" line in the .vg_perf files.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6364
2006-11-22 00:52:00 +00:00
Nicholas Nethercote
7a2f3512f4 Add a useful --tools option to vg_perf, which lets you override the "tools"
line in the .vgperf files from the command line.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6363
2006-11-22 00:39:08 +00:00
Nicholas Nethercote
931e8921fd Just use the first two letters of the toolname as the abbreviation.
Saves having to maintain a table of toolnames and abbreviations.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6344
2006-11-03 19:37:50 +00:00
Nicholas Nethercote
378f820775 Fix for nested subdirs
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6343
2006-11-03 19:35:20 +00:00
Nicholas Nethercote
7efcca54a0 Perf script:
- always trace into children
- addrcheck no longer exists



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6342
2006-11-03 19:30:33 +00:00
Julian Seward
9010793a97 Merge r6207:
Make vg_perf work on AIX, by using the POSIX-portability flag for
/usr/bin/time.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6304
2006-10-17 02:30:17 +00:00
Julian Seward
abc80f65ad Print native time to two places. Perhaps it would be better to adjust
the workloads to make some of the native runs take longer.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6222
2006-10-14 14:04:42 +00:00
Nicholas Nethercote
db00007839 Fix vg_perf to work with older Valgrind versions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5833
2006-04-06 22:59:35 +00:00
Nicholas Nethercote
c271b4af41 Avoid unnecessary whitespace at end of printed lines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5790
2006-03-27 00:39:43 +00:00
Nicholas Nethercote
f1f2e4c771 Change default --reps value from 3 to 1.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5423
2005-12-23 23:08:04 +00:00
Nicholas Nethercote
d7bd1688ca Add a malloc/free stress test.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5362
2005-12-17 00:22:39 +00:00
Nicholas Nethercote
d38a28567e Improvments to vg_perf:
- show percentage speedup over the first Valgrind when comparing multiple
  Valgrind
- don't accept --reps < 0
- avoid div-by-zero if the runtime is measured as zero



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5348
2005-12-15 17:22:37 +00:00
Nicholas Nethercote
b8922da7a0 Add --vg option to vg_perf, which lets you specify one or more Valgrinds
to time, and presents their timings in an easy-to-compare way.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5339
2005-12-14 02:58:23 +00:00
Nicholas Nethercote
cb30dfe2ba whoops
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5338
2005-12-13 22:00:17 +00:00
Nicholas Nethercote
9a24d17e62 Added a --reps option to control how many times each program is run.
Also added a better help message.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5336
2005-12-13 21:55:16 +00:00
Nicholas Nethercote
12dde1f51d Die if a performance benchmark is missing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5334
2005-12-13 21:44:48 +00:00
Nicholas Nethercote
7eb82ccaa9 Use user time instead of wall-clock time.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5332
2005-12-13 20:23:38 +00:00
Nicholas Nethercote
b676c5925b Abort the performance timings if any of the programs fail,
and record info in perf.{cmd,stdout,stderr} to allow diagnosis.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5328
2005-12-13 16:54:58 +00:00
Nicholas Nethercote
49db1b68a8 First attempt at some performance tracking tools. Includes a script vg_perf
(use "make perf" to run) that executes test programs and times their
slowdowns under various tools.  It works a lot like the vg_regtest script.
It's a bit rough around the edges -- eg. you can't currently directly
compare two different versions of Valgrind, which would be useful -- but it
is a good start.

There are currently two test programs in perf/.  More will be added as time
goes on.  This stuff will be built on so that performance changes can be
tracked over time.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5323
2005-12-10 23:11:28 +00:00