Closed
Bug 962808
Opened 11 years ago
Closed 11 years ago
[Session Restore] Better telemetry for _writeState
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: Yoric, Assigned: Yoric)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 2 obsolete files)
3.88 KB,
patch
|
Yoric
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•11 years ago
|
Whiteboard: [qa-]
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → dteller
Attachment #8364232 -
Flags: review?(ttaubert)
Comment 2•11 years ago
|
||
Comment on attachment 8364232 [details] [diff] [review]
Telemetry for _writeState
Review of attachment 8364232 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/components/sessionstore/src/SessionSaver.jsm
@@ +294,5 @@
> data = this._notifyObserversBeforeStateWrite(data);
>
> // Don't touch the file if an observer has deleted all state data.
> if (!data) {
> + stopWatchFinish("WRITE_STATE_LONGEST_OP_MS");
Don't we rather want to cancel here if any weird add-on decides to block sessionstore from writing data?
@@ +307,5 @@
>
> // Write (atomically) to a session file, using a tmp file. Once the session
> // file is successfully updated, save the time stamp of the last save and
> // notify the observers.
> + stopWatchStart("WRITE_SERIALIZED_STATE_LONGEST_OP_MS");
I don't particularly like that name because it doesn't really convey what it's measuring. Maybe something that mentions communication? Sending it to the worker?
Attachment #8364232 -
Flags: review?(ttaubert) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Applied feedback.
Try https://tbpl.mozilla.org/?tree=Try&rev=8b1085ce82ba
Attachment #8364232 -
Attachment is obsolete: true
Attachment #8364384 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 4•11 years ago
|
||
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Backed out for mochitest-bc failures.
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc6dc7e3ae7c
https://tbpl.mozilla.org/php/getParsedLog.php?id=33535456&tree=Mozilla-Inbound
Comment 6•11 years ago
|
||
Windows-only.
Assignee | ||
Comment 7•11 years ago
|
||
Arf, added missing |return|. For once, the unsufferable Windows file protection has found a use.
https://tbpl.mozilla.org/?tree=Try&rev=34ed071dfba8
Attachment #8364384 -
Attachment is obsolete: true
Attachment #8365379 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 8•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 29
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•