aboutsummaryrefslogtreecommitdiffhomepage
path: root/performance-test/README
Commit message (Collapse)AuthorAge
* perf-test: initial version of memory test infrastructure.Gravatar David Bremner2012-12-25
| | | | | | | | | | | | | | | | 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.
* perf-test: rename current tests as "time tests"Gravatar David Bremner2012-12-25
| | | | | | | | This is almost entirely renaming files, except for updating a few references to those file names, and changing the makefile target. A new set of memory tests will be run separately because they take much longer.
* perf-test: split basic into 00-new, 01-dump-restore, and 02-tagGravatar David Bremner2012-12-15
| | | | | We use the new "time_start" function to restore the database from cache if possible.
* perf-test: update READMEGravatar David Bremner2012-12-15
| | | | Describe new argument parsing and mention cache handling routines.
* performance-test/README: update instructions for fetching corpus.Gravatar David Bremner2012-11-29
| | | | It turns out not everybody on the planet has my gpg key.
* test: initial performance testing infrastructureGravatar David Bremner2012-11-26
This is not near as fancy as as the unit tests, on the theory that the code should typically be crashing when performance tuning. Nonetheless, there is plenty of room for improvement. Several more of the pieces of the test infrastructure (e.g. the option parsing) could be factored out into test/test-lib-common.sh