Closed Bug 1211582 Opened 10 years ago Closed 10 years ago

[Contacts] Performance regression in cold launch caused by bug 1182195

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S9 (16Oct)

People

(Reporter: arcturus, Assigned: arcturus)

References

Details

(Keywords: regression)

Attachments

(1 file)

In bug 1182195 we introduced a performance regression around ~150ms cause we have a new iframe to load and the 'onload' event won't be completely triggered until that iframe has been loaded. We don't need this iframe on the startup path. We can load it when we need to import contacts, so we could potentially append it to the dom when we open the settings section.
Attached file Pointer to PR
Hei Fernando, could you take a look. We were adding the iframe with the courtain, but the curtain.js already adds it dynamically, the problem we had is that we are not picking the correct reference to 'doc', I mean, we had different references. Don't know why adding the iframe was helping here, but it's hurting performance and we already have all the mechanism in place to add the iframe dynamically after we loaded the list.
Attachment #8670255 - Flags: review?(ferjmoreno)
Keywords: regression
OS: All → Gonk (Firefox OS)
Priority: -- → P2
Hardware: All → ARM
Attachment #8670255 - Flags: review?(ferjmoreno) → review+
Assignee: nobody → francisco
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S9 (16Oct)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: