1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00
Commit graph

12 commits

Author SHA1 Message Date
Thomas Waldmann
19729d3983 requirements: use latest pytest-cov, not blocked by py32 any more
also: pytest-benchmark 3.x is released, just use latest
2016-01-24 15:16:05 +01:00
Thomas Waldmann
dabac6a4ed use mock from stdlib, fixes #145 2016-01-24 14:57:48 +01:00
Thomas Waldmann
a237c1fb53 add virtualenv<14.0 to requirements so tox does not pull in a py32 incompatible one 2016-01-22 23:12:08 +01:00
Thomas Waldmann
2b8b31bca5 update pytest-benchmark requirement
it's released now. \o/
2015-11-22 15:39:31 +01:00
Thomas Waldmann
3d2a1da983 use latest pytest-benchmark 2015-11-07 16:13:24 +01:00
Thomas Waldmann
f8b536890b use pytest-benchmark from pypi 2015-10-14 00:54:32 +02:00
Thomas Waldmann
08d96099f1 pytest-benchmark: use git master code, fixes py32 issues 2015-10-12 00:52:52 +02:00
Thomas Waldmann
9dccc809a9 create a separate requirements file for travis - without pytest-benchmark
pytest-benchmark (and its dependency "statistics") needs py 3.3+.

we do not want to run benchmarks on travis anyway, but even its presence
makes trouble due to this, so we just remove it from there again.

as --benchmark-skip is also removed from tox configuration, this means benchmarks
are run by default when pytest-benchmark is installed.
2015-10-11 17:06:12 +02:00
Thomas Waldmann
a9b1e591ab upgrade pytest-benchmark to a4 2015-10-11 16:25:43 +02:00
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
Thomas Waldmann
5864bd76eb fix test coverage / codecov.io, use xcode6.4 2015-08-08 18:31:41 +02:00
Roberto Polli
0b226aec7a add development.txt and modify tox.ini 2015-07-25 15:39:42 +02:00