Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Issue 1411683010: Revert of Transform ImagePreReader into PreReadFile. (Closed)

Created:
5 years, 1 month ago by fdoray
Modified:
5 years, 1 month ago
CC:
chromium-reviews, Roger McFarlane (Chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@a_get_module_path
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+505 lines, -114 lines) Patch
M chrome/BUILD.gn View 2 chunks +5 lines, -5 lines 0 comments Download
D chrome/app/file_pre_reader_win.h View 1 chunk +0 lines, -23 lines 0 comments Download
D chrome/app/file_pre_reader_win.cc View 1 chunk +0 lines, -80 lines 0 comments Download
A chrome/app/image_pre_reader_win.h View 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/app/image_pre_reader_win.cc View 1 chunk +419 lines, -0 lines 0 comments Download
M chrome/app/main_dll_loader_win.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_exe.gypi View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
fdoray
Created Revert of Transform ImagePreReader into PreReadFile.
5 years, 1 month ago (2015-11-05 04:38:48 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411683010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411683010/1
5 years, 1 month ago (2015-11-05 05:36:39 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 1 month ago (2015-11-05 05:36:40 UTC) #5
fdoray
grt@: Could you review this CL (and maybe check the commit box)? Thanks. I'll revert ...
5 years, 1 month ago (2015-11-05 05:43:55 UTC) #7
grt (UTC plus 2)
lgtm
5 years, 1 month ago (2015-11-05 14:11:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411683010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411683010/1
5 years, 1 month ago (2015-11-05 14:12:16 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 1 month ago (2015-11-05 14:13:21 UTC) #11
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 14:14:19 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bc1a48d97b535993c8644acc89fd761da7cd99c2
Cr-Commit-Position: refs/heads/master@{#358049}

Powered by Google App Engine
This is Rietveld 408576698