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

Issue 1240703003: Extension profile generator + benchmark for startup with profile. (Closed)

Created:
5 years, 5 months ago by sydli
Modified:
5 years, 5 months ago
Reviewers:
robliao, nednguyen, erikchen
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, telemetry-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extension profile generator + benchmark for startup with profile. Extension profile extender for profile generator and a new benchmark for startup time on a profile that loads extensions. Also for this purpose, a script to maintain a static set of extensions in cloud storage, and small additions to python gsutil wrapper (cloud_storage). BUG=444230 CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_perf_bisect Committed: https://crrev.com/e8eb3a8423c7f0a44033b66c98ffa16eaa65aac5 Cr-Commit-Position: refs/heads/master@{#339807}

Patch Set 1 #

Total comments: 57

Patch Set 2 : Style, error handling fixes and zipped extension_set #

Total comments: 10

Patch Set 3 : Formatting + fix to update_remote_extensions #

Total comments: 86

Patch Set 4 : Style and whitespace fixes. #

Total comments: 15

Patch Set 5 : More style fixes. #

Total comments: 9

Patch Set 6 : Version and hash for CRX stored in CSV. Also updated OS checking for profile extenders. #

Patch Set 7 : Extension profile extender properly waits for extensions to install. #

Total comments: 5

Patch Set 8 : Comments added to extension_set.csv and small style fixes. #

Total comments: 18

Patch Set 9 : Fixing docstrings and some style. #

Total comments: 3

Patch Set 10 : Removed redundant code in extensions_profile_extender.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -0 lines) Patch
A tools/perf/benchmarks/start_with_ext.py View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A tools/perf/page_sets/blank_page_with_extension_profile.py View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A tools/perf/page_sets/extension_profile_shared_state.py View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A tools/perf/profile_creators/extension_profile_extender.py View 1 2 3 4 5 6 7 8 9 1 chunk +139 lines, -0 lines 0 comments Download
A tools/perf/profile_creators/extension_set.csv View 1 2 3 4 5 6 7 1 chunk +26 lines, -0 lines 0 comments Download
M tools/perf/profile_creators/profile_extender.py View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -0 lines 0 comments Download
A tools/perf/profile_creators/update_remote_extensions.py View 1 2 3 4 5 6 7 8 1 chunk +207 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (14 generated)
erikchen
https://codereview.chromium.org/1240703003/diff/1/tools/perf/benchmarks/start_with_ext.py File tools/perf/benchmarks/start_with_ext.py (right): https://codereview.chromium.org/1240703003/diff/1/tools/perf/benchmarks/start_with_ext.py#newcode12 tools/perf/benchmarks/start_with_ext.py:12: """Base Benchmark for testing startup with extensions. """ extra ...
5 years, 5 months ago (2015-07-14 23:36:15 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240703003/1
5 years, 5 months ago (2015-07-15 00:51:27 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/80438) (exceeded global ...
5 years, 5 months ago (2015-07-15 01:05:11 UTC) #6
sydli
https://codereview.chromium.org/1240703003/diff/1/tools/perf/benchmarks/start_with_ext.py File tools/perf/benchmarks/start_with_ext.py (right): https://codereview.chromium.org/1240703003/diff/1/tools/perf/benchmarks/start_with_ext.py#newcode12 tools/perf/benchmarks/start_with_ext.py:12: """Base Benchmark for testing startup with extensions. """ On ...
5 years, 5 months ago (2015-07-15 22:56:24 UTC) #7
sydli
5 years, 5 months ago (2015-07-15 22:56:24 UTC) #8
erikchen
https://codereview.chromium.org/1240703003/diff/1/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/1/tools/perf/profile_creators/extension_profile_extender.py#newcode36 tools/perf/profile_creators/extension_profile_extender.py:36: finder_options.browser_options.disable_default_apps = False On 2015/07/15 22:56:23, sydli wrote: > ...
5 years, 5 months ago (2015-07-16 00:33:29 UTC) #9
sydli
https://codereview.chromium.org/1240703003/diff/20001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/20001/tools/perf/profile_creators/extension_profile_extender.py#newcode20 tools/perf/profile_creators/extension_profile_extender.py:20: class InvalidExtensionArchiveError(Exception): On 2015/07/16 00:33:28, erikchen wrote: > this ...
5 years, 5 months ago (2015-07-16 00:53:14 UTC) #10
erikchen
+robliao lgtm
5 years, 5 months ago (2015-07-16 01:22:30 UTC) #12
robliao
Here's a first pass on the CL. I've mostly just read it for style at ...
5 years, 5 months ago (2015-07-16 18:33:25 UTC) #13
sydli
Style/whitespace fixes. https://codereview.chromium.org/1240703003/diff/40001/tools/perf/benchmarks/start_with_ext.py File tools/perf/benchmarks/start_with_ext.py (right): https://codereview.chromium.org/1240703003/diff/40001/tools/perf/benchmarks/start_with_ext.py#newcode12 tools/perf/benchmarks/start_with_ext.py:12: """Base Benchmark for testing startup with extensions. ...
5 years, 5 months ago (2015-07-16 20:01:31 UTC) #14
robliao
Looks generally good. A few comments on the second pass. https://codereview.chromium.org/1240703003/diff/40001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/40001/tools/perf/profile_creators/extension_profile_extender.py#newcode105 ...
5 years, 5 months ago (2015-07-16 21:10:04 UTC) #15
sydli
https://codereview.chromium.org/1240703003/diff/40001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/40001/tools/perf/profile_creators/extension_profile_extender.py#newcode105 tools/perf/profile_creators/extension_profile_extender.py:105: 'external_crx': ext_path, On 2015/07/16 21:10:04, robliao wrote: > On ...
5 years, 5 months ago (2015-07-17 01:00:29 UTC) #16
robliao
lgtm. Should be good to go for OWNER approval. https://codereview.chromium.org/1240703003/diff/60001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/60001/tools/perf/profile_creators/extension_profile_extender.py#newcode102 tools/perf/profile_creators/extension_profile_extender.py:102: ...
5 years, 5 months ago (2015-07-17 03:13:07 UTC) #17
sydli
nednguyen@google.com: Please review changes in extension profile generator. Also, suggestions for issues you mentioned in ...
5 years, 5 months ago (2015-07-17 21:25:13 UTC) #19
nednguyen
On 2015/07/17 21:25:13, sydli wrote: > mailto:nednguyen@google.com: Please review changes in extension profile generator. > ...
5 years, 5 months ago (2015-07-17 21:47:09 UTC) #20
nednguyen
https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py#newcode124 tools/perf/profile_creators/extension_profile_extender.py:124: if platform.system() != 'Darwin': This part is not correct, ...
5 years, 5 months ago (2015-07-17 21:48:07 UTC) #21
erikchen
On 2015/07/17 21:47:09, nednguyen wrote: > On 2015/07/17 21:25:13, sydli wrote: > > mailto:nednguyen@google.com: Please ...
5 years, 5 months ago (2015-07-17 22:20:36 UTC) #22
sydli
https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py#newcode124 tools/perf/profile_creators/extension_profile_extender.py:124: if platform.system() != 'Darwin': On 2015/07/17 21:48:07, nednguyen wrote: ...
5 years, 5 months ago (2015-07-17 22:29:27 UTC) #23
nednguyen
https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py#newcode124 tools/perf/profile_creators/extension_profile_extender.py:124: if platform.system() != 'Darwin': On 2015/07/17 22:29:27, sydli wrote: ...
5 years, 5 months ago (2015-07-17 22:49:09 UTC) #24
nednguyen
5 years, 5 months ago (2015-07-17 22:49:10 UTC) #25
erikchen
https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py#newcode124 tools/perf/profile_creators/extension_profile_extender.py:124: if platform.system() != 'Darwin': On 2015/07/17 22:29:27, sydli wrote: ...
5 years, 5 months ago (2015-07-17 22:50:33 UTC) #26
sydli
https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/80001/tools/perf/profile_creators/extension_profile_extender.py#newcode124 tools/perf/profile_creators/extension_profile_extender.py:124: if platform.system() != 'Darwin': On 2015/07/17 22:50:33, erikchen wrote: ...
5 years, 5 months ago (2015-07-20 21:33:41 UTC) #27
nednguyen
lgtm https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv File tools/perf/profile_creators/extension_set.csv (right): https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv#newcode1 tools/perf/profile_creators/extension_set.csv:1: extension_name,id,hash,version Can you add add a comment in ...
5 years, 5 months ago (2015-07-20 23:07:54 UTC) #28
sydli
https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv File tools/perf/profile_creators/extension_set.csv (right): https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv#newcode1 tools/perf/profile_creators/extension_set.csv:1: extension_name,id,hash,version On 2015/07/20 23:07:54, nednguyen wrote: > Can you ...
5 years, 5 months ago (2015-07-20 23:26:27 UTC) #29
erikchen
https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv File tools/perf/profile_creators/extension_set.csv (right): https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv#newcode1 tools/perf/profile_creators/extension_set.csv:1: extension_name,id,hash,version On 2015/07/20 23:26:27, sydli wrote: > On 2015/07/20 ...
5 years, 5 months ago (2015-07-20 23:30:36 UTC) #30
nednguyen
https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv File tools/perf/profile_creators/extension_set.csv (right): https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv#newcode1 tools/perf/profile_creators/extension_set.csv:1: extension_name,id,hash,version On 2015/07/20 23:26:27, sydli wrote: > On 2015/07/20 ...
5 years, 5 months ago (2015-07-20 23:30:59 UTC) #31
sydli
https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv File tools/perf/profile_creators/extension_set.csv (right): https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv#newcode1 tools/perf/profile_creators/extension_set.csv:1: extension_name,id,hash,version On 2015/07/20 23:30:58, nednguyen wrote: > On 2015/07/20 ...
5 years, 5 months ago (2015-07-21 19:27:01 UTC) #32
erikchen
On 2015/07/21 19:27:01, sydli wrote: > https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv > File tools/perf/profile_creators/extension_set.csv (right): > > https://codereview.chromium.org/1240703003/diff/120001/tools/perf/profile_creators/extension_set.csv#newcode1 > ...
5 years, 5 months ago (2015-07-21 19:33:56 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240703003/140001
5 years, 5 months ago (2015-07-21 19:35:54 UTC) #36
robliao
https://codereview.chromium.org/1240703003/diff/140001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/140001/tools/perf/profile_creators/extension_profile_extender.py#newcode47 tools/perf/profile_creators/extension_profile_extender.py:47: # Download extensions from cloud & force-install extensions into ...
5 years, 5 months ago (2015-07-21 19:49:52 UTC) #38
sydli
https://codereview.chromium.org/1240703003/diff/140001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/140001/tools/perf/profile_creators/extension_profile_extender.py#newcode47 tools/perf/profile_creators/extension_profile_extender.py:47: # Download extensions from cloud & force-install extensions into ...
5 years, 5 months ago (2015-07-21 20:33:04 UTC) #39
robliao
https://codereview.chromium.org/1240703003/diff/140001/tools/perf/profile_creators/update_remote_extensions.py File tools/perf/profile_creators/update_remote_extensions.py (right): https://codereview.chromium.org/1240703003/diff/140001/tools/perf/profile_creators/update_remote_extensions.py#newcode77 tools/perf/profile_creators/update_remote_extensions.py:77: # skip comments and header line On 2015/07/21 20:33:04, ...
5 years, 5 months ago (2015-07-21 20:39:51 UTC) #40
sydli
https://codereview.chromium.org/1240703003/diff/160001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/160001/tools/perf/profile_creators/extension_profile_extender.py#newcode140 tools/perf/profile_creators/extension_profile_extender.py:140: break On 2015/07/21 20:39:51, robliao wrote: > This break ...
5 years, 5 months ago (2015-07-21 20:44:51 UTC) #41
robliao
lgtm https://codereview.chromium.org/1240703003/diff/160001/tools/perf/profile_creators/extension_profile_extender.py File tools/perf/profile_creators/extension_profile_extender.py (right): https://codereview.chromium.org/1240703003/diff/160001/tools/perf/profile_creators/extension_profile_extender.py#newcode140 tools/perf/profile_creators/extension_profile_extender.py:140: break On 2015/07/21 20:44:51, sydli wrote: > On ...
5 years, 5 months ago (2015-07-21 20:46:45 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240703003/180001
5 years, 5 months ago (2015-07-21 21:00:24 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/46926)
5 years, 5 months ago (2015-07-21 21:28:14 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240703003/180001
5 years, 5 months ago (2015-07-21 21:58:39 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: android_nexus5_perf_bisect on tryserver.chromium.perf (JOB_TIMED_OUT, no build URL) win_perf_bisect on ...
5 years, 5 months ago (2015-07-21 23:02:49 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240703003/180001
5 years, 5 months ago (2015-07-21 23:17:37 UTC) #53
nednguyen
On 2015/07/21 23:17:37, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
5 years, 5 months ago (2015-07-22 00:44:18 UTC) #54
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 5 months ago (2015-07-22 01:04:40 UTC) #55
commit-bot: I haz the power
5 years, 5 months ago (2015-07-22 01:05:29 UTC) #56
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e8eb3a8423c7f0a44033b66c98ffa16eaa65aac5
Cr-Commit-Position: refs/heads/master@{#339807}

Powered by Google App Engine
This is Rietveld 408576698