DescriptionAdd a cap of six in-flight requests per host to the ResourceScheduler
There's a cap of 10 delayable in-flight requests already present in the ResourceScheduler, but due to the underlying cap on six connections per host we sometimes don't utilize all ten if they're all for the same host. This CL adds an additional per-host cap, meaning if there's already six in-flight requests going to foo.bar.com, another request to foo.bar.com will be skipped in favour of a later-queued request to foo2.bar.com.
Tests from pmeenan@ suggests this results in an overall increase of onload and Speed Index speed by about 2.5%, and DOM Content Loaded speed by 1.15%.
BUG=319488
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235491
Patch Set 1 #Patch Set 2 : Updated the per-host request cap to take high-pri requests into account #Patch Set 3 : Rebase #Patch Set 4 : Fixed build #
Total comments: 20
Patch Set 5 : Review fixes #
Total comments: 2
Patch Set 6 : Review fixes #Patch Set 7 : Rebase #
Total comments: 2
Patch Set 8 : Removed duplicate iteration code #
Total comments: 2
Patch Set 9 : Review fix #
Messages
Total messages: 16 (0 generated)
|