|
|
Chromium Code Reviews|
Created:
3 years, 10 months ago by Alexei Svitkine (slow) Modified:
3 years, 10 months ago CC:
chromium-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd an option to print the resource ids that Chrome loads.
This output will be used to re-order Chrome's resources to improve
startup time.
BUG=692670
TBR=jochen@chromium.org
Review-Url: https://codereview.chromium.org/2699513002
Cr-Commit-Position: refs/heads/master@{#451463}
Committed: https://chromium.googlesource.com/chromium/src/+/8a40fe5f00e8b6c3363194f69fe9b2b4f79781b8
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix git cl lint errors. #
Total comments: 2
Patch Set 3 : Add a lock. #
Messages
Total messages: 44 (30 generated)
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Patchset #1 (id:1) has been deleted
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
Patchset #3 (id:60001) has been deleted
Patchset #1 (id:20001) has been deleted
The CQ bit was checked by asvitkine@chromium.org to run a CQ dry run
Patchset #1 (id:40001) has been deleted
Description was changed from ========== Add an option to print the resource ids that Chrome loads. This output will be used to re-order Chrome's resources to improve startup time. BUG= ========== to ========== Add an option to print the resource ids that Chrome loads. This output will be used to re-order Chrome's resources to improve startup time. BUG=692670 ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #1 (id:80001) has been deleted
asvitkine@chromium.org changed reviewers: + thakis@chromium.org
https://codereview.chromium.org/2699513002/diff/100001/ui/base/resource/data_... File ui/base/resource/data_pack.cc (right): https://codereview.chromium.org/2699513002/diff/100001/ui/base/resource/data_... ui/base/resource/data_pack.cc:73: // tools/gritsettings/README.md for more info. Note: tools/gritsettings/README.md will be added in a future CL - as it also needs to mention a Python script that doesn't exist yet. Both of those will be added in the same future CL.
Patchset #3 (id:140001) has been deleted
https://codereview.chromium.org/2699513002/diff/120001/ui/base/resource/data_... File ui/base/resource/data_pack.cc (right): https://codereview.chromium.org/2699513002/diff/120001/ui/base/resource/data_... ui/base/resource/data_pack.cc:91: if (!base::ContainsKey(*resource_ids_logged, resource_id)) { is it guaranteed that we only load resources from a single thread?
Patchset #3 (id:160001) has been deleted
https://codereview.chromium.org/2699513002/diff/120001/ui/base/resource/data_... File ui/base/resource/data_pack.cc (right): https://codereview.chromium.org/2699513002/diff/120001/ui/base/resource/data_... ui/base/resource/data_pack.cc:91: if (!base::ContainsKey(*resource_ids_logged, resource_id)) { On 2017/02/17 21:45:58, Nico wrote: > is it guaranteed that we only load resources from a single thread? Good point. I had originally assumed yes, but looking at the header, there is no such guarantee provided and looking at the implementation, all the functions are const and just read the data - so it should in theory be useable from multiple threads after initial construction. So given the above, I've now added a lock to this function to safeguard against potential multi-thread access.
lgtm
The CQ bit was checked by asvitkine@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by asvitkine@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Exceeded global retry quota
The CQ bit was checked by asvitkine@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
asvitkine@chromium.org changed reviewers: + jochen@chromium.org
TBR jochen for trivial change to PRESUBMIT.py
Description was changed from ========== Add an option to print the resource ids that Chrome loads. This output will be used to re-order Chrome's resources to improve startup time. BUG=692670 ========== to ========== Add an option to print the resource ids that Chrome loads. This output will be used to re-order Chrome's resources to improve startup time. BUG=692670 TBR=jochen@chromium.org ==========
The CQ bit was checked by asvitkine@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 180001, "attempt_start_ts": 1487431892126610,
"parent_rev": "9d4e3df6e621c6bd80dfaee7008b3e33d0c4fe79", "commit_rev":
"8a40fe5f00e8b6c3363194f69fe9b2b4f79781b8"}
Message was sent while issue was closed.
Description was changed from ========== Add an option to print the resource ids that Chrome loads. This output will be used to re-order Chrome's resources to improve startup time. BUG=692670 TBR=jochen@chromium.org ========== to ========== Add an option to print the resource ids that Chrome loads. This output will be used to re-order Chrome's resources to improve startup time. BUG=692670 TBR=jochen@chromium.org Review-Url: https://codereview.chromium.org/2699513002 Cr-Commit-Position: refs/heads/master@{#451463} Committed: https://chromium.googlesource.com/chromium/src/+/8a40fe5f00e8b6c3363194f69fe9... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:180001) as https://chromium.googlesource.com/chromium/src/+/8a40fe5f00e8b6c3363194f69fe9...
Message was sent while issue was closed.
FYI: Findit identified this CL at revision 451463 as the culprit for failures in the build cycles as shown on: https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
