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

Issue 220963002: DevTools: Add energy value under Timeline pie chart (Closed)

Created:
6 years, 8 months ago by Pan
Modified:
6 years, 8 months ago
Reviewers:
alph, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

DevTools: Add Energy Value under Timeline pie chart BUG=337138 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171350

Patch Set 1 : Add to PowerGraph #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : Add to Pie Chart #

Total comments: 14

Patch Set 5 : #

Total comments: 5

Patch Set 6 : #

Total comments: 5

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -2 lines) Patch
M Source/devtools/front_end/TimelinePanel.js View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M Source/devtools/front_end/TimelinePowerOverview.js View 1 2 3 4 5 3 chunks +56 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Pan
Hi @pfeldman, This change add power consumption of a "selected window" in TimelinePowerOverview. Could you ...
6 years, 8 months ago (2014-04-01 13:57:34 UTC) #1
pfeldman
https://codereview.chromium.org/220963002/diff/1/Source/devtools/front_end/CountersGraph.js File Source/devtools/front_end/CountersGraph.js (right): https://codereview.chromium.org/220963002/diff/1/Source/devtools/front_end/CountersGraph.js#newcode336 Source/devtools/front_end/CountersGraph.js:336: get minimumIndex() We try to not use getters in ...
6 years, 8 months ago (2014-04-01 14:21:10 UTC) #2
Pan
On 2014/04/01 14:21:10, pfeldman wrote: > https://codereview.chromium.org/220963002/diff/1/Source/devtools/front_end/CountersGraph.js > File Source/devtools/front_end/CountersGraph.js (right): > > https://codereview.chromium.org/220963002/diff/1/Source/devtools/front_end/CountersGraph.js#newcode336 > ...
6 years, 8 months ago (2014-04-01 15:14:25 UTC) #3
alph
I'm wondering can you just add another counter to the graph and populate it with ...
6 years, 8 months ago (2014-04-01 15:26:18 UTC) #4
Pan
On 2014/04/01 15:26:18, alph wrote: > I'm wondering can you just add another counter to ...
6 years, 8 months ago (2014-04-01 15:46:40 UTC) #5
alph
On 2014/04/01 15:46:40, Pan wrote: > On 2014/04/01 15:26:18, alph wrote: > > I'm wondering ...
6 years, 8 months ago (2014-04-01 17:02:50 UTC) #6
Pan
On 2014/04/01 17:02:50, alph wrote: > On 2014/04/01 15:46:40, Pan wrote: > > On 2014/04/01 ...
6 years, 8 months ago (2014-04-02 01:43:53 UTC) #7
alph
I probably didn't make myself clear. I meant don't you want to add a separate ...
6 years, 8 months ago (2014-04-02 08:19:56 UTC) #8
Pan
https://codereview.chromium.org/220963002/diff/40001/Source/devtools/front_end/TimelinePowerGraph.js File Source/devtools/front_end/TimelinePowerGraph.js (right): https://codereview.chromium.org/220963002/diff/40001/Source/devtools/front_end/TimelinePowerGraph.js#newcode19 Source/devtools/front_end/TimelinePowerGraph.js:19: this._counter = this.createCounter(WebInspector.UIString("Power"), WebInspector.UIString("Power: %.2f\u2009watts"), color); On 2014/04/02 08:19:57, ...
6 years, 8 months ago (2014-04-03 13:58:39 UTC) #9
Pan
On 2014/04/02 08:19:56, alph wrote: > I probably didn't make myself clear. > I meant ...
6 years, 8 months ago (2014-04-03 14:01:00 UTC) #10
alph
https://codereview.chromium.org/220963002/diff/40001/Source/devtools/front_end/TimelinePowerGraph.js File Source/devtools/front_end/TimelinePowerGraph.js (right): https://codereview.chromium.org/220963002/diff/40001/Source/devtools/front_end/TimelinePowerGraph.js#newcode19 Source/devtools/front_end/TimelinePowerGraph.js:19: this._counter = this.createCounter(WebInspector.UIString("Power"), WebInspector.UIString("Power: %.2f\u2009watts"), color); On 2014/04/03 13:58:39, ...
6 years, 8 months ago (2014-04-03 14:08:16 UTC) #11
pfeldman
> Showing energy on the values bar seems inconsistent as I wrote above. Moreover > ...
6 years, 8 months ago (2014-04-03 15:29:42 UTC) #12
alph
On 2014/04/03 14:01:00, Pan wrote: > On 2014/04/02 08:19:56, alph wrote: > > I probably ...
6 years, 8 months ago (2014-04-03 17:11:40 UTC) #13
Pan
On 2014/04/03 17:11:40, alph wrote: > On 2014/04/03 14:01:00, Pan wrote: > > On 2014/04/02 ...
6 years, 8 months ago (2014-04-08 14:21:01 UTC) #14
alph
On 2014/04/08 14:21:01, Pan wrote: > On 2014/04/03 17:11:40, alph wrote: > > On 2014/04/03 ...
6 years, 8 months ago (2014-04-08 14:36:35 UTC) #15
Pan
> > yes, but Pavel suggested to put Energy value into details view (the one ...
6 years, 8 months ago (2014-04-08 15:07:20 UTC) #16
Pan
Hi @pfeldman @alph PS4 add energy under timeline pie chart. please reivew. thanks Pan
6 years, 8 months ago (2014-04-09 14:40:46 UTC) #17
alph
https://codereview.chromium.org/220963002/diff/80001/Source/devtools/front_end/TimelinePanel.js File Source/devtools/front_end/TimelinePanel.js (right): https://codereview.chromium.org/220963002/diff/80001/Source/devtools/front_end/TimelinePanel.js#newcode895 Source/devtools/front_end/TimelinePanel.js:895: var energy = this._viewsForMode(WebInspector.TimelinePanel.Mode.Power).overviewView.calculateEnergy(startTime, endTime); drop {} and 'var' ...
6 years, 8 months ago (2014-04-09 16:02:27 UTC) #18
Pan
thanks for your help, please review :) Pan https://codereview.chromium.org/220963002/diff/80001/Source/devtools/front_end/TimelinePanel.js File Source/devtools/front_end/TimelinePanel.js (right): https://codereview.chromium.org/220963002/diff/80001/Source/devtools/front_end/TimelinePanel.js#newcode895 Source/devtools/front_end/TimelinePanel.js:895: var ...
6 years, 8 months ago (2014-04-10 13:38:57 UTC) #19
alph
Great! lgtm from me. Thought you need to get one from an owner to land ...
6 years, 8 months ago (2014-04-10 15:38:55 UTC) #20
Pan
thanks a lot @alph, Hi @pfeldman, could you please have a look at this? thanks ...
6 years, 8 months ago (2014-04-11 00:54:17 UTC) #21
pfeldman
A couple of nits and it is good to go. https://codereview.chromium.org/220963002/diff/120001/Source/devtools/front_end/TimelinePanel.js File Source/devtools/front_end/TimelinePanel.js (right): https://codereview.chromium.org/220963002/diff/120001/Source/devtools/front_end/TimelinePanel.js#newcode894 ...
6 years, 8 months ago (2014-04-11 12:17:48 UTC) #22
Pan
https://codereview.chromium.org/220963002/diff/120001/Source/devtools/front_end/TimelinePanel.js File Source/devtools/front_end/TimelinePanel.js (right): https://codereview.chromium.org/220963002/diff/120001/Source/devtools/front_end/TimelinePanel.js#newcode894 Source/devtools/front_end/TimelinePanel.js:894: if (Capabilities.canProfilePower) On 2014/04/11 12:17:49, pfeldman wrote: > This ...
6 years, 8 months ago (2014-04-11 13:59:55 UTC) #23
pfeldman
lgtm
6 years, 8 months ago (2014-04-11 14:51:56 UTC) #24
Pan
The CQ bit was checked by pan.deng@intel.com
6 years, 8 months ago (2014-04-11 14:55:40 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pan.deng@intel.com/220963002/160001
6 years, 8 months ago (2014-04-11 14:55:43 UTC) #26
commit-bot: I haz the power
6 years, 8 months ago (2014-04-11 15:59:15 UTC) #27
Message was sent while issue was closed.
Change committed as 171350

Powered by Google App Engine
This is Rietveld 408576698