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

Issue 1643533006: Use a single, generic, global zygote to temporarily resolve perf regressions. (Closed)

Created:
4 years, 10 months ago by Greg K
Modified:
4 years, 10 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a single, generic, global zygote to temporarily resolve perf regressions. The CL to have multiple zygotes has caused some performance regressions, due to the additional startup time required to launch the processes. This CL keeps then new API in place, but uses a single global zygote, resolving the startup overhead. Once the performance of permanent solutions has been measured and thought through, Chrome will return to having multiple zygote processes. BUG=569191, 580966, 580974 Committed: https://crrev.com/94807ee60fa56c118cac88b0f8f4e4e5231ef43f Cr-Commit-Position: refs/heads/master@{#372709}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Cleanup per review #

Patch Set 3 : Remove unused ppapi header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -18 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/utility_process_host_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/zygote_host/zygote_handle_linux.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/zygote_handle_linux.h View 1 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Greg K
Matthew, please review.
4 years, 10 months ago (2016-01-28 22:16:44 UTC) #3
mdempsky
I think duplicating the same global variable value across multiple places is a bad smell. ...
4 years, 10 months ago (2016-01-28 23:25:40 UTC) #4
Greg K
https://codereview.chromium.org/1643533006/diff/1/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/1643533006/diff/1/content/browser/browser_main_loop.cc#newcode230 content/browser/browser_main_loop.cc:230: RenderProcessHostImpl::EarlyZygoteLaunch(); On 2016/01/28 23:25:40, mdempsky wrote: > Before RenderProcessHostImpl::EarlyZygoteLaunch, ...
4 years, 10 months ago (2016-01-29 00:41:04 UTC) #5
mdempsky
lgtm
4 years, 10 months ago (2016-01-29 01:09:59 UTC) #6
Greg K
jochen@chromium.org, would you please provide an OWNERS review? This is designed to temporarily go back ...
4 years, 10 months ago (2016-01-29 01:12:56 UTC) #8
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-01-29 09:19:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643533006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643533006/40001
4 years, 10 months ago (2016-02-01 17:50:11 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-01 18:57:37 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 18:58:35 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/94807ee60fa56c118cac88b0f8f4e4e5231ef43f
Cr-Commit-Position: refs/heads/master@{#372709}

Powered by Google App Engine
This is Rietveld 408576698