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

Issue 2681523002: Increase the number of TaskScheduler foreground threads in renderers. (Closed)

Created:
3 years, 10 months ago by fdoray
Modified:
3 years, 10 months ago
Reviewers:
robliao, gab, jam
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Increase the number of TaskScheduler foreground threads in renderers. V8Platform::CallOnBackgroundThread() will soon post tasks to TaskScheduler instead of WorkerPool. To avoid a perf regression when this change lands, TaskScheduler should be able to run |num_cores| of these tasks in parallel. BUG=659191 Review-Url: https://codereview.chromium.org/2681523002 Cr-Commit-Position: refs/heads/master@{#449295} Committed: https://chromium.googlesource.com/chromium/src/+/743f8d6db5bc0efd51c3e7ce0fcec1a86886a364

Patch Set 1 #

Patch Set 2 : self-review #

Patch Set 3 : self-review #

Total comments: 2

Patch Set 4 : do not use RecommededMaxNumberOfThreadsInPool #

Total comments: 4

Patch Set 5 : CR gab #14 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -11 lines) Patch
M content/renderer/render_process_impl.cc View 1 2 3 4 3 chunks +6 lines, -11 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (19 generated)
fdoray
PTAL
3 years, 10 months ago (2017-02-06 19:34:42 UTC) #5
robliao
https://codereview.chromium.org/2681523002/diff/40001/content/renderer/render_process_impl.cc File content/renderer/render_process_impl.cc (right): https://codereview.chromium.org/2681523002/diff/40001/content/renderer/render_process_impl.cc#newcode126 content/renderer/render_process_impl.cc:126: base::RecommendedMaxNumberOfThreadsInPool( Is using RecommendedMax... better than a std::min(2, SysInfo::NumberOfProcessors())? ...
3 years, 10 months ago (2017-02-06 20:07:52 UTC) #7
fdoray
PTAnL https://codereview.chromium.org/2681523002/diff/40001/content/renderer/render_process_impl.cc File content/renderer/render_process_impl.cc (right): https://codereview.chromium.org/2681523002/diff/40001/content/renderer/render_process_impl.cc#newcode126 content/renderer/render_process_impl.cc:126: base::RecommendedMaxNumberOfThreadsInPool( On 2017/02/06 20:07:51, robliao wrote: > Is ...
3 years, 10 months ago (2017-02-06 20:14:03 UTC) #9
robliao
lgtm
3 years, 10 months ago (2017-02-06 20:15:42 UTC) #11
fdoray
jam@: PTAL
3 years, 10 months ago (2017-02-06 20:18:12 UTC) #13
gab
https://codereview.chromium.org/2681523002/diff/60001/content/renderer/render_process_impl.cc File content/renderer/render_process_impl.cc (right): https://codereview.chromium.org/2681523002/diff/60001/content/renderer/render_process_impl.cc#newcode117 content/renderer/render_process_impl.cc:117: // expects to have as many threads as cores ...
3 years, 10 months ago (2017-02-06 21:17:11 UTC) #14
jam
lgtm
3 years, 10 months ago (2017-02-07 01:21:48 UTC) #17
fdoray
gab@: PTAnL https://codereview.chromium.org/2681523002/diff/60001/content/renderer/render_process_impl.cc File content/renderer/render_process_impl.cc (right): https://codereview.chromium.org/2681523002/diff/60001/content/renderer/render_process_impl.cc#newcode117 content/renderer/render_process_impl.cc:117: // expects to have as many threads ...
3 years, 10 months ago (2017-02-09 13:32:14 UTC) #18
gab
lgtm
3 years, 10 months ago (2017-02-09 15:20:35 UTC) #24
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/2681523002/80001
3 years, 10 months ago (2017-02-09 15:20:58 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 15:25:12 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/743f8d6db5bc0efd51c3e7ce0fce...

Powered by Google App Engine
This is Rietveld 408576698