• koz@chromium.org's avatar
    Make chrome.exe rendezvous with existing chrome process earlier. · 10118167
    koz@chromium.org authored
    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
    10118167
policy.gypi 748 Bytes