Closed Bug 1037465 Opened 10 years ago Closed 10 years ago

Add USS reporting to the Monitor actor

Categories

(DevTools Graveyard :: WebIDE, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 34

People

(Reporter: janx, Assigned: janx)

References

()

Details

(Keywords: perf)

Attachments

(1 file, 4 obsolete files)

In addition to forwarding Monitor updates, the Monitor actor should also be able to start/stop one or more reporting agents. One type of reporting agent we're interested in is Unique Set Size for all processes.
Attached patch Add USS reporting to the Monitor actor. (obsolete) (deleted) — Splinter Review
Comment on attachment 8456914 [details] [diff] [review] Add USS reporting to the Monitor actor. Paul, care to take a look?
Attachment #8456914 - Flags: review?(paul)
Attachment #8456914 - Flags: review?(paul) → review+
(you need to remove the dbg-client changes)
URL:
Attached patch Add USS reporting to the Monitor actor. (obsolete) (deleted) — Splinter Review
Carry over Paul's r+ (if git-bz feels generous).
Attachment #8456914 - Attachment is obsolete: true
Comment on attachment 8457944 [details] [diff] [review] Add USS reporting to the Monitor actor. So git-bz didn't feel generous, carrying over by hand. Indeed the dbg-client.jsm changes are already landed as bug 1039448, and the shell.js change wasn't necessary. Removed and rebased.
Attachment #8457944 - Flags: review+
Keywords: checkin-needed
Sorry for the hassle, but is there a Try run for this?
Keywords: checkin-needed
Attached patch Add USS reporting to the Monitor actor. (obsolete) (deleted) — Splinter Review
Attachment #8457944 - Attachment is obsolete: true
Comment on attachment 8459478 [details] [diff] [review] Add USS reporting to the Monitor actor. (this whole carrying over thing feels prehistoric)
Attachment #8459478 - Flags: review+
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Blocks: 1043934
Attached patch Add USS reporting to the Monitor actor. (obsolete) (deleted) — Splinter Review
Fixed test.
Attachment #8459478 - Attachment is obsolete: true
Comment on attachment 8462571 [details] [diff] [review] Add USS reporting to the Monitor actor. Carry over Paul's r+.
Attachment #8462571 - Flags: review+
Flags: needinfo?(janx)
test_monitor_actor.js | Test timed out
Jan - did you try to call update as a start callback?
Yes I tried that, still times out on try https://tbpl.mozilla.org/?tree=Try&rev=0e3578240e90 (even though it works on my machine). Doesn't look intermittent.
`residentUnique` is not available on Windows and Mac. Only call `MonitorActor.prototype._addAgent(USSAgent)` if `residentUnique` is available (or on Linux). And enable the test just for Linux,
Fixed for non-linux platforms by auto-removing update agents whose `start()` method throws. Try: https://tbpl.mozilla.org/?tree=Try&rev=380f64d73706
Attachment #8462571 - Attachment is obsolete: true
Comment on attachment 8463346 [details] [diff] [review] Add USS reporting to the Monitor actor. Paul, asking you to re-review because I slightly changed the way update agents work (see previous comment). Do you think this approach makes sense? If you do, and if the change really fixes non-linux xpcshell tests, please land the patch for me.
Attachment #8463346 - Flags: review?(paul)
Attachment #8463346 - Flags: review?(paul) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 34
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: