Closed
Bug 837670
Opened 12 years ago
Closed 11 years ago
[Clock] "ready to use" perf measurement
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
1.4 S2 (28feb)
People
(Reporter: julienw, Assigned: mcav)
References
Details
(Keywords: perf, Whiteboard: [c=automation p= s=2014.02.28 u=][p=1])
Attachments
(1 file)
We need to measure when the app is usable by the user. For that we'll need to send an event (the moment is specific to the app) to |window| that the performance test will be able to receive.
The event name can be "x-moz-perf-user-ready" amongst all apps so that the performance test can be similar.
For the Clock, it should be triggered when the correct time is finally displayed.
Reporter | ||
Updated•12 years ago
|
Blocks: gaia-perf-measure
No longer depends on: gaia-perf-measure
Reporter | ||
Updated•12 years ago
|
Summary: "ready to use" perf measurement → [CLock] "ready to use" perf measurement
Reporter | ||
Updated•12 years ago
|
Summary: [CLock] "ready to use" perf measurement → [Clock] "ready to use" perf measurement
Updated•12 years ago
|
QA Contact: jshih → whsu
Comment 1•12 years ago
|
||
Any update? Thanks.
Who will in charge of the task?
Reporter | ||
Comment 2•12 years ago
|
||
It should not be difficult to do but someone has to do it. We're currently busy wuth other bugs.
Updated•12 years ago
|
Priority: -- → P2
Updated•11 years ago
|
Whiteboard: [c=instrumentation p=] → [c=automation p= s= u=]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mcav
Assignee | ||
Updated•11 years ago
|
Assignee: mcav → nobody
Assignee | ||
Comment 4•11 years ago
|
||
per :hub -- PerformanceTestingHelper.dispatch("startup-path-done") is usually what is being used
Assignee: nobody → m
Status: NEW → ASSIGNED
Target Milestone: --- → 1.4 S2 (28feb)
Assignee | ||
Updated•11 years ago
|
Whiteboard: [c=automation p= s= u=] → [c=automation p= s= u=][p=1]
Assignee | ||
Comment 5•11 years ago
|
||
Hey Mike, could you verify that this is the correct place to put the performance marker that says "the app is ready to use"?
Attachment #8380922 -
Flags: review?(mike)
Reporter | ||
Comment 6•11 years ago
|
||
I think you also need to whitelist the app in /tests/performance/startup_events_test.js
Comment 7•11 years ago
|
||
Also the travis failure seems to be related.
Assignee | ||
Comment 8•11 years ago
|
||
Good catch, Julien and Hubert, thanks! Updated the PR, Travis passes.
Comment 9•11 years ago
|
||
Comment on attachment 8380922 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/16582
Hey Marcus,
Looks good to me. I've recommended a change that would require some additional code--see the pull request on GitHub. If you like that idea, then I'd be happy to re-review once you've implemented it. If you think it's out-of-scope for this bug, then file a separate bug for me to complete. Or, if you disagree, let me know why :)
Attachment #8380922 -
Flags: review?(mike) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Landed, with all fixes as suggested by Mike, Hubert, and Julien:
https://github.com/mozilla-b2g/gaia/commit/64c27638cadc7d4e3a629757a2dc54dd07f235d9
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Whiteboard: [c=automation p= s= u=][p=1] → [c=automation p= s=2014.02.28 u=][p=1]
You need to log in
before you can comment on or make changes to this bug.
Description
•