<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/performance-test/perf-test-lib.sh, branch 0.40</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.40</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.40'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-02-25T12:38:03Z</updated>
<entry>
<title>perf-test: allow running test_emacs from performance test suite.</title>
<updated>2022-02-25T12:38:03Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-12T20:27:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b21fa0e43371b8281b9aa8ea532088800bb37712'/>
<id>urn:sha1:b21fa0e43371b8281b9aa8ea532088800bb37712</id>
<content type='text'>
test_require_external prereq has to move to test-lib-common.sh, and
the new shell functions print_emacs_header and time_emacs are provided.

The somewhat indirect way of printing the output is to avoid the extra
"" present on string values from emacsclient.
</content>
</entry>
<entry>
<title>test: split variable settings to their own file</title>
<updated>2022-02-25T12:37:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-12T20:27:33Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=371fa28ced91e0d0036a98403fab61e9f5301ba4'/>
<id>urn:sha1:371fa28ced91e0d0036a98403fab61e9f5301ba4</id>
<content type='text'>
This allows sharing more variable settings between the (correctness)
tests and the performance-tests. Unfortunately it seems a bit tricky
to move settings to test-lib-common.sh, as that is sourced late in
test-lib.sh, and moving it earlier breaks things.
</content>
</entry>
<entry>
<title>perf-test: fix for verbose</title>
<updated>2021-08-05T12:04:53Z</updated>
<author>
<name>Felipe Contreras</name>
<email>felipe.contreras@gmail.com</email>
</author>
<published>2021-06-26T20:13:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6fec5d771ede7998ff395abd636d391c21163409'/>
<id>urn:sha1:6fec5d771ede7998ff395abd636d391c21163409</id>
<content type='text'>
Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;
</content>
</entry>
<entry>
<title>perf-test: add option to run perf</title>
<updated>2021-04-28T11:49:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-04-25T15:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a20478abb517a8c6c046a1ff640fa02d118aa88'/>
<id>urn:sha1:6a20478abb517a8c6c046a1ff640fa02d118aa88</id>
<content type='text'>
Although the generation of perf data is not as slow as valgrind, it
seems simplest to re-use the machinery already there to save the logs
in a timestamped subdirectory.
</content>
</entry>
<entry>
<title>test: unbreak performance tests</title>
<updated>2017-12-05T01:04:38Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-12-02T12:53:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1e4e8e3bf564ea190b42e9347b22c62fa6b78396'/>
<id>urn:sha1:1e4e8e3bf564ea190b42e9347b22c62fa6b78396</id>
<content type='text'>
In 8e7fb88237aedea22 Jani replaced the use of $(pwd -P) to find the
TEST_DIRECTORY in order to better support out of tree
builds. Unfortunately the performance-tests need a different value for
the variable and were thus broken.

This commit splits out the setting of this variable for the two sets
of tests.  Performance tests still don't work out of tree, because
the handling of the downloaded corpus needs to be updated.
</content>
</entry>
<entry>
<title>perf-test: use source and build paths in perf-test-lib.sh</title>
<updated>2017-10-20T22:54:22Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2017-09-25T20:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e16b051528b273e16306224f128b28d0091bc6a'/>
<id>urn:sha1:2e16b051528b273e16306224f128b28d0091bc6a</id>
<content type='text'>
Make a distinction between source and build directories.
</content>
</entry>
<entry>
<title>perf-test: use 'eval' in memory_run</title>
<updated>2017-03-18T16:34:32Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2017-03-18T16:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0c8ce66ef4645e84887884fb5669fe158172f426'/>
<id>urn:sha1:0c8ce66ef4645e84887884fb5669fe158172f426</id>
<content type='text'>
This allows the use of redirection in the tests
</content>
</entry>
<entry>
<title>test: make script exit (1) if it "fails" to source (.) a file</title>
<updated>2015-08-07T19:56:39Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2015-08-06T09:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=02a2eeb427d6b424029f6e5e5ddad4c6ec987741'/>
<id>urn:sha1:02a2eeb427d6b424029f6e5e5ddad4c6ec987741</id>
<content type='text'>
The files (test) scripts source (with builtin command `.`) provides
information which the scripts depend, and without the `source` to
succeed allowing script to continue may lead to dangerous situations
(e.g. rm -rf "${undefined_variable}"/*).

At the end of all source (.) lines construct ' || exit 1' was added;
In our case the script script will exit if it cannot find (or read) the
file to be sourced. Additionally script would also exits if the last
command of the sourced file exited nonzero.
</content>
</entry>
<entry>
<title>cli: change "setup" to "set up" where used as a verb</title>
<updated>2015-05-31T17:14:42Z</updated>
<author>
<name>J. Lewis Muir</name>
<email>jlmuir@imca-cat.org</email>
</author>
<published>2015-05-27T17:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d08af93c65310c2d5ec8033040854f8ff4e5550f'/>
<id>urn:sha1:d08af93c65310c2d5ec8033040854f8ff4e5550f</id>
<content type='text'>
The word "setup" is a noun, not a verb.  Change occurrences of "setup"
where used as a verb to "set up".
</content>
</entry>
<entry>
<title>perf-test: use command line arguments for directories</title>
<updated>2014-03-15T00:47:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2014-03-07T12:03:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8fcc3260a9a936de72d755e61d93d5a24380e8b7'/>
<id>urn:sha1:8fcc3260a9a936de72d755e61d93d5a24380e8b7</id>
<content type='text'>
It seems that between version 1.26 and 1.27 of gnu tar, directories to
be extracted read with --files-from are no longer recursively extacted.
This patch puts them on the command line instead.
</content>
</entry>
</feed>
