Closed
Bug 1638277
Opened 5 years ago
Closed 4 years ago
about:processes should use s for the time unit of times taking more than 1000ms
Categories
(Toolkit :: Performance Monitoring, task, P2)
Toolkit
Performance Monitoring
Tracking
()
RESOLVED
DUPLICATE
of bug 1635117
Fission Milestone | M7 |
People
(Reporter: florian, Assigned: Yoric)
References
Details
(Whiteboard: [lang=js])
about:performance currently displays time in ms, but the values often grow much bigger than 1000ms, and in that case displaying in s would be better. And for long sessions, minutes and hours would be nice too.
Reporter | ||
Updated•5 years ago
|
Summary: about:performance should use s for the time unit of times taking more than 1000ms → about:processes should use s for the time unit of times taking more than 1000ms
Assignee | ||
Updated•4 years ago
|
Blocks: about:processes
Assignee | ||
Comment 1•4 years ago
|
||
If someone is interested in picking this bug, the code lives in aboutProcesses.js. We currently always display the number of ms (milliseconds). We should be a bit smarter about this:
- if
data.totalCpuUser
<= 1 second, we should display it as milliseconds, as we do now; - otherwise, if
data.totalCpuUser
<= 120 seconds, we should display it as seconds; - otherwise, if
data.totalCpuUser
<= 2h, we should display it as minutes; - otherwise, if
data.totalCpuUser
<= 2 days, we should display it as hours; - otherwise, display it as days.
Mentor: dteller
Whiteboard: [lang=js]
Comment 2•4 years ago
|
||
Can I take this?
It will be a nice improvement to the Performance Monitoring!
Assignee | ||
Comment 3•4 years ago
|
||
Certainly!
Assignee | ||
Comment 5•4 years ago
|
||
(In reply to Sonia from comment #4)
Hey yoric, as per this bug, shouldn't we implement this feature in
cpu
?
What do you mean?
Flags: needinfo?(soniasingla.1812)
Updated•4 years ago
|
Flags: needinfo?(soniasingla.1812)
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
Note that the code has changed a lot since this bug was filed. You may need to rebase your patches.
Updated•4 years ago
|
Assignee: nobody → dteller
Mentor: dteller
Severity: -- → S3
Status: NEW → ASSIGNED
Fission Milestone: --- → M7
Priority: -- → P2
Assignee | ||
Comment 8•4 years ago
|
||
Fixed by bug 1635117.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•