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

Issue 2228413003: [tools/perf] Enable many more lint checks for perf directory. (Closed)

Created:
4 years, 4 months ago by nednguyen
Modified:
4 years, 4 months ago
Reviewers:
petrcermak
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

[tools/perf] Enable many more lint checks for perf directory. Among those that get enabled is "function-redefined" check that would prevent people from redefining methods/classes. BUG=475714, 636401 Committed: https://crrev.com/ecdac635b48b800d43798468decf5ac5b02279dd Cr-Commit-Position: refs/heads/master@{#411313}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address Petr's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -17 lines) Patch
M tools/perf/benchmarks/benchmark_smoke_unittest.py View 1 2 chunks +13 lines, -10 lines 0 comments Download
M tools/perf/core/benchmark_finders_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/measurements/clock_domain_test.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/__init__.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/page_sets/dual_browser_story.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/perf/page_sets/memory_top_10_mobile.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/page_sets/typical_25.py View 1 1 chunk +0 lines, -1 line 0 comments Download
M tools/perf/pylintrc View 1 1 chunk +28 lines, -1 line 0 comments Download

Messages

Total messages: 22 (12 generated)
nednguyen
4 years, 4 months ago (2016-08-11 02:00:16 UTC) #2
nednguyen
On 2016/08/11 02:00:16, nednguyen wrote: I verified that this catches the problem in issue 636401
4 years, 4 months ago (2016-08-11 02:02:35 UTC) #6
petrcermak
LGTM with a couple of nits. Thanks a lot for looking into this! Petr https://codereview.chromium.org/2228413003/diff/1/tools/perf/page_sets/system_health/loading_stories.py ...
4 years, 4 months ago (2016-08-11 08:51:13 UTC) #10
petrcermak
description nit: s/check/checks/ (title + first line of description) Thanks! Petr
4 years, 4 months ago (2016-08-11 08:54:51 UTC) #11
nednguyen
https://codereview.chromium.org/2228413003/diff/1/tools/perf/page_sets/system_health/loading_stories.py File tools/perf/page_sets/system_health/loading_stories.py (right): https://codereview.chromium.org/2228413003/diff/1/tools/perf/page_sets/system_health/loading_stories.py#newcode321 tools/perf/page_sets/system_health/loading_stories.py:321: On 2016/08/11 08:51:13, petrcermak wrote: > nit: Too many ...
4 years, 4 months ago (2016-08-11 12:30:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2228413003/20001
4 years, 4 months ago (2016-08-11 12:30:47 UTC) #16
nednguyen
https://codereview.chromium.org/2228413003/diff/1/tools/perf/pylintrc File tools/perf/pylintrc (right): https://codereview.chromium.org/2228413003/diff/1/tools/perf/pylintrc#newcode5 tools/perf/pylintrc:5: disable= On 2016/08/11 08:51:13, petrcermak wrote: > I went ...
4 years, 4 months ago (2016-08-11 12:32:07 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-11 13:37:27 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ecdac635b48b800d43798468decf5ac5b02279dd Cr-Commit-Position: refs/heads/master@{#411313}
4 years, 4 months ago (2016-08-11 13:38:28 UTC) #21
Dominik Laskowski
4 years, 4 months ago (2016-08-15 23:44:15 UTC) #22
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2244373003/ by domlaskowski@chromium.org.

The reason for reverting is: Breaks telemetry unit tests. See crbug.com/637938.

Powered by Google App Engine
This is Rietveld 408576698