borgbackup/borg/testsuite
Thomas Waldmann a5a6ba0d77 integrate pytest-benchmark, test create, extract, list, delete, info, check, help, fixes #146
Instead of "realistic data", I chose the test data to be either all-zero (all-ascii-zero to be precise)
or all-random and benchmark them separately.
So we can better determine the cause (deduplication or storage) in case we see some performance regression.

"help" is benchmarked to see the minimum runtime when it basically does nothing.

also:
- refactor archiver execution core functionality into exec_cmd() so it can be used more flexibly
- tox: usually we want to skip benchmarks, only run them if requested manually
- install pytest-benchmark - run tox with "-r" to have it installed into your .tox envs
2015-10-11 16:07:11 +02:00
..
__init__.py tests: work around strange mtime granularity issue on netbsd, fixes #204 2015-09-18 00:02:44 +02:00
archive.py get rid of testsuite.mock, directly import from mock 2015-08-09 14:26:54 +02:00
archiver.py integrate pytest-benchmark, test create, extract, list, delete, info, check, help, fixes #146 2015-10-11 16:07:11 +02:00
benchmark.py integrate pytest-benchmark, test create, extract, list, delete, info, check, help, fixes #146 2015-10-11 16:07:11 +02:00
chunker.py misc chunker parameter changes 2015-06-21 01:46:41 +02:00
compress.py do not test lzma level 9 compression 2015-09-12 19:16:45 +02:00
crypto.py fix all references to package name 2015-05-22 19:21:41 +02:00
hashindex.py reimplement the chunk index merging in C 2015-08-06 23:32:53 +02:00
helpers.py fix tests on travis, which seem to set BORG_CACHE_DIR 2015-10-05 19:05:27 -04:00
key.py fix all references to package name 2015-05-22 19:21:41 +02:00
locking.py locking code: extract timeout/sleep code into reusable TimeoutTimer class 2015-07-13 16:45:18 +02:00
lrucache.py minor lrucache test fix 2015-08-15 16:15:10 +02:00
platform.py style and cosmetic fixes, no semantic changes 2015-07-11 18:31:49 +02:00
repository.py complete test coverage for SSH args parsing 2015-10-05 19:22:33 -04:00
upgrader.py rename convert command to upgrade 2015-10-03 12:36:52 -04:00
xattr.py xattr tests: ignore security.selinux attribute showing up 2015-09-14 01:26:20 +02:00