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

Issue 13619004: Only calculate slave->build mapping once in json output. (Closed)

Created:
7 years, 8 months ago by Mike Stip (use stip instead)
Modified:
7 years, 5 months ago
Reviewers:
cmp, iannucci, M-A Ruel
CC:
chromium-reviews, cmp-cc_chromium.org
Visibility:
Public.

Description

Only calculate slave->build mapping once in json output. This improves tryserver root json performance by approximately 567%. Background for this patch is discussed in https://chromiumcodereview.appspot.com/13619004. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=209365

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address nits. #

Total comments: 6

Patch Set 3 : Fix nits. #

Total comments: 2

Patch Set 4 : Make buildcache only persist over a request. #

Patch Set 5 : Added readme.chromium changes. #

Total comments: 9

Patch Set 6 : Address iannucci's comments. #

Patch Set 7 : Update README.chromium to reflect new changes. #

Patch Set 8 : Rename to custom_data. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -13 lines) Patch
M third_party/buildbot_8_4p1/README.chromium View 1 2 3 4 5 6 7 1 chunk +66 lines, -0 lines 0 comments Download
M third_party/buildbot_8_4p1/buildbot/status/web/status_json.py View 1 2 3 4 5 6 7 2 chunks +31 lines, -13 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Mike Stip (use stip instead)
Background: The tryserver json endpoint (http://build.chromium.org/p/tryserver.chromium/json) is a critical URL relied upon by CQ. It ...
7 years, 8 months ago (2013-04-04 08:29:55 UTC) #1
Isaac (away)
Some comments. Also note you'll need to add this to our buildbot diff file. https://chromiumcodereview.appspot.com/13619004/diff/1/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py ...
7 years, 8 months ago (2013-04-04 21:24:38 UTC) #2
Mike Stip (use stip instead)
Addressed comments. ptal! https://codereview.chromium.org/13619004/diff/1/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py File third_party/buildbot_8_4p1/buildbot/status/web/status_json.py (right): https://codereview.chromium.org/13619004/diff/1/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py#newcode424 third_party/buildbot_8_4p1/buildbot/status/web/status_json.py:424: buildcache=buildcache)) On 2013/04/04 21:24:38, Isaac wrote: ...
7 years, 8 months ago (2013-04-05 23:35:04 UTC) #3
Isaac (away)
Still need diff added to README.chromium. I'm not comfortable approving this buildbot change, but the ...
7 years, 8 months ago (2013-04-05 23:45:01 UTC) #4
M-A Ruel
https://codereview.chromium.org/13619004/diff/5001/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py File third_party/buildbot_8_4p1/buildbot/status/web/status_json.py (right): https://codereview.chromium.org/13619004/diff/5001/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py#newcode418 third_party/buildbot_8_4p1/buildbot/status/web/status_json.py:418: buildcache = collections.defaultdict(dict) Why not create a single global ...
7 years, 8 months ago (2013-04-06 01:23:46 UTC) #5
Mike Stip (use stip instead)
https://codereview.chromium.org/13619004/diff/5001/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py File third_party/buildbot_8_4p1/buildbot/status/web/status_json.py (right): https://codereview.chromium.org/13619004/diff/5001/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py#newcode418 third_party/buildbot_8_4p1/buildbot/status/web/status_json.py:418: buildcache = collections.defaultdict(dict) On 2013/04/06 01:23:46, Marc-Antoine Ruel wrote: ...
7 years, 8 months ago (2013-04-06 01:30:28 UTC) #6
Isaac (away)
https://codereview.chromium.org/13619004/diff/10001/third_party/buildbot_8_4p1/README.chromium File third_party/buildbot_8_4p1/README.chromium (right): https://codereview.chromium.org/13619004/diff/10001/third_party/buildbot_8_4p1/README.chromium#newcode2959 third_party/buildbot_8_4p1/README.chromium:2959: - break This does not look like the diff ...
7 years, 8 months ago (2013-04-06 01:35:08 UTC) #7
iannucci
lgtm https://codereview.chromium.org/13619004/diff/10001/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py File third_party/buildbot_8_4p1/buildbot/status/web/status_json.py (right): https://codereview.chromium.org/13619004/diff/10001/third_party/buildbot_8_4p1/buildbot/status/web/status_json.py#newcode648 third_party/buildbot_8_4p1/buildbot/status/web/status_json.py:648: for builderName in self.getBuilders(): So the code inside ...
7 years, 5 months ago (2013-06-28 23:25:53 UTC) #8
Mike Stip (use stip instead)
The previous code was based on an incorrect assumption of how twisted Resources work. The ...
7 years, 5 months ago (2013-06-30 06:26:09 UTC) #9
iannucci
Does the description need to be updated as well? https://chromiumcodereview.appspot.com/13619004/diff/19001/third_party/buildbot_8_4p1/README.chromium File third_party/buildbot_8_4p1/README.chromium (right): https://chromiumcodereview.appspot.com/13619004/diff/19001/third_party/buildbot_8_4p1/README.chromium#newcode11 third_party/buildbot_8_4p1/README.chromium:11: ...
7 years, 5 months ago (2013-06-30 08:16:15 UTC) #10
Mike Stip (use stip instead)
updated https://chromiumcodereview.appspot.com/13619004/diff/19001/third_party/buildbot_8_4p1/README.chromium File third_party/buildbot_8_4p1/README.chromium (right): https://chromiumcodereview.appspot.com/13619004/diff/19001/third_party/buildbot_8_4p1/README.chromium#newcode11 third_party/buildbot_8_4p1/README.chromium:11: On 2013/06/30 08:16:16, iannucci wrote: > don't need ...
7 years, 5 months ago (2013-06-30 08:29:54 UTC) #11
iannucci
On 2013/06/30 08:29:54, Mike Stipicevic wrote: > updated > > https://chromiumcodereview.appspot.com/13619004/diff/19001/third_party/buildbot_8_4p1/README.chromium > File third_party/buildbot_8_4p1/README.chromium (right): ...
7 years, 5 months ago (2013-06-30 08:33:47 UTC) #12
Mike Stip (use stip instead)
On 2013/06/30 08:33:47, iannucci wrote: > On 2013/06/30 08:29:54, Mike Stipicevic wrote: > > updated ...
7 years, 5 months ago (2013-06-30 08:41:17 UTC) #13
iannucci
lgtm
7 years, 5 months ago (2013-06-30 08:44:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xusydoc@chromium.org/13619004/28002
7 years, 5 months ago (2013-06-30 08:44:39 UTC) #15
commit-bot: I haz the power
Change committed as 209365
7 years, 5 months ago (2013-06-30 08:45:21 UTC) #16
M-A Ruel
On 2013/06/30 08:45:21, I haz the power (commit-bot) wrote: > Change committed as 209365 This ...
7 years, 5 months ago (2013-07-09 16:00:39 UTC) #17
M-A Ruel
7 years, 5 months ago (2013-07-09 16:00:49 UTC) #18
Message was sent while issue was closed.
On 2013/07/09 16:00:39, Marc-Antoine Ruel wrote:
> On 2013/06/30 08:45:21, I haz the power (commit-bot) wrote:
> > Change committed as 209365
> 
> This sounds this should be upstreame?

Upstreamed*

Powered by Google App Engine
This is Rietveld 408576698