]> git.notmuchmail.org Git - notmuch/commitdiff
perf-test: initial version of memory test infrastructure.
authorDavid Bremner <bremner@debian.org>
Sun, 16 Dec 2012 12:33:17 +0000 (08:33 -0400)
committerDavid Bremner <bremner@debian.org>
Tue, 25 Dec 2012 12:49:24 +0000 (08:49 -0400)
The idea is run some code under valgrind --leak-check=full and report
a summary, leaving the user to peruse the log file if they want.

We go to some lengths to preserve the log files from accidental
overwriting; the full corpus takes about 3 hours to run under valgrind
on my machine.

The naming of the log directories may be slightly controversial; in
the unlikely event of two runs in less than a second, the log will be
overwritten. A previous version with mktemp+timestamp was dismissed as
overkill; just mktemp alone does not sort nicely.

One new test is included, to check notmuch new for memory leaks.


No differences found