DescriptionParsing expectations for run-webkit-tests takes >20 seconds.
All this time is in TestExpecationsParser.parse on line 204:
if expectation_line.path in self._full_test_list:
Instead, use a dictionary so this lookup is O(1) instead of O(n).
This saves 20-25 seconds on my desktop machine.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197078
Patch Set 1 #Patch Set 2 : fix tests #Patch Set 3 : use a set and rename variable #
Messages
Total messages: 15 (5 generated)
|
||||||||||||||||||||||||||||