speed up --pattern
The splitting of the tests into parts for parallelism made --pattern do extra work, because init tests have to be run for each part, but many of the parts are empty. For example, git-annex test --pattern '/move (ssh remote)/' took 12 seconds to run before. This improves the runtime to 4 seconds. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
b7ba6dfe48
commit
ac77aa40e7
2 changed files with 13 additions and 5 deletions
|
@ -14,4 +14,6 @@ This will limit the test suite to only running the that test:
|
|||
|
||||
I have that repeating locally in a loop, in case it's just something that
|
||||
happens every 1000 test runs or something like that.
|
||||
|
||||
(I've patched git-annex to speed up the above command 400%.)
|
||||
"""]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue