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

Issue 1181103002: Parallelize pylint PRESUBMIT checks. (Closed)

Created:
5 years, 6 months ago by iannucci
Modified:
5 years, 6 months ago
Reviewers:
nednguyen, dtu, M-A Ruel
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : More better #

Patch Set 3 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -18 lines) Patch
M presubmit_canned_checks.py View 1 2 chunks +19 lines, -6 lines 0 comments Download
M presubmit_support.py View 1 chunk +2 lines, -0 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 31 (4 generated)
iannucci
5 years, 6 months ago (2015-06-12 04:03:11 UTC) #1
iannucci
on a z600: * Pylint on build repo went from 90s to 14s (will post ...
5 years, 6 months ago (2015-06-12 04:19:27 UTC) #2
iannucci
tools/telemetry (on z600 linux) before: 67s after: 8s Note: I had to change from the ...
5 years, 6 months ago (2015-06-12 04:36:31 UTC) #3
iannucci
Ping?
5 years, 6 months ago (2015-06-12 17:59:41 UTC) #5
M-A Ruel
It's tricky, because it won't yield to the same results depending on how the sharding ...
5 years, 6 months ago (2015-06-12 18:03:32 UTC) #6
iannucci
On 2015/06/12 18:03:32, M-A Ruel wrote: > It's tricky, because it won't yield to the ...
5 years, 6 months ago (2015-06-12 18:04:46 UTC) #7
M-A Ruel
On 2015/06/12 18:04:46, iannucci wrote: > Hm, ok... are you sure this behavior hasn't changed ...
5 years, 6 months ago (2015-06-12 18:06:06 UTC) #8
nednguyen
https://chromiumcodereview.appspot.com/1181103002/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://chromiumcodereview.appspot.com/1181103002/diff/1/presubmit_canned_checks.py#newcode804 presubmit_canned_checks.py:804: files = files[limit:] If we shard the files arbitrarily, ...
5 years, 6 months ago (2015-06-12 18:06:14 UTC) #9
nednguyen
On 2015/06/12 18:06:14, nednguyen wrote: > https://chromiumcodereview.appspot.com/1181103002/diff/1/presubmit_canned_checks.py > File presubmit_canned_checks.py (right): > > https://chromiumcodereview.appspot.com/1181103002/diff/1/presubmit_canned_checks.py#newcode804 > ...
5 years, 6 months ago (2015-06-12 18:09:17 UTC) #10
iannucci
On 2015/06/12 18:06:14, nednguyen wrote: > https://chromiumcodereview.appspot.com/1181103002/diff/1/presubmit_canned_checks.py > File presubmit_canned_checks.py (right): > > https://chromiumcodereview.appspot.com/1181103002/diff/1/presubmit_canned_checks.py#newcode804 > ...
5 years, 6 months ago (2015-06-12 18:10:36 UTC) #11
M-A Ruel
On 2015/06/12 18:10:36, iannucci wrote: > IIUC, the current version of pylint looks this information ...
5 years, 6 months ago (2015-06-12 18:18:01 UTC) #12
iannucci
So I just did an experiment; I moved tools/telemetry/telemetry/core/backends to tools/telemetry/telemetry/core/wat , and ran presubmit. ...
5 years, 6 months ago (2015-06-12 18:18:07 UTC) #13
iannucci
On 2015/06/12 18:18:07, iannucci wrote: > So I just did an experiment; I moved tools/telemetry/telemetry/core/backends ...
5 years, 6 months ago (2015-06-12 18:19:21 UTC) #14
M-A Ruel
On 2015/06/12 18:19:21, iannucci wrote: > On 2015/06/12 18:18:07, iannucci wrote: > > So I ...
5 years, 6 months ago (2015-06-12 18:21:02 UTC) #15
dtu
Glad to see this :) lgtm
5 years, 6 months ago (2015-06-12 18:22:15 UTC) #16
nednguyen
On 2015/06/12 18:19:21, iannucci wrote: > On 2015/06/12 18:18:07, iannucci wrote: > > So I ...
5 years, 6 months ago (2015-06-12 18:22:52 UTC) #17
iannucci
Ok, so it looks like import-error's aren't effected, but cyclic imports are :/ I'll see ...
5 years, 6 months ago (2015-06-12 18:31:35 UTC) #18
nednguyen
On 2015/06/12 18:31:35, iannucci wrote: > Ok, so it looks like import-error's aren't effected, but ...
5 years, 6 months ago (2015-06-12 18:32:55 UTC) #19
iannucci
On 2015/06/12 18:32:55, nednguyen wrote: > On 2015/06/12 18:31:35, iannucci wrote: > > Ok, so ...
5 years, 6 months ago (2015-06-12 18:38:40 UTC) #20
iannucci
PTAL: obvious solution is obvious Not as fast as the pure-sharded one, but still much ...
5 years, 6 months ago (2015-06-12 19:42:00 UTC) #21
iannucci
On 2015/06/12 19:42:00, iannucci wrote: > PTAL: obvious solution is obvious > > Not as ...
5 years, 6 months ago (2015-06-12 19:42:32 UTC) #22
M-A Ruel
lgtm
5 years, 6 months ago (2015-06-12 19:45:46 UTC) #23
iannucci
On 2015/06/12 19:45:46, M-A Ruel wrote: > lgtm Will commit after lunch. Thanks for the ...
5 years, 6 months ago (2015-06-12 19:48:31 UTC) #24
nednguyen
On 2015/06/12 19:48:31, iannucci wrote: > On 2015/06/12 19:45:46, M-A Ruel wrote: > > lgtm ...
5 years, 6 months ago (2015-06-12 19:59:38 UTC) #25
Dirk Pranke
interesting. I didn't know about any of these flags. Nice improvements!
5 years, 6 months ago (2015-06-12 20:11:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181103002/40001
5 years, 6 months ago (2015-06-12 20:41:45 UTC) #30
commit-bot: I haz the power
5 years, 6 months ago (2015-06-12 20:44:43 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
http://src.chromium.org/viewvc/chrome?view=rev&revision=295664

Powered by Google App Engine
This is Rietveld 408576698