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

Issue 992413003: Delay font cache building by few seconds to yield for startup resource contention. (Closed)

Created:
5 years, 9 months ago by Shrikant Kelkar
Modified:
5 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delay font cache building by few seconds to yield for startup resource contention. During first renderer start there are lot of things happening simultaneously some of them are: 1. Renderer is going through all font files on the system to create a font collection. 2. Renderer loading up startup URL, accessing HTML/JS File cache, net activity etc. 3. Extension initialization. We delay building of this cache mainly to avoid parallel font file loading along with Renderer. Some systems have significant number of font files which takes long time process. BUG=458751, 436195 R=cpu,scottmg Committed: https://crrev.com/787e29c61825173adaf3414ff8e3d3c0c26f529b Cr-Commit-Position: refs/heads/master@{#320226} Committed: https://crrev.com/476acb7860ad2bd92d1ee5d6880b1fb157ab28b1 Cr-Commit-Position: refs/heads/master@{#321029}

Patch Set 1 #

Patch Set 2 : Added link to crbug #

Patch Set 3 : Added more description as per comment from reviewer. #

Total comments: 4

Patch Set 4 : Modified delay to 30 seconds. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 1 chunk +18 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
Shrikant Kelkar
5 years, 9 months ago (2015-03-11 02:09:35 UTC) #1
scottmg
Could you explain more in the description why this makes sense? i.e. what's happening in ...
5 years, 9 months ago (2015-03-11 16:00:40 UTC) #2
Shrikant Kelkar
On 2015/03/11 16:00:40, scottmg wrote: > Could you explain more in the description why this ...
5 years, 9 months ago (2015-03-11 19:32:59 UTC) #3
Peter Kasting
On 2015/03/11 19:32:59, Shrikant Kelkar wrote: > Done. ptal. No new patch is up?
5 years, 9 months ago (2015-03-11 19:34:45 UTC) #4
scottmg
lgtm with link to crbug.
5 years, 9 months ago (2015-03-11 19:40:02 UTC) #5
Peter Kasting
On 2015/03/11 19:34:45, Peter Kasting wrote: > On 2015/03/11 19:32:59, Shrikant Kelkar wrote: > > ...
5 years, 9 months ago (2015-03-11 19:42:09 UTC) #6
Shrikant Kelkar
On 2015/03/11 19:42:09, Peter Kasting wrote: > On 2015/03/11 19:34:45, Peter Kasting wrote: > > ...
5 years, 9 months ago (2015-03-11 19:44:21 UTC) #7
Peter Kasting
On 2015/03/11 19:44:21, Shrikant Kelkar wrote: > Signal by renderer is a good alternative thought, ...
5 years, 9 months ago (2015-03-11 19:45:54 UTC) #8
Shrikant Kelkar
On 2015/03/11 19:45:54, Peter Kasting wrote: > On 2015/03/11 19:44:21, Shrikant Kelkar wrote: > > ...
5 years, 9 months ago (2015-03-11 19:54:55 UTC) #9
Peter Kasting
On 2015/03/11 19:54:55, Shrikant Kelkar wrote: > Yes, in case of tab restore all renderers ...
5 years, 9 months ago (2015-03-11 19:56:55 UTC) #10
cpu_(ooo_6.6-7.5)
lgtm
5 years, 9 months ago (2015-03-12 01:38:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/992413003/40001
5 years, 9 months ago (2015-03-12 01:41:34 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-12 03:37:26 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/787e29c61825173adaf3414ff8e3d3c0c26f529b Cr-Commit-Position: refs/heads/master@{#320226}
5 years, 9 months ago (2015-03-12 03:37:51 UTC) #16
gab
https://codereview.chromium.org/992413003/diff/40001/chrome/browser/chrome_browser_main_win.cc File chrome/browser/chrome_browser_main_win.cc (right): https://codereview.chromium.org/992413003/diff/40001/chrome/browser/chrome_browser_main_win.cc#newcode266 chrome/browser/chrome_browser_main_win.cc:266: const int kBuildFontCacheDelaySec = 5; I don't think 5s ...
5 years, 9 months ago (2015-03-12 12:44:43 UTC) #18
Vangelis Kokkevis
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1009403004/ by vangelis@chromium.org. ...
5 years, 9 months ago (2015-03-16 22:46:40 UTC) #19
Shrikant Kelkar
On 2015/03/16 22:46:40, Vangelis Kokkevis wrote: > A revert of this CL (patchset #3 id:40001) ...
5 years, 9 months ago (2015-03-17 23:32:15 UTC) #20
Shrikant Kelkar
https://codereview.chromium.org/992413003/diff/40001/chrome/browser/chrome_browser_main_win.cc File chrome/browser/chrome_browser_main_win.cc (right): https://codereview.chromium.org/992413003/diff/40001/chrome/browser/chrome_browser_main_win.cc#newcode266 chrome/browser/chrome_browser_main_win.cc:266: const int kBuildFontCacheDelaySec = 5; On 2015/03/12 12:44:43, gab ...
5 years, 9 months ago (2015-03-17 23:32:23 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/992413003/60001
5 years, 9 months ago (2015-03-17 23:33:15 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-18 00:25:26 UTC) #25
commit-bot: I haz the power
5 years, 9 months ago (2015-03-18 00:26:25 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/476acb7860ad2bd92d1ee5d6880b1fb157ab28b1
Cr-Commit-Position: refs/heads/master@{#321029}

Powered by Google App Engine
This is Rietveld 408576698