Closed Bug 1073009 Opened 10 years ago Closed 10 years ago

[kk base] Regression in contacts startup 2014-09-16

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1069452
2.1 S5 (26sep)

People

(Reporter: arcturus, Unassigned)

References

Details

(Whiteboard: [eideticker_regression][p=2])

Attachments

(3 files)

Performance test for latest working version.

Time is around 1000ms for visually complete event.
Commit causing regression in contacts, about 100 ms, with average 1100ms (extra 100ms).

This measures have been steady since we landed bug 1071722, there we gain around 40-50 ms, but that bug is not related to this patch.
I've noticed that the offending commit:

https://github.com/mozilla-b2g/gaia/commit/1503e1f9f7846a3813c057ce95c35ac22031027f

from bug 1044125, was uplifted to branch 2.1 on the 19th of September.

If we take a look to datazilla the 19th of September we could appreciate how the performance in branch 2.1 also get's affected:

https://datazilla.mozilla.org/b2g/?branch=v2.1&device=flame-319MB&range=30&test=cold_load_time&app_list=contacts&app=contacts&gaia_rev=caf6d0b58cdf62c9&gecko_rev=4c80ec2e0d49&plot=avg
Summary: Regression in contacts startup 2014-08-28 → [kk base] Regression in contacts startup 2014-09-16
Attached file master-reverted.json
This is a perf test from master, backing out the offending contact, where we go to an average startup time of 976 ms.
Commit

https://github.com/mozilla-b2g/gaia/commit/1503e1f9f7846a3813c057ce95c35ac22031027f

it's happening in the system app, pinging Aus and Etienne for trying to get some info here.

Also realised in datazilla, that we can see the same increase in startup load time for *some* apps in the same date:

https://datazilla.mozilla.org/b2g/?branch=master&device=flame-319MB&range=30&test=cold_load_time&app_list=browser,clock,contacts,usage&app=contacts&gaia_rev=caf6d0b58cdf62c9&gecko_rev=4c80ec2e0d49&plot=avg

but other apps are unaffected.
Flags: needinfo?(etienne)
Flags: needinfo?(aus)
Target Milestone: --- → 2.1 S5 (26sep)
It's possible that we're no longer preventing _setVisible from being called multiple times. Before we essentially ended up with a guard against this by checking screenshotOverlayState in setVisible, showFrame and hideFrame. I think it would be possible to add similar checks back in based on checking frame visibility.

We do have checks to make sure we don't re-request the screenshot so that shouldn't be the cause of this regression.

I could whip up a quick patch later today to see if we can go back to our original perf numbers.
Flags: needinfo?(aus)
Chatting with Eli about this and we think this is a very likely dupe of bug 1064952. Definitely fits into the regression window. Let's all move our discussion to that bug. :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
(In reply to Ghislain Aus Lacroix [:aus] from comment #7)
> Chatting with Eli about this and we think this is a very likely dupe of bug
> 1064952. Definitely fits into the regression window. Let's all move our
> discussion to that bug. :)
> 
> *** This bug has been marked as a duplicate of bug 1064952 ***
bug 1064952 has only landed on oak so that isn't possible
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Ugh, sorry guys, had a dyslexic moment! bug 1069452 is the one I was actually referring to.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(etienne)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: