DescriptionOptimize StyleSheetContents::checkLoaded by keeping track of completed
and loading clients.
For the input-wstyle.html benchmark from the bug report this brings
the difference between the x-input and the x-input-style down to
a factor of two and the time scales linearly with the number of
elements added in the benchmark.
x-input: 52.1520ms
x-input-style: 105.3900ms
input: 27.0840ms
R=adamk@chromium.org, esprehn@chromium.org, haraken@chromium.org, tasak@chromium.org
BUG=350785
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169287
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use early return #
Total comments: 10
Patch Set 3 : Address comments. #
Messages
Total messages: 8 (0 generated)
|