Closed
Bug 1491865
Opened 6 years ago
Closed 6 years ago
Show an 'Energy Impact' column instead of the 'dispatches' and 'duration' values
Categories
(Toolkit :: Performance Monitoring, enhancement)
Toolkit
Performance Monitoring
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
8.79 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
Showing dispatches and duration currently exposes implementation details of how we are measuring performance impact of pages. For users it's easier to have a single number that's relatively correct, even if it doesn't have any precise technical meaning. I'm trying to have the 'Energy Impact' number be close to '100' when a page is fully using a core, this way it'll look like a familiar percentage. It can of course go way above 100 for pages with workers. To help users read the value, I'll also categorize the values as "High", "Medium", "Low" or "None" Energy impact. This new value should be used for the default sorting.
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #9009647 -
Flags: review?(felipc)
Comment 2•6 years ago
|
||
Comment on attachment 9009647 [details] [diff] [review] Patch Review of attachment 9009647 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/components/aboutperformance/content/aboutPerformance.js @@ +1102,5 @@ > + return `Low (${energyImpact})`; > + if (energyImpact < 25) > + return `Medium (${energyImpact})`; > + return `High (${energyImpact})`; > + }; nit: both these functions would be better named "format" instead of make and display, since they only provided the formatted string.
Attachment #9009647 -
Flags: review?(felipc) → review+
Pushed by florian@queze.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/2307c43683ba Show an 'Energy Impact' column instead of the 'dispatches' and 'duration' values and sort based on it, r=felipe.
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2307c43683ba
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•