Remove (comment out) asserts in WritableStream.js |
||||||
Issue descriptionWritableStream.js has all the asserts from the standard included as TEMP_ASSERT statements. This is very useful for debugging, but has a significant performance impact. They should be replaced by // assert() comments before M59 ships.
,
Apr 20 2017
,
Apr 21 2017
Requesting merge to M-59 branch. This change removes unnecessary debugging code, giving a useful performance benefit and reducing binary size. Risk is extremely low, as there is no functional change. All modified functions are covered by tests.
,
Apr 21 2017
Your change meets the bar and is auto-approved for M59. Please go ahead and merge the CL to branch 3071 manually. Please contact milestone owner if you have questions. Owners: amineer@(Android), cmasso@(iOS), gkihumba@(ChromeOS), Abdul Syed@(Desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 21 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f752fdbc7771c9fe61146f8f6c34c987f18430de commit f752fdbc7771c9fe61146f8f6c34c987f18430de Author: Adam Rice <ricea@chromium.org> Date: Fri Apr 21 07:50:38 2017 Comment out asserts in WritableStream.js assert() statements can have a major performance impact, so comment them out. They have not been removed completely as they can be easily re-enabled for debugging purposes, and are also useful as documentation. BUG= 709832 Review-Url: https://codereview.chromium.org/2818963002 Cr-Commit-Position: refs/heads/master@{#465538} (cherry picked from commit 8ac2349b4fc1649f4fef0a69de517ad74acabc10) Review-Url: https://codereview.chromium.org/2833033002 . Cr-Commit-Position: refs/branch-heads/3071@{#116} Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641} [modify] https://crrev.com/f752fdbc7771c9fe61146f8f6c34c987f18430de/third_party/WebKit/Source/core/streams/WritableStream.js
,
Apr 21 2017
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by bugdroid1@chromium.org
, Apr 19 2017