summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 20:57:13 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 20:57:13 +0000
commitc6e672e847e080826800d92583f1d57405977819 (patch)
treef7021abdf377d187151bd0b5d31bad664b8b3b56 /chrome/common/chrome_switches.cc
parent5fe2718a5268ab261a54d41d1cffa51bdc052932 (diff)
downloadchromium_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.cc3
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";