DescriptionRevert of Transform ImagePreReader into PreReadFile. (patchset #8 id:140001 of https://codereview.chromium.org/1412673006/ )
Reason for revert:
This patch increases cold startup time on XP (crbug.com/551488). Local tests were done on Win8 only, so we didn't catch that regression before submitting the patch.
It's strange that touching pages of a PE file loaded with ::LoadLibraryExW doesn't do the same thing as touching pages of a memory-mapped PE file.
Original issue's description:
> Transform ImagePreReader into PreReadFile.
>
> We can reduce startup time by pre-reading different non-PE files
> (e.g. ChromeDWriteFontCache, GPU cache, resources).
>
> This CL transforms ImagePreReader into PreReadFile, which can
> pre-read any file type.
>
> BUG=547794
>
> Committed: https://crrev.com/031ed3ba5d22e04d7f8ad3641aed82bc9c17f8ae
> Cr-Commit-Position: refs/heads/master@{#357689}
TBR=jochen@chromium.org,grt@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=551488
Committed: https://crrev.com/bc1a48d97b535993c8644acc89fd761da7cd99c2
Cr-Commit-Position: refs/heads/master@{#358049}
Patch Set 1 #
Messages
Total messages: 12 (4 generated)
|