Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Issue 2684483002: Ensure StyleSheetInsert-bootstrap.html doesn't spam willInsertBody IPCs (Closed)

Created:
3 years, 10 months ago by Charlie Harrison
Modified:
3 years, 10 months ago
Reviewers:
Pat Meenan
CC:
chromium-reviews, blink-reviews, blink-reviews-style_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure StyleSheetInsert-bootstrap.html doesn't spam willInsertBody IPCs A recent change to support ResourceScheduler in OOPIF mode [1] caused a regression on this benchmark. The reason is that this benchmark Essentially creates an empty iframe, populates it, and empties it again in a tight loop. This triggers us to send a WillInsertBody IPC for every loop iteration, adding a lot of overhead to the benchmark. As this idiom is likely not representative, this patch modifies the benchmark to instead just insert and remove the style node in a tight loop. [1] https://codereview.chromium.org/2655393004 BUG=689190 Review-Url: https://codereview.chromium.org/2684483002 Cr-Commit-Position: refs/heads/master@{#448621} Committed: https://chromium.googlesource.com/chromium/src/+/d68b4a106ecc41b8b16079a30ac422ad571554ed

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/PerformanceTests/CSS/StyleSheetInsert-bootstrap.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (8 generated)
Charlie Harrison
Hey Pat, would you review this? Please take a look at the linked issue to ...
3 years, 10 months ago (2017-02-07 00:54:59 UTC) #4
Pat Meenan
On 2017/02/07 00:54:59, Charlie Harrison wrote: > Hey Pat, would you review this? > > ...
3 years, 10 months ago (2017-02-07 13:47:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2684483002/1
3 years, 10 months ago (2017-02-07 14:26:57 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 14:31:30 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d68b4a106ecc41b8b16079a30ac4...

Powered by Google App Engine
This is Rietveld 408576698