Revert "[WebSocket] Add --websocket-renderer-receive-quota-max command line flag."
This reverts commit 04d43cf5. Reason for revert: This is culprit of https://ci.chromium.org/p/chromium/builders/try/android-kitkat-arm-rel?limit=200 Original change's description: > [WebSocket] Add --websocket-renderer-receive-quota-max command line flag. > > This patch adds the flag that overrides default threshold value > that the renderer calls AddReceiveFlowControlQuota() to the browser per > receiving this amount of data so that the browser can continue sending > remaining data to the renderer. > Default value is 32k Bytes. > > The more the value is, browser tends the less stop sending packets > and then consumes more memory. > > This flag will be used to investigate the performance issue. > You can use this flag both on chrome and content_shell: > $ ./chrome.exe --websocket-renderer-receive-quota-max=3000000 > This flag sets the threshold 3M Bytes. > > Implementation detail: > This patch moves the default value constant from blink to > net/websockets/websocket_channel.h so that we can pass the command line > flag to the renderer. > This change also enables us to modify the value while considering sent buffer > from a server later on for further optimization. > > Bug: 865001 > Change-Id: Ib0f9638ece24fbc0523b94345d09a4382e9cf6a1 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1642850 > Commit-Queue: Yoichi Osato <yoichio@chromium.org> > Reviewed-by: Yutaka Hirano <yhirano@chromium.org> > Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> > Reviewed-by: Karan Bhatia <karandeepb@chromium.org> > Reviewed-by: Adam Rice <ricea@chromium.org> > Cr-Commit-Position: refs/heads/master@{#669123} TBR=kinuko@chromium.org,ricea@chromium.org,yhirano@chromium.org,yoichio@chromium.org,karandeepb@chromium.org Change-Id: Ie05433698213a42e86d27c94d1d995f93ff8c549 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 865001 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660391Reviewed-by:Takuto Ikuta <tikuta@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org> Cr-Commit-Position: refs/heads/master@{#669164}
Showing
Please register or sign in to comment