Closed
Bug 1080812
Opened 10 years ago
Closed 10 years ago
Clock app performance tests are problematic after 5 runs, causing timing spikes
Categories
(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)
Tracking
(b2g-v2.0 fixed, b2g-v2.0M fixed, b2g-v2.1 fixed, b2g-v2.2 fixed)
RESOLVED
FIXED
2.1 S7 (24Oct)
People
(Reporter: Eli, Assigned: Eli)
References
Details
(Keywords: perf, Whiteboard: [systemsfe])
Attachments
(3 files)
With bug 1079700 I made a change to the performance tests that solidify the metrics captured, but for some reason the Clock app starts reporting extreme durations after 5 runs. This is reflected in the latest overview on Datazilla [1] (see attachment). [1] https://datazilla.mozilla.org/b2g/
Assignee | ||
Comment 1•10 years ago
|
||
From the performance output on Jenkins: { "title": "startup > moz-chrome-interactive", "fullTitle": "startup event test > clock > startup > moz-chrome-interactive", "duration": 514795, "mozPerfDurations": [ 2435, 909, 864, 900, 849 ], "mozPerfDurationsAverage": 1191.4 }, { "title": "startup > moz-app-visually-complete", "fullTitle": "startup event test > clock > startup > moz-app-visually-complete", "duration": 514795, "mozPerfDurations": [ 2829, 1102, 964, 1050, 1351, 8632, 8613, 8483, 8716, 8737, 8535, 8629, 8528, 8546, 8688, 8681, 8573, 8499, 8627, 8761, 8445, 8693, 8651, 8460, 8567, 8719, 8672, 8700, 8711, 8818 ] "moz-chrome-interactive" only ran 5 times, then every other event emitted spikes after that. Investigating.
Yikes. I'll hold off starting any new runs with that patch in place until you can figure this out.
Assignee | ||
Comment 3•10 years ago
|
||
The recent change I made to performance tests uncovered a reliance on having the screen staying on, e.g. no screen timeout. This patch sets the screen to stay on during the performance tests.
Attachment #8502961 -
Flags: review?(jlal)
Attachment #8502961 -
Flags: review?(arthur.chen)
Attachment #8502961 -
Flags: review?(anthony)
Assignee | ||
Comment 4•10 years ago
|
||
v2.0 version of the same PR.
Attachment #8503209 -
Flags: review?(jlal)
Attachment #8503209 -
Flags: review?(arthur.chen)
Attachment #8503209 -
Flags: review?(anthony)
Comment 5•10 years ago
|
||
Comment on attachment 8502961 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25014 I'm not sure which parts you want me to review. Instead of creating disableScreenTimeout, can't you add 'screen.timeout': 0 directly to the settings like you do for 'lockscreen.enabled': false?
Attachment #8502961 -
Flags: review?(anthony)
Assignee | ||
Comment 6•10 years ago
|
||
Hey Rik, I was looking for a review of the test for the Dialer app. As far as the screen timeout setting, I had originally tried that, but it didn't seem to work, so I had to go the method route.
Updated•10 years ago
|
Target Milestone: 2.1 S6 (10oct) → 2.1 S7 (Oct24)
Comment 7•10 years ago
|
||
Comment on attachment 8502961 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25014 Good for me then.
Attachment #8502961 -
Flags: review+
Updated•10 years ago
|
Attachment #8503209 -
Flags: review?(anthony) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8503209 [details] [review] Link to v2.0 Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25033 r=me for the settings part.
Attachment #8503209 -
Flags: review?(arthur.chen) → review+
Updated•10 years ago
|
Attachment #8502961 -
Flags: review?(arthur.chen) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8502961 -
Flags: review?(jlal)
Assignee | ||
Updated•10 years ago
|
Attachment #8503209 -
Flags: review?(jlal)
Assignee | ||
Comment 9•10 years ago
|
||
Try run for master PR: https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=6c0dd4983ae8
Keywords: checkin-needed
Comment 10•10 years ago
|
||
Master: https://github.com/mozilla-b2g/gaia/commit/331934472da3073862ca71fcf79c58fd733d06cd
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-b2g-v2.2:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8502961 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25014 Requesting uplift of TEST-ONLY changes to v2.1 to fix breakage in performance tests. [Bug caused by] (feature/regressing bug #): bug 1079700 [User impact] if declined: n/a [Testing completed]: these are changes to the tests [Risk to taking this patch] (and alternatives if risky): no user-facing risk [String changes made]: n/a
Attachment #8502961 -
Flags: approval-gaia-v2.1?
Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8503209 [details] [review] Link to v2.0 Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25033 Requesting uplift of TEST-ONLY changes to v2.0 to fix breakage in performance tests. [Bug caused by] (feature/regressing bug #): bug 1079700 [User impact] if declined: n/a [Testing completed]: these are changes to the tests [Risk to taking this patch] (and alternatives if risky): no user-facing risk [String changes made]: n/a
Attachment #8503209 -
Flags: approval-gaia-v2.0?
Adding on, there's no user impact if declined, but sounds like we need these for valid performance acceptance testing on 2.1 and 2.0 so there's internal impact. With that in mind, QA also requests uplift be granted.
Comment 14•10 years ago
|
||
bhavana, can we get this approved for 2.0 and 2.1? this is blocking us from rerunning perf tests on 2.1 without this patch. I believe this is only for testing, and does not affect gecko or gaia.
Flags: needinfo?(bbajaj)
Updated•10 years ago
|
Flags: needinfo?(bbajaj)
Attachment #8502961 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
Comment 15•10 years ago
|
||
Comment on attachment 8503209 [details] [review] Link to v2.0 Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25033 Making an exception on approving a non-blocking bug here as there is no user facing impact/risk. This will help us measure our perf targets better.
Attachment #8503209 -
Flags: approval-gaia-v2.0? → approval-gaia-v2.0+
Comment 16•10 years ago
|
||
v2.1: https://github.com/mozilla-b2g/gaia/commit/1ea74943cfe525c76a074ca1d7de8e51a70f6b98 v2.0: https://github.com/mozilla-b2g/gaia/commit/9c7dec14e058efef81f2267b724dad0850fc07e4
status-b2g-v2.0:
--- → fixed
status-b2g-v2.1:
--- → fixed
Comment 17•10 years ago
|
||
v2.0m: https://github.com/mozilla-b2g/gaia/commit/9c7dec14e058efef81f2267b724dad0850fc07e4
status-b2g-v2.0M:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•