Merge lp:~vila/bzr/selftest-fixes into lp:~bzr/bzr/trunk-old
Status: | Work in progress |
---|---|
Proposed branch: | lp:~vila/bzr/selftest-fixes |
Merge into: | lp:~bzr/bzr/trunk-old |
Diff against target: |
170 lines (has conflicts)
Text conflict in NEWS |
To merge this branch: | bzr merge lp:~vila/bzr/selftest-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Needs Fixing | ||
bzr-core | Pending | ||
Review via email: mp+10364@code.launchpad.net |
Unmerged revisions
- 4625. By Vincent Ladeuil
-
NEWS entry and some cleanup for submission.
- 4624. By Vincent Ladeuil
-
-Eslices conditions statistics display.
* bzrlib/
tests/_ _init__ .py:
(selftest_debug_flags) : Add a 'slices' debug flag.
(fork_for_tests.TestInOth erProcess. run): Display some key
statistics related to test suite slicing. - 4623. By Vincent Ladeuil
-
Some tuning and cleanup.
* bzrlib/
tests/_ _init__ .py:
(fork_for_tests.TestInOth erProcess. run): Cap slize size at 8 to
avoid spawning too much processes.
(fork_for_tests.TestInOth erProcess. run_slice) : Don't leave zombies
around, that hurts performances when tenths or hundreds are
produced. - 4622. By Vincent Ladeuil
-
Implement a balancing scheme to maximize processor utilisation.
* bzrlib/
tests/_ _init__ .py:
(fork_for_tests): Change the palce we fork to better control which
tests are run where. - 4621. By Vincent Ladeuil
-
Start hacking on balancing parallel selftest.
* bzrlib/
tests/_ _init__ .py:
(fork_for_tests): Start balancing forked selftest. This version
does not work. - 4620. By Vincent Ladeuil
-
Fixed as per John's review.
- 4619. By Vincent Ladeuil
-
Make --parallel=fork work again.
* bzrlib/
tests/_ _init__ .py:
(run_suite): CoutingDecorator is incompatible with
--parallel=fork, don't use the former when the later is
required (even if we lose the toal number of tests that has to be
run...). - 4618. By Canonical.com Patch Queue Manager <email address hidden>
-
(robertc) Fix test_write_group to not test inappropriate things on
RemoteRepository. (Robert Collins) - 4617. By Canonical.com Patch Queue Manager <email address hidden>
-
(robertc) Prepare test_foreign for rich roots as the default format.
(Robert Collins) - 4616. By Canonical.com Patch Queue Manager <email address hidden>
-
(robertc) Change a KnownFailure into a test with two success paths in
preperation for 2a as default. (Robert Collins)
This patch implements a better balancing algorithm for selftest --parallel=fork.
It leads to ~25% smaller elapsed time on 4-core (8 threads) host.
Or said otherwise, running the full test suite goes down from 4 minutes to 3 minutes.
I also added a '-Eslices' that helps understand how the tests are distributed.