Changing the pre-reading of chrome.dll to read it as an image section instead. XP ignores pages read as data
while mapping image sections. This shows a reasonable improvement in cold startup performance on XP.

This change only comes into effect for headless mode which enables us to try out the effect on the perf bots
and for chrome frame processes.

Code mostly written by Amit.

Added a chrome frame perf tests which measures LoadLibrary in cold mode with pre-reading.

Bug=45510

Review URL: http://codereview.chromium.org/2805064

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51594 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed