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

Issue 557173002: Some perf improvements to sheriff-o-matics updates. (Closed)

Created:
6 years, 3 months ago by ojan
Modified:
6 years, 3 months ago
Reviewers:
teravest, esprehn
CC:
blink-reviews, cbiesinger, dsinclair, jochen (gone - plz use gerrit), leviw_travelin_and_unemployed, michaelpg, ojan, szager1, teravest
Project:
blink
Visibility:
Public.

Description

Early out from sheriff-o-matic loop. Don't compute all the keys for a loop that we almost always early out from. Also, the early out was wrong because it was just returning from the anonymous function. NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181699

Patch Set 1 #

Total comments: 5

Patch Set 2 : address review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -10 lines) Patch
M Tools/GardeningServer/model/ct-failure-group.html View 1 1 chunk +1 line, -10 lines 0 comments Download
M Tools/GardeningServer/model/ct-sheriff-failure-group-data.html View 1 1 chunk +13 lines, -0 lines 1 comment Download

Messages

Total messages: 8 (2 generated)
ojan
6 years, 3 months ago (2014-09-10 02:22:11 UTC) #2
esprehn
https://codereview.chromium.org/557173002/diff/1/Tools/GardeningServer/model/ct-failure-group.html File Tools/GardeningServer/model/ct-failure-group.html (right): https://codereview.chromium.org/557173002/diff/1/Tools/GardeningServer/model/ct-failure-group.html#newcode50 Tools/GardeningServer/model/ct-failure-group.html:50: var resultNodes = this.data.dataToExamine()[i].resultNodesByBuilder; What does dataToExamine() do? Calling ...
6 years, 3 months ago (2014-09-10 02:40:23 UTC) #3
ojan
ptal https://codereview.chromium.org/557173002/diff/1/Tools/GardeningServer/model/ct-failure-group.html File Tools/GardeningServer/model/ct-failure-group.html (right): https://codereview.chromium.org/557173002/diff/1/Tools/GardeningServer/model/ct-failure-group.html#newcode50 Tools/GardeningServer/model/ct-failure-group.html:50: var resultNodes = this.data.dataToExamine()[i].resultNodesByBuilder; On 2014/09/10 02:40:23, esprehn ...
6 years, 3 months ago (2014-09-10 03:41:18 UTC) #4
esprehn
lgtm https://codereview.chromium.org/557173002/diff/20001/Tools/GardeningServer/model/ct-sheriff-failure-group-data.html File Tools/GardeningServer/model/ct-sheriff-failure-group-data.html (right): https://codereview.chromium.org/557173002/diff/20001/Tools/GardeningServer/model/ct-sheriff-failure-group-data.html#newcode32 Tools/GardeningServer/model/ct-sheriff-failure-group-data.html:32: CTSheriffFailureGroupData.prototype.failedOnce = function() { This is much better.
6 years, 3 months ago (2014-09-10 03:59:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/557173002/20001
6 years, 3 months ago (2014-09-10 04:06:49 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 04:07:20 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181699

Powered by Google App Engine
This is Rietveld 408576698