Changeset 89302 in webkit
- Timestamp:
- Jun 20, 2011 4:05:40 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r89290 r89302 1 2011-06-20 Dirk Pranke <dpranke@chromium.org> 2 3 Reviewed by Ojan Vafai. 4 5 new-run-webkit-tests: order shards by name, not number of tests 6 https://bugs.webkit.org/show_bug.cgi?id=62753 7 8 * Scripts/webkitpy/layout_tests/layout_package/manager.py: 9 1 10 2011-06-20 Dirk Pranke <dpranke@chromium.org> 2 11 -
trunk/Tools/Scripts/webkitpy/layout_tests/layout_package/manager.py
r89206 r89302 569 569 tests_by_dir.setdefault(directory, []) 570 570 tests_by_dir[directory].append(test_input) 571 # Sort by the number of tests in the dir so that the ones with the572 # most tests get run first in order to maximize parallelization.573 # Number of tests is a good enough, but not perfect, approximation574 # of how long that set of tests will take to run. We can't just use575 # a PriorityQueue until we move to Python 2.6.576 571 for directory in tests_by_dir: 577 572 test_list = tests_by_dir[directory] 578 573 test_list_tuple = (directory, test_list) 579 574 test_lists.append(test_list_tuple) 580 test_lists.sort(lambda a, b: cmp(len(b[1]), len(a[1]))) 575 576 # Sort the shards by directory name. 577 test_lists.sort(lambda a, b: cmp(a[0], b[0])) 581 578 582 579 # Put the http tests first. There are only a couple hundred of them,
Note: See TracChangeset
for help on using the changeset viewer.