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

Issue 2680713002: Should not invalidate font cache for purge+suspend. (Closed)

Created:
3 years, 10 months ago by tasak
Modified:
3 years, 10 months ago
Reviewers:
haraken, bashi
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Should not invalidate font cache for purge+suspend. Invalidating font cache for purge+suspend always causes full layout when the tab is foregrounded. The full layout increases tab-switching cost significantly (observed when browsing en.wikipedia.org/wiki/wikipedia). So we should not invoke fontCache()->invalidate() when purge+suspended. BUG=635419 Review-Url: https://codereview.chromium.org/2680713002 Cr-Commit-Position: refs/heads/master@{#448944} Committed: https://chromium.googlesource.com/chromium/src/+/235cb99dc91534cc729e07a7b1ca5878ee57fcf5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M third_party/WebKit/Source/platform/MemoryCoordinator.cpp View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 20 (13 generated)
tasak
Would you review this CL?
3 years, 10 months ago (2017-02-07 08:13:57 UTC) #5
haraken
LGTM https://codereview.chromium.org/2680713002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp File third_party/WebKit/Source/platform/MemoryCoordinator.cpp (right): https://codereview.chromium.org/2680713002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp#newcode69 third_party/WebKit/Source/platform/MemoryCoordinator.cpp:69: // tab switching cost significantly. So for purge+throttle ...
3 years, 10 months ago (2017-02-07 08:33:21 UTC) #6
tasak
Thank you for review. https://codereview.chromium.org/2680713002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp File third_party/WebKit/Source/platform/MemoryCoordinator.cpp (right): https://codereview.chromium.org/2680713002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp#newcode69 third_party/WebKit/Source/platform/MemoryCoordinator.cpp:69: // tab switching cost significantly. ...
3 years, 10 months ago (2017-02-08 07:36:59 UTC) #11
haraken
LGTM
3 years, 10 months ago (2017-02-08 07:50:39 UTC) #12
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/2680713002/20001
3 years, 10 months ago (2017-02-08 10:15:34 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/235cb99dc91534cc729e07a7b1ca5878ee57fcf5
3 years, 10 months ago (2017-02-08 10:19:48 UTC) #19
bashi
3 years, 10 months ago (2017-02-08 23:06:04 UTC) #20
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698