Closed
Bug 1277608
Opened 9 years ago
Closed 9 years ago
Develop prototype UI for a content process monitoring tool
Categories
(Core :: DOM: Content Processes, defect, P3)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
People
(Reporter: rsurve, Assigned: rsurve, Mentored)
References
Details
(Whiteboard: btpp-active)
Attachments
(4 files, 15 obsolete files)
This bug blocks bug 1255843. We wish to develop a tool that measures memory related performance of content processes.
Component: Developer Tools: DOM → DOM: Content Processes
Product: Firefox → Core
Comment 1•9 years ago
|
||
Comment on attachment 8759225 [details]
A prototype of how the UI is expected to look like
Hey Rutuja,
Would you mind posting this as a patch instead of the full xhtml file? Instructions for creating a patch are here: https://developer.mozilla.org/en-US/docs/Mercurial/Using_Mercurial#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Generally, I think this is the right idea, though I have some visual suggestions:
1) Let's get rid of the "About memory" header.
2) The table should probably show some visual separation between the cells - right now, it looks like numbers floating in space. Check out the way things are organized in about:support to get a sense of what styling we might try to emulate here.
3) I'm not sure that "Name" makes much sense just yet. Currently, we've got a single content process, and over time, we might have a few, but I don't know if we'll ever get to process-per-tab. Maybe someday, but not just yet. So for now, let's drop this column.
4) We'll want units next to each number, I believe.
5) I'm not sure if "RSS" and "USS" are the right terms to display to the user. I think we can assume that the users that visit this page will understand the basics of memory usage, but we might need to make things a bit clearer to them. I'll ask around.
6) Process-Id should probably be Process ID
Attachment #8759225 -
Attachment is obsolete: true
Attachment #8759968 -
Flags: review?(mconley)
Attachment #8759965 -
Attachment is obsolete: true
Attachment #8759965 -
Attachment is patch: false
Comment 5•9 years ago
|
||
Comment on attachment 8759968 [details] [diff] [review]
Patch: Prototype
Thanks Rutuja.
1) Let's try to match the styling of about:support for the tabular data. This means colours, fonts, font-sizes, etc.
2) Perhaps for now, let's try to keep the pattern going, and change the section header to "Performance of Processes"
3) Also, let's get rid of that green break between the header and the table.
Attachment #8759968 -
Flags: review?(mconley) → review-
Attachment #8760662 -
Flags: review?(mconley)
Attachment #8760664 -
Flags: review?(mconley)
Attachment #8760665 -
Flags: review?(mconley)
Attachment #8760662 -
Attachment is obsolete: true
Attachment #8760662 -
Flags: review?(mconley)
I've attached the Revised Prototype that uses styling similar to the aboutSupport table.
Attachment #8760665 -
Attachment is obsolete: true
Attachment #8760665 -
Flags: review?(mconley)
| Assignee | ||
Comment 10•9 years ago
|
||
Attachment #8760723 -
Flags: review?(mconley)
Attachment #8760664 -
Flags: review?(mconley)
| Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8760724 -
Flags: review?(mconley)
| Assignee | ||
Comment 12•9 years ago
|
||
Attachment #8760726 -
Flags: review?(mconley)
| Assignee | ||
Comment 13•9 years ago
|
||
I've attached 2 patches, both styled according to aboutSupport. One changes the color of the updated text whenever calculations get updated, the other doesn't. The xhtml file attached corresponds to the latter one (with no color changes)
Updated•9 years ago
|
Attachment #8760723 -
Attachment is obsolete: true
Attachment #8760723 -
Flags: review?(mconley)
Updated•9 years ago
|
Assignee: nobody → rsurve
Severity: blocker → normal
Whiteboard: btpp-active
Updated•9 years ago
|
Attachment #8759968 -
Attachment is obsolete: true
Comment 14•9 years ago
|
||
Comment on attachment 8760724 [details]
Prototype file : xhtml
Hey Rutuja, I talked to :bram from the UX team in IRC, and here's what he suggested:
1) Each row should probably be accompanied by something that describes what the process is. The process ID is useful, but not very descriptive - so maybe a "Process Type" column. I'm thinking something like this:
------------------------------------------------------------------------------------
| Process Type | Unique Set Size | Resident Set Size | Process ID |
|------------------------------------------------------------------------------------|
| Content (6 tabs) | 254MB | 254MB | 1508 |
|------------------------------------------------------------------------------------|
The Unique Set Size and Resident Set Size table headers should probably show some kind of tooltip explaining what those terms mean on hover. We do the same thing in about:memory for various terms on mouse hover.
2) The about:support table styling looks good - let's go with that for now.
The following bits of feedback are from me:
1) Let's get rid of the extra padding around the table
2) We might want to consider not having the table stretch for the entire width of the display (which can be quite long), but let's keep it as is for now.
Attachment #8760724 -
Flags: review?(mconley)
Updated•9 years ago
|
Attachment #8760726 -
Flags: review?(mconley)
Attachment #8759962 -
Attachment is obsolete: true
Attachment #8760664 -
Attachment is obsolete: true
Attachment #8760724 -
Attachment is obsolete: true
Attachment #8760726 -
Attachment is obsolete: true
| Assignee | ||
Comment 15•9 years ago
|
||
| Assignee | ||
Comment 16•9 years ago
|
||
Attachment #8762286 -
Flags: review?(mconley)
Attachment #8762286 -
Attachment is obsolete: true
Attachment #8762286 -
Flags: review?(mconley)
| Assignee | ||
Comment 17•9 years ago
|
||
Attachment #8762287 -
Flags: review?(mconley)
| Assignee | ||
Comment 18•9 years ago
|
||
(In reply to Mike Conley (:mconley) - (needinfo me!) from comment #14)
> Comment on attachment 8760724 [details]
> Prototype file : xhtml
>
> Hey Rutuja, I talked to :bram from the UX team in IRC, and here's what he
> suggested:
>
> 1) Each row should probably be accompanied by something that describes what
> the process is. The process ID is useful, but not very descriptive - so
> maybe a "Process Type" column. I'm thinking something like this:
>
> ----------------------------------------------------------------------------
> --------
> | Process Type | Unique Set Size | Resident Set Size |
> Process ID |
> |----------------------------------------------------------------------------
> --------|
> | Content (6 tabs) | 254MB | 254MB |
> 1508 |
> |----------------------------------------------------------------------------
> --------|
>
>
> The Unique Set Size and Resident Set Size table headers should probably show
> some kind of tooltip explaining what those terms mean on hover. We do the
> same thing in about:memory for various terms on mouse hover.
>
> 2) The about:support table styling looks good - let's go with that for now.
>
> The following bits of feedback are from me:
>
> 1) Let's get rid of the extra padding around the table
> 2) We might want to consider not having the table stretch for the entire
> width of the display (which can be quite long), but let's keep it as is for
> now.
I've attached the patch with the changes suggested above ^. I've taken inspiration from aboutmemory for styling the text that becomes visible on hovering.
Comment 19•9 years ago
|
||
This looks really cool!
I wonder if it would be possible to give the users the opportunity to hard kill a given content process from this UI as well eventually. I'm not sure if other people think that would be useful though.
Priority: -- → P3
Comment 20•9 years ago
|
||
Comment 21•9 years ago
|
||
The prototype has been created, so we have a design to work off of. Closing this one out.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Attachment #8770944 -
Attachment is obsolete: true
Comment 22•9 years ago
|
||
Updated•9 years ago
|
Attachment #8762287 -
Flags: review?(mconley)
| Assignee | ||
Comment 23•9 years ago
|
||
This is the Linux patch for our tool
Attachment #8778885 -
Flags: review?(mconley)
| Assignee | ||
Comment 24•9 years ago
|
||
| Assignee | ||
Comment 25•9 years ago
|
||
| Assignee | ||
Comment 26•9 years ago
|
||
Attachment #8762287 -
Attachment is obsolete: true
Attachment #8771774 -
Attachment is obsolete: true
| Assignee | ||
Comment 27•9 years ago
|
||
I've also attached screenshots of the tool looks like
| Assignee | ||
Comment 28•9 years ago
|
||
I've also attached screenshots of the tool (Without the user hovering over to know more about what RSS/USS is and with the user hovering over it). The styling is similar to about:support, as used in the prototype. The data changes every 5 seconds.
Comment 29•9 years ago
|
||
Attachment #8778885 -
Attachment is obsolete: true
Attachment #8778885 -
Flags: review?(mconley)
You need to log in
before you can comment on or make changes to this bug.
Description
•