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

Issue 2938503002: DevTools: unify Network & CPU throttling (Closed)

Created:
3 years, 6 months ago by chenwilliam
Modified:
3 years, 5 months ago
Reviewers:
dgozman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: unify Network & CPU throttling Screenshots: Selector - http://imgur.com/a/btqpx *Note: LieFi option to come in f/u patch BUG=728262 Review-Url: https://codereview.chromium.org/2938503002 Cr-Commit-Position: refs/heads/master@{#484438} Committed: https://chromium.googlesource.com/chromium/src/+/9a713f878e6daf3a63106e81342b3b4b153ad2fd

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : \ #

Patch Set 4 : fmt #

Total comments: 21

Patch Set 5 : cl fb #

Patch Set 6 : ready for demo #

Patch Set 7 : redo #

Patch Set 8 : semi #

Patch Set 9 : fix #

Patch Set 10 : nits #

Patch Set 11 : rebaseline #

Total comments: 14

Patch Set 12 : cl fb #

Patch Set 13 : fixup #

Patch Set 14 : nit #

Total comments: 10

Patch Set 15 : fmt #

Patch Set 16 : remove dep #

Patch Set 17 : done #

Patch Set 18 : n it #

Total comments: 16

Patch Set 19 : cl #

Patch Set 20 : fixup #

Patch Set 21 : update test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+684 lines, -805 lines) Patch
A third_party/WebKit/LayoutTests/inspector/throttling/mobile-throttling.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +106 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/throttling/mobile-throttling-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +135 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +3 lines, -17 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js View 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -90 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/mobile_throttling/MobileThrottlingSelector.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +52 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkConditionsSelector.js View 1 chunk +0 lines, -248 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkConditionsSettingsTab.js View 1 chunk +0 lines, -201 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkThrottlingSelector.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +65 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 6 chunks +131 lines, -111 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingPresets.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +99 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSettingsTab.js View 1 2 3 4 5 6 7 8 9 4 chunks +22 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/mobile_throttling/module.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +10 lines, -8 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/mobile_throttling/networkConditionsSettingsTab.css View 1 chunk +0 lines, -94 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/throttlingSettingsTab.css View 2 3 4 5 6 7 8 9 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +29 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +13 lines, -12 lines 0 comments Download

Messages

Total messages: 31 (15 generated)
chenwilliam
ptal
3 years, 6 months ago (2017-06-12 23:39:14 UTC) #2
chenwilliam
@dgozman - included screenshots.
3 years, 6 months ago (2017-06-13 00:56:22 UTC) #4
dgozman
https://codereview.chromium.org/2938503002/diff/60001/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js File third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js (right): https://codereview.chromium.org/2938503002/diff/60001/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js#newcode870 third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js:870: 'customNetworkConditions', Do not touch this list - it's a ...
3 years, 6 months ago (2017-06-13 01:47:09 UTC) #5
chenwilliam
ptal. happy to discuss in person the turtle idea :) https://codereview.chromium.org/2938503002/diff/60001/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js File third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js (right): https://codereview.chromium.org/2938503002/diff/60001/third_party/WebKit/Source/devtools/front_end/devtools_compatibility.js#newcode870 ...
3 years, 6 months ago (2017-06-13 21:54:52 UTC) #7
dgozman
https://codereview.chromium.org/2938503002/diff/60001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js (right): https://codereview.chromium.org/2938503002/diff/60001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js#newcode244 third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js:244: UI.inspectorView.setPanelIcon('timeline', icon); On 2017/06/13 21:54:51, chenwilliam wrote: > On ...
3 years, 6 months ago (2017-06-13 23:18:39 UTC) #8
chenwilliam
@dgozman, please take a look? Last CL from me before maternity leave \o/
3 years, 5 months ago (2017-06-27 22:27:08 UTC) #12
dgozman
https://codereview.chromium.org/2938503002/diff/190021/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js (right): https://codereview.chromium.org/2938503002/diff/190021/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js#newcode282 third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js:282: * @typedef {{ Should we have network:SDK.NetworkManager.Conditions as a ...
3 years, 5 months ago (2017-06-28 22:33:09 UTC) #13
chenwilliam
ptal. https://codereview.chromium.org/2938503002/diff/190021/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js (right): https://codereview.chromium.org/2938503002/diff/190021/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js#newcode282 third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingSelector.js:282: * @typedef {{ On 2017/06/28 22:33:09, dgozman wrote: ...
3 years, 5 months ago (2017-06-29 20:34:03 UTC) #15
dgozman
https://codereview.chromium.org/2938503002/diff/250001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js (right): https://codereview.chromium.org/2938503002/diff/250001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js#newcode8 third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js:8: MobileThrottling.CPUThrottlingManager = class extends Common.Object { Let's rename this ...
3 years, 5 months ago (2017-06-30 00:54:16 UTC) #16
chenwilliam
ptal. https://codereview.chromium.org/2938503002/diff/250001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js (right): https://codereview.chromium.org/2938503002/diff/250001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js#newcode8 third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js:8: MobileThrottling.CPUThrottlingManager = class extends Common.Object { On 2017/06/30 ...
3 years, 5 months ago (2017-06-30 22:01:11 UTC) #17
dgozman
Let's have Presets.js, ThrottlingManager.js, MobileThrottlingSelector.js and NetworkThrottlingSelector.js. lgtm https://codereview.chromium.org/2938503002/diff/330001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js (right): https://codereview.chromium.org/2938503002/diff/330001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js#newcode14 third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js:14: this._cpuThrottlingRates ...
3 years, 5 months ago (2017-06-30 23:21:49 UTC) #18
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/2938503002/370001
3 years, 5 months ago (2017-07-05 22:34:08 UTC) #21
chenwilliam
Landing https://codereview.chromium.org/2938503002/diff/330001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js (right): https://codereview.chromium.org/2938503002/diff/330001/third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js#newcode14 third_party/WebKit/Source/devtools/front_end/mobile_throttling/ThrottlingManager.js:14: this._cpuThrottlingRates = [ On 2017/06/30 23:21:49, dgozman_ooo (send ...
3 years, 5 months ago (2017-07-05 22:35:32 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/461975)
3 years, 5 months ago (2017-07-05 23:16:58 UTC) #25
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/2938503002/390001
3 years, 5 months ago (2017-07-05 23:42:13 UTC) #28
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 01:36:55 UTC) #31
Message was sent while issue was closed.
Committed patchset #21 (id:390001) as
https://chromium.googlesource.com/chromium/src/+/9a713f878e6daf3a63106e81342b...

Powered by Google App Engine
This is Rietveld 408576698