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

Issue 939143004: Telemetry: Fix several small problems in the profile creator. (Closed)

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

Description

Telemetry: Fix several small problems in the profile creator. - The profile creator was using integer indexing into the tab list, which non-deterministically fails. The new code uses dictionary lookup. - The profile creator was not robust against several types of exceptions that occur more frequently with developer builds of Chrome. BUG=442546 Committed: https://crrev.com/0b384f1f3709333a2a4baf9de5661e1dbda40fa1 Cr-Commit-Position: refs/heads/master@{#317624}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove change to HistoryProfileExtender. #

Patch Set 3 : Comments from nednguyen. #

Patch Set 4 : More comments. #

Patch Set 5 : Comments from nednguyen. #

Total comments: 2

Patch Set 6 : Fix unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -16 lines) Patch
M tools/perf/profile_creators/fast_navigation_profile_extender.py View 1 2 3 4 9 chunks +47 lines, -10 lines 0 comments Download
M tools/perf/profile_creators/fast_navigation_profile_extender_unittest.py View 1 2 3 4 5 3 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
erikchen
nednguyen: Please review.
5 years, 10 months ago (2015-02-19 19:58:49 UTC) #2
nednguyen
https://codereview.chromium.org/939143004/diff/1/tools/perf/profile_creators/fast_navigation_profile_extender.py File tools/perf/profile_creators/fast_navigation_profile_extender.py (right): https://codereview.chromium.org/939143004/diff/1/tools/perf/profile_creators/fast_navigation_profile_extender.py#newcode133 tools/perf/profile_creators/fast_navigation_profile_extender.py:133: live_tab = self._browser.tabs.GetTabById(tab.id) If you have to do this ...
5 years, 10 months ago (2015-02-19 20:05:04 UTC) #3
erikchen
nednguyen: PTAL https://codereview.chromium.org/939143004/diff/1/tools/perf/profile_creators/fast_navigation_profile_extender.py File tools/perf/profile_creators/fast_navigation_profile_extender.py (right): https://codereview.chromium.org/939143004/diff/1/tools/perf/profile_creators/fast_navigation_profile_extender.py#newcode133 tools/perf/profile_creators/fast_navigation_profile_extender.py:133: live_tab = self._browser.tabs.GetTabById(tab.id) On 2015/02/19 20:05:04, nednguyen ...
5 years, 10 months ago (2015-02-19 21:55:12 UTC) #4
erikchen
nednguyen: PTAL
5 years, 10 months ago (2015-02-20 23:35:34 UTC) #6
nednguyen
lgtm https://codereview.chromium.org/939143004/diff/100001/tools/perf/profile_creators/fast_navigation_profile_extender.py File tools/perf/profile_creators/fast_navigation_profile_extender.py (right): https://codereview.chromium.org/939143004/diff/100001/tools/perf/profile_creators/fast_navigation_profile_extender.py#newcode137 tools/perf/profile_creators/fast_navigation_profile_extender.py:137: live_tabs = [tab for tab in self._navigation_tabs if ...
5 years, 10 months ago (2015-02-20 23:39:18 UTC) #7
erikchen
https://codereview.chromium.org/939143004/diff/100001/tools/perf/profile_creators/fast_navigation_profile_extender.py File tools/perf/profile_creators/fast_navigation_profile_extender.py (right): https://codereview.chromium.org/939143004/diff/100001/tools/perf/profile_creators/fast_navigation_profile_extender.py#newcode137 tools/perf/profile_creators/fast_navigation_profile_extender.py:137: live_tabs = [tab for tab in self._navigation_tabs if tab.IsAlive()] ...
5 years, 10 months ago (2015-02-21 01:39:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/939143004/100001
5 years, 10 months ago (2015-02-21 01:40:51 UTC) #10
commit-bot: I haz the power
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/29068)
5 years, 10 months ago (2015-02-21 02:56:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/939143004/120001
5 years, 10 months ago (2015-02-23 18:25:29 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 10 months ago (2015-02-23 19:41:05 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 19:41:59 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0b384f1f3709333a2a4baf9de5661e1dbda40fa1
Cr-Commit-Position: refs/heads/master@{#317624}

Powered by Google App Engine
This is Rietveld 408576698