Description[Android WebView] Make InputStreamImpl::Read fill the IOBuffer.
This CL improves the performances of InputStreamImpl::Read. The
previous implementation was limiting each Read to transfer at most
4k. This CL makes it possible to fill, in a single run, the IOBuffer
up to the length provided by the caller.
In practice this will reduces the number of thread hops and IPCs.
Note: the max transfer size, at this point, is imited onlt by the
kMaxAllocationSize constant defined in async_resounrce_handler.cc.
BUG=294367
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224056
Patch Set 1 #
Total comments: 5
Patch Set 2 : Added tests + nits. #Patch Set 3 : Fixed tests #Patch Set 4 : Remove EOF #
Total comments: 6
Patch Set 5 : Nits #
Total comments: 2
Patch Set 6 : Fixed tests #
Messages
Total messages: 11 (0 generated)
|