Merge lp:~jameinel/bzr/2.0.1-faster-chk-tests into lp:bzr/2.0
Proposed by
John A Meinel
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~jameinel/bzr/2.0.1-faster-chk-tests |
Merge into: | lp:bzr/2.0 |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~jameinel/bzr/2.0.1-faster-chk-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email: mp+12311@code.launchpad.net |
To post a comment you must log in.
This is a fairly trivial test suite cleanup.
I'm looking at working on bug 374730 as a potential 2.0 target, but wanted to clean this up along the way (thus this must also be a 2.0 target.)
Anyway, this change changes a test case to work entirely in memory. We've already changed test_chk_map to do the same, we just missed this one.
With this change "time bzr selftest -s bt.test_ inv.TestCHK"
drops from 1.06s down to 0.343s And 156ms of that is the TestCase creation of the testing directory overhead.
So the real benefit is 904ms => 187ms or almost 5x faster.