diff options
author | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-05 00:24:45 +0000 |
---|---|---|
committer | koz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-05 00:24:45 +0000 |
commit | 10118167a343fbaeba4897e1279580f7ba2a686e (patch) | |
tree | 4b373f2513a2870469429c69387e72c5b9af56b2 /chrome/metro_utils.gypi | |
parent | db9c0bddea190210149393e7c4706921cf798aa3 (diff) | |
download | chromium_src-10118167a343fbaeba4897e1279580f7ba2a686e.zip chromium_src-10118167a343fbaeba4897e1279580f7ba2a686e.tar.gz chromium_src-10118167a343fbaeba4897e1279580f7ba2a686e.tar.bz2 |
Make chrome.exe rendezvous with existing chrome process earlier.
This change causes chrome to attempt to locate and defer to an already running
chrome process earlier in startup (before chrome.dll is loaded).
Some benchmarks* (all times are in ms):
ASUS S200E (low-end netbook):
Unpatched: 1109, 547, 2656, 381
Patched: 125, 125, 78, 78
z620 (high-end dev machine)
Unpatched: 124, 125, 125, 219
Patched: 47, 63, 63, 46
chrome.exe size:
Unpatched: 748K
Patched: 768K
* The period measured was that between chrome.exe being executed and the existing chrome process receiving WM_COPYDATA.
BUG=171588
TBR=cpu@chromium.org, gab@chromium.org, grt@chromium.org, pastarmovj@chromium.org, shrikant@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/14617003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/metro_utils.gypi')
-rw-r--r-- | chrome/metro_utils.gypi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/metro_utils.gypi b/chrome/metro_utils.gypi new file mode 100644 index 0000000..000ac25 --- /dev/null +++ b/chrome/metro_utils.gypi @@ -0,0 +1,23 @@ +# Copyright 2013 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'metro_utils', + 'type': 'static_library', + 'dependencies': [ + 'installer_util', + '../base/base.gyp:base', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'browser/metro_utils/metro_chrome_win.cc', + 'browser/metro_utils/metro_chrome_win.h', + ], + }, + ], +} |