<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/performance-test/perf-test-lib.sh, branch 0.17</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.17</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.17'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2012-12-31T01:12:11Z</updated>
<entry>
<title>perf-test: initial support for talloc leak report in memory tests</title>
<updated>2012-12-31T01:12:11Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-26T16:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8d05dcfffe001dc64d750f509e049340320b4dd9'/>
<id>urn:sha1:8d05dcfffe001dc64d750f509e049340320b4dd9</id>
<content type='text'>
As with the valgrind logs, we print a (very) brief summary and leave
the log for inspection.
</content>
</entry>
<entry>
<title>perf-test: initial version of memory test infrastructure.</title>
<updated>2012-12-25T12:49:24Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-16T12:33:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=098ef4af4d0a52a6b4daed5324a7c77f6c9108da'/>
<id>urn:sha1:098ef4af4d0a52a6b4daed5324a7c77f6c9108da</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>perf-test: unpack tags.</title>
<updated>2012-12-15T12:17:58Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-04T02:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5c35791d7cf7279024befc98e9d973af461336a3'/>
<id>urn:sha1:5c35791d7cf7279024befc98e9d973af461336a3</id>
<content type='text'>
There is only one set of tags, independant of the size of message
corpus chosen.
</content>
</entry>
<entry>
<title>perf-test: add caching of xapian database</title>
<updated>2012-12-15T12:17:58Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-03T12:48:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=ceaf5ca6c02e494eee5b9b9aa955459b3cd29471'/>
<id>urn:sha1:ceaf5ca6c02e494eee5b9b9aa955459b3cd29471</id>
<content type='text'>
The caching and uncaching seem to be necessarily manual, as timing the
initial notmuch new is one of our goals with this suite.
</content>
</entry>
<entry>
<title>perf-test: cache unpacked corpus</title>
<updated>2012-12-15T12:17:57Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-03T12:13:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=74a883562b3e4593c75fa7625ff5cabab46a6466'/>
<id>urn:sha1:74a883562b3e4593c75fa7625ff5cabab46a6466</id>
<content type='text'>
Unpacking is not really the expensive step (compared to the initial
notmuch new), but this is a pre-requisite to caching the database.
</content>
</entry>
<entry>
<title>perf-test: optionally print description for each group of tests</title>
<updated>2012-12-15T12:17:57Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-06T01:41:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=925ebd1fde59b003a7215e8cd7e07225a8f8915d'/>
<id>urn:sha1:925ebd1fde59b003a7215e8cd7e07225a8f8915d</id>
<content type='text'>
Output from tests is indented slightly in the same style as the
correctness tests.
</content>
</entry>
<entry>
<title>perf-test: add corpus size to output, compact I/O stats</title>
<updated>2012-12-15T02:23:55Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-04T02:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a3137c61e144935fde9896855ffc8625f7505c37'/>
<id>urn:sha1:a3137c61e144935fde9896855ffc8625f7505c37</id>
<content type='text'>
Austin suggested a while ago that the corpus size be printed in the
header. In the end it seems the corpus will be fixed per test script,
so this suggestion indeed makes sense.

The tabbing was wrapping on my usual 80 column terminal, so I joined
the input and output columns together.
</content>
</entry>
<entry>
<title>perf-test: add argument parsing for performance tests</title>
<updated>2012-12-15T02:23:55Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-03T23:56:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e7c661d31a23d1f711a84e6eca85eea9b67f11fe'/>
<id>urn:sha1:e7c661d31a23d1f711a84e6eca85eea9b67f11fe</id>
<content type='text'>
This patch just sets (non-exported) variables. The variable $debug is
already used, and $corpus_size will be used in following commits.
</content>
</entry>
<entry>
<title>perf-test: propagate non-zero returns from /usr/bin/time</title>
<updated>2012-12-15T02:23:54Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-12-06T01:37:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e52597016f5e5dfbceb73068dd165f3f3849ee7b'/>
<id>urn:sha1:e52597016f5e5dfbceb73068dd165f3f3849ee7b</id>
<content type='text'>
Unlike in the correctness tests, the most common cause of non-zero
return seems to be the user interrupting, so killing the run seems
like the friendly thing to do.
</content>
</entry>
<entry>
<title>performance-test: add units to In and Out</title>
<updated>2012-11-29T13:28:46Z</updated>
<author>
<name>David Bremner</name>
<email>bremner@debian.org</email>
</author>
<published>2012-11-28T21:27:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a4eabfd1b7b6c72af09153df082bac3dca7c4420'/>
<id>urn:sha1:a4eabfd1b7b6c72af09153df082bac3dca7c4420</id>
<content type='text'>
Austin Read enough Fine Manuals to figure out this is in multiples of
512 bytes.
</content>
</entry>
</feed>
