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

Issue 918893002: telemetry: Create a safe url generator. (Closed)

Created:
5 years, 10 months ago by erikchen
Modified:
5 years, 10 months ago
Reviewers:
nednguyen, dtu, sullivan
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: Create a safe url generator. The URLs are used to generate fake Chromium profiles. BUG= Committed: https://crrev.com/a4f7c8614ff9cb6fca787635fc45a13c9655beef Cr-Commit-Position: refs/heads/master@{#316340}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Comments from nednguyen. #

Total comments: 6

Patch Set 3 : Comments from dtu. #

Total comments: 2

Patch Set 4 : Style nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4024 lines, -0 lines) Patch
A tools/perf/profile_creators/profile_safe_url_generator.py View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
A tools/perf/profile_creators/profile_safe_url_list.json View 1 2 1 chunk +3912 lines, -0 lines 0 comments Download
A tools/perf/profile_creators/profile_safe_url_list.py View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
erikchen
nednguyen: Please review.
5 years, 10 months ago (2015-02-12 01:30:56 UTC) #5
nednguyen
https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_generator.py File tools/perf/profile_creators/profile_safe_url_generator.py (right): https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_generator.py#newcode13 tools/perf/profile_creators/profile_safe_url_generator.py:13: from bs4 import BeautifulSoup Does bot machine has bs4? ...
5 years, 10 months ago (2015-02-12 01:43:47 UTC) #7
erikchen
https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_generator.py File tools/perf/profile_creators/profile_safe_url_generator.py (right): https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_generator.py#newcode13 tools/perf/profile_creators/profile_safe_url_generator.py:13: from bs4 import BeautifulSoup On 2015/02/12 01:43:46, nednguyen wrote: ...
5 years, 10 months ago (2015-02-12 01:46:57 UTC) #8
erikchen
https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_list.py File tools/perf/profile_creators/profile_safe_url_list.py (right): https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_list.py#newcode22 tools/perf/profile_creators/profile_safe_url_list.py:22: url_list = [ On 2015/02/12 01:46:57, erikchen wrote: > ...
5 years, 10 months ago (2015-02-12 03:20:01 UTC) #9
nednguyen
On 2015/02/12 03:20:01, erikchen wrote: > https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_list.py > File tools/perf/profile_creators/profile_safe_url_list.py (right): > > https://codereview.chromium.org/918893002/diff/60001/tools/perf/profile_creators/profile_safe_url_list.py#newcode22 > ...
5 years, 10 months ago (2015-02-12 03:24:27 UTC) #10
erikchen
nednguyen: PTAL
5 years, 10 months ago (2015-02-12 03:31:32 UTC) #12
nednguyen
+Dave: should we allow adding beautiful_soup into telemetry's third party library?
5 years, 10 months ago (2015-02-12 04:55:12 UTC) #14
dtu
On 2015/02/12 04:55:12, nednguyen wrote: > +Dave: should we allow adding beautiful_soup into telemetry's third ...
5 years, 10 months ago (2015-02-12 23:46:06 UTC) #15
dtu
https://codereview.chromium.org/918893002/diff/100001/tools/perf/profile_creators/profile_safe_url_generator.py File tools/perf/profile_creators/profile_safe_url_generator.py (right): https://codereview.chromium.org/918893002/diff/100001/tools/perf/profile_creators/profile_safe_url_generator.py#newcode14 tools/perf/profile_creators/profile_safe_url_generator.py:14: from bs4 import BeautifulSoup style guide nit: don't import ...
5 years, 10 months ago (2015-02-12 23:46:12 UTC) #16
nednguyen
On 2015/02/12 23:46:06, dtu wrote: > On 2015/02/12 04:55:12, nednguyen wrote: > > +Dave: should ...
5 years, 10 months ago (2015-02-13 00:17:53 UTC) #17
erikchen
https://codereview.chromium.org/918893002/diff/100001/tools/perf/profile_creators/profile_safe_url_generator.py File tools/perf/profile_creators/profile_safe_url_generator.py (right): https://codereview.chromium.org/918893002/diff/100001/tools/perf/profile_creators/profile_safe_url_generator.py#newcode14 tools/perf/profile_creators/profile_safe_url_generator.py:14: from bs4 import BeautifulSoup On 2015/02/12 23:46:12, dtu wrote: ...
5 years, 10 months ago (2015-02-13 03:58:58 UTC) #19
erikchen
dtu: PTAL Using HTMLParser is a much nicer solution than using BS4. Thanks for the ...
5 years, 10 months ago (2015-02-13 03:59:31 UTC) #20
dtu
lgtm % nit https://codereview.chromium.org/918893002/diff/140001/tools/perf/profile_creators/profile_safe_url_list.py File tools/perf/profile_creators/profile_safe_url_list.py (right): https://codereview.chromium.org/918893002/diff/140001/tools/perf/profile_creators/profile_safe_url_list.py#newcode24 tools/perf/profile_creators/profile_safe_url_list.py:24: return json.load(safe_url_file) nit: 2 space indent
5 years, 10 months ago (2015-02-13 23:00:00 UTC) #21
erikchen
https://codereview.chromium.org/918893002/diff/140001/tools/perf/profile_creators/profile_safe_url_list.py File tools/perf/profile_creators/profile_safe_url_list.py (right): https://codereview.chromium.org/918893002/diff/140001/tools/perf/profile_creators/profile_safe_url_list.py#newcode24 tools/perf/profile_creators/profile_safe_url_list.py:24: return json.load(safe_url_file) On 2015/02/13 23:00:00, dtu wrote: > nit: ...
5 years, 10 months ago (2015-02-13 23:11:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/918893002/160001
5 years, 10 months ago (2015-02-13 23:13:27 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:160001)
5 years, 10 months ago (2015-02-14 00:14:23 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-14 00:15:16 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a4f7c8614ff9cb6fca787635fc45a13c9655beef
Cr-Commit-Position: refs/heads/master@{#316340}

Powered by Google App Engine
This is Rietveld 408576698