Closed
Bug 1185504
Opened 9 years ago
Closed 9 years ago
[ServiceWorkers][toolkit] Add performance marks to the library
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(b2g-master fixed)
RESOLVED
FIXED
FxOS-S4 (07Aug)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: arcturus, Assigned: arcturus)
References
Details
Attachments
(1 file)
We will need to add performance marks to the library, which should not be present when we have a release version. We should add a new target to the build process to get the debug information, and those markers should be removed in the normal build process.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → francisco
Blocks: nga-toolkit-service-workers, 1159154
Status: NEW → ASSIGNED
Target Milestone: --- → FxOS-S3 (24Jul)
Comment 2•9 years ago
|
||
Comment on attachment 8636071 [details] [review] Pointer to github pull request My only comment is to add a *.md explaining the marks. Notice performance marks for install/fetch/activate events are placed just after the respond in a synchronous way. This is correct but not complete because we should add another mark after the asynchronous `.respondWith()` completes. I don't know if this is even possible but what is possible is to add the mark after the promise resolves. This way, with no middlewares installed, we could take into account the overhead of the asynchronous path. I don't know if you got my point. Let me know.
Attachment #8636071 -
Flags: feedback?(salva) → feedback+
Assignee | ||
Updated•9 years ago
|
Target Milestone: FxOS-S3 (24Jul) → FxOS-S4 (07Aug)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8636071 [details] [review] Pointer to github pull request Hi Salva, I've added your recommendations and added a .md page for information about how to get the debugging build and what the performance marks are for. Please feel free to add a pr to this one with the extra data that you would like to add.
Attachment #8636071 -
Flags: review?(salva)
Comment 4•9 years ago
|
||
Comment on attachment 8636071 [details] [review] Pointer to github pull request Code LGTM. Let's add the middleware measurements in a follow up.
Attachment #8636071 -
Flags: review?(salva) → review+
Assignee | ||
Comment 5•9 years ago
|
||
Landed: https://github.com/gaia-components/serviceworkerware/commit/77302995284de5ab8a61bccd2f4acb52da504090
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
status-b2g-master:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•