diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 20:57:13 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 20:57:13 +0000 |
commit | c6e672e847e080826800d92583f1d57405977819 (patch) | |
tree | f7021abdf377d187151bd0b5d31bad664b8b3b56 /chrome/common/chrome_switches.cc | |
parent | 5fe2718a5268ab261a54d41d1cffa51bdc052932 (diff) | |
download | chromium_src-c6e672e847e080826800d92583f1d57405977819.zip chromium_src-c6e672e847e080826800d92583f1d57405977819.tar.gz chromium_src-c6e672e847e080826800d92583f1d57405977819.tar.bz2 |
Use one worker process per domain until we hit the maximum count of 10, then reuse processes.
Also add a test mode --webworker-process-per-core to create a worker process per worker until we hit the number of cores, then reuse.
Review URL: http://codereview.chromium.org/61001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index c12b578..e5573ca 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -400,6 +400,9 @@ const wchar_t kEnableOutOfProcessDevTools[] = L"enable-oop-devtools"; // Enable HTML5 Worker support const wchar_t kEnableWebWorkers[] = L"enable-web-workers"; +// Causes the worker process allocation to use as many processes as cores. +const wchar_t kWebWorkerProcessPerCore[] = L"web-worker-process-per-core"; + // Enables experimental views under gtk. const wchar_t kViewsGtk[] = L"views-gtk"; |