Closed
Bug 1002904
Opened 11 years ago
Closed 10 years ago
calendar cold launch regression 100ms hamachi Apr23-Apr25
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect, P1)
Tracking
(blocking-b2g:2.0+, b2g-v2.0 fixed, b2g-v2.1 fixed)
People
(Reporter: hub, Assigned: mmedeiros)
References
Details
(Keywords: perf, regression, Whiteboard: [c=regression p=1 s= u=2.0])
Attachments
(1 file)
https://datazilla.mozilla.org/b2g/?branch=master&device=hamachi&range=30&test=cold_load_time&app_list=calendar&app=calendar&gaia_rev=56f79456db5dc3ca&gecko_rev=992ddc6bd0a9&plot=median Apr 23 Gaia 0a4d2dea25a7162ee43db3a0db817798b70e7521 Gecko 35737ab92f9e 1172ms Apr 25 Gaia 56f79456db5dc3ca010a56d09e1e8cc15a2408db Gecko 992ddc6bd0a9 1269ms
Reporter | ||
Updated•11 years ago
|
Keywords: perf,
regression
Reporter | ||
Comment 1•11 years ago
|
||
Sorry, The above was calendar.
Summary: cold launch regression 100ms hamachi Apr23-Apr25 → calendar cold launch regression 100ms hamachi Apr23-Apr25
Assignee | ||
Comment 2•11 years ago
|
||
yes, I was aware that this was going to happen. I did some performance tests to decide between custom fonts and SVG (for the vector icons) and decided to use the custom font during the visual refresh. (see: https://bugzilla.mozilla.org/show_bug.cgi?id=972871#c8) My hope is that the systems front-end team will find a solution to improve the performance before we ship v2.0 (https://bugzilla.mozilla.org/show_bug.cgi?id=951593), otherwise we can replace the custom font with bitmaps if needed - not really the best option since we need to change the colors dynamically and have to support different screen resolutions. PS: even with the performance regression we are still faster than v1.4.
Reporter | ||
Updated•11 years ago
|
Whiteboard: [c= p= s= u=]
Comment 3•11 years ago
|
||
(In reply to Miller Medeiros [:millermedeiros] from comment #2) > PS: even with the performance regression we are still faster than v1.4. How? Can you clarify this a bit more?
Flags: needinfo?(mmedeiros)
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #3) > (In reply to Miller Medeiros [:millermedeiros] from comment #2) > > PS: even with the performance regression we are still faster than v1.4. > > How? Can you clarify this a bit more? something changed between 2014-04-28 23:06:41 (Gaia Revision: cadddcac2b8ce162 Gecko Revision: b681a6daea3b) and 2014-04-29 01:06:55 (Gaia Revision: 725a23802708eb70 Gecko Revision: d7c07694f339) that affected the cold_load_time of all apps. see: https://datazilla.mozilla.org/b2g/?branch=master&device=hamachi&range=30&test=cold_load_time&app_list=calendar&app=calendar&gaia_rev=725a23802708eb70&gecko_rev=d7c07694f339&plot=median
Flags: needinfo?(mmedeiros)
Reporter | ||
Comment 5•11 years ago
|
||
But that fix is irrelevant. It is a different regression that was fixed - bring it back to earlier performance levels. We are not trying to get performance by side effect.
Comment 6•11 years ago
|
||
Right - agreed with Hub's comments. We've got performance criteria that we must hit for cold launch, so any regressions that cause us to miss that goal that are greater than 50 ms need to be fixed.
blocking-b2g: --- → 2.0?
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #6) > Right - agreed with Hub's comments. We've got performance criteria that we > must hit for cold launch, so any regressions that cause us to miss that goal > that are greater than 50 ms need to be fixed. this will be fixed before the 2.0 release. The vector icons will speed up the development process and I'm hoping that the systems front-end team will find a solution for the regression (see Bug 951593). If we revert the vector icon patch we will lose a lot of work that was already done for the calendar visual refresh and that relies on those icons (we will need to rebase at least 5 branches). Doing the changes after we finish the visual refresh will be way simpler (in case we need to replace the custom font with bitmaps). best case scenario would be for the Gecko team to find a way to avoid the delay introduced by @font-face so we don't need to touch the calendar code.
In that case, leaving it as (In reply to Hubert Figuiere [:hub] from comment #5) > But that fix is irrelevant. It is a different regression that was fixed - > bring it back to earlier performance levels. We are not trying to get > performance by side effect. I think that's probably a topic for wider discussion. If a global fix brings us under the acceptance mark, then that implies some degree of extra individual margin there. Otherwise, we can't buy time in order to do functional improvements. I do think leaving the bug open as a blocker makes sense (re: the nom) so that we don't forget to address this again later.
Updated•11 years ago
|
Severity: normal → blocker
blocking-b2g: 2.0? → 2.0+
Priority: -- → P1
Whiteboard: [c= p= s= u=] → [c=progress p= s= u=2.0]
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → hub
Reporter | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Updated•11 years ago
|
Target Milestone: --- → 2.0 S2 (23may)
Reporter | ||
Updated•11 years ago
|
Whiteboard: [c=progress p= s= u=2.0] → [c=progress p=2 s= u=2.0]
Comment 9•11 years ago
|
||
Hi Miller, Sorry just getting up to speed on this bug. From comment 7, do we just need to fix bug 951593 to get this regression resolved or are there other bugs related to fixing this issue? Thanks!
Flags: needinfo?(mmedeiros)
Assignee | ||
Comment 10•11 years ago
|
||
Hi Mason, if we fix Bug 951593 we will be able to move the icon font into the system (which will solve the regression). The regression is caused because @font-face loads the icon font dynamically and it blocks the page rendering until it finishes (which takes ~100ms on hamachi), system fonts doesn't affect the app launch time performance. Another way to fix this bug is to replace the icon fonts with images, but I wouldn't recommend doing that since on the calendar app we would need to export some icons in 8 different colors and for multiple resolutions, which is not very easy to maintain.
Flags: needinfo?(mmedeiros)
Comment 11•11 years ago
|
||
Hi Miller, Great thanks for the explanation. Marking bug 951593 as a dependent.
Depends on: 951593
Reporter | ||
Updated•11 years ago
|
Whiteboard: [c=progress p=2 s= u=2.0] → [c=progress p=1 s= u=2.0]
Reporter | ||
Updated•11 years ago
|
Whiteboard: [c=progress p=1 s= u=2.0] → [c=progress p=0 s= u=2.0]
Updated•11 years ago
|
Target Milestone: 2.0 S2 (23may) → 2.0 S3 (6june)
Updated•10 years ago
|
Whiteboard: [c=progress p=0 s= u=2.0] → [c=regression p= s= u=2.0]
Reporter | ||
Updated•10 years ago
|
Whiteboard: [c=regression p= s= u=2.0] → [c=regression p=1 s= u=2.0]
Updated•10 years ago
|
Target Milestone: 2.0 S3 (6june) → 2.0 S4 (20june)
Reporter | ||
Updated•10 years ago
|
Assignee: hub → dhuseby
Updated•10 years ago
|
Target Milestone: 2.0 S4 (20june) → 2.0 S5 (4july)
Comment 12•10 years ago
|
||
This bug doesn't have any update for more than one month! What's the latest update? Thanks.
Flags: needinfo?(dhuseby)
Comment 13•10 years ago
|
||
Jet, I spoke with Vivien today and the solution for this regression is to land Bug 951593 to get the fonts into the system font set. I left a ni? for you and :jfkthame in that bug asking if we can land those patches now. This is a 2.0 blocker that we'd like to get resolved asap. Thanks! -dave
Flags: needinfo?(dhuseby) → needinfo?(bugs)
Comment 14•10 years ago
|
||
Please see Jonathan's comments re: bug 1030829 and report back on the performance improvements from that patch. See also: https://bugzilla.mozilla.org/show_bug.cgi?id=951593#c77
Flags: needinfo?(bugs)
Comment 15•10 years ago
|
||
I've got an ni? out to :arnou in But 951593. As soon as that work gets done this bug should be resolved as the fonts will be in the system hidden fonts directory and will no longer require being loaded at app launch time.
Comment 16•10 years ago
|
||
James, I'm trying to get a 100ms regression in the calendar launch time resolved. It turns out that the regression was caused by loading of the icon fonts during launch and we're trying to get the icon font into moztt so that it is loaded by the system instead of app. In Bug 951593, :arnau is willing to update his patch to include the icons needed by the calendar app. Can you find somebody working on calendar to work with :arnau to get this resolved ASAP. This is a 2.0 blocker. Thanks!
Flags: needinfo?(jlal)
Assignee | ||
Comment 17•10 years ago
|
||
I added a comment explaining how to export the calendar icons (https://bugzilla.mozilla.org/show_bug.cgi?id=951593#c83), so I'm clearing the ni? since James is not actively working on calendar these days and I introduced the icon font to the calendar app.
Flags: needinfo?(jlal)
Assignee | ||
Comment 18•10 years ago
|
||
Arnau is working on Bug 948856 (settings app) so as soon as he lands his patch we will be able to reuse CSS from the shared folder. So I'm marking it as a blocker. (his patch includes the calendar app icons, we just need to replace the icons.css file on the calendar app and link the shared/style/calendar.css as well)
Depends on: 948856
No longer depends on: 948856
Depends on: 1035670
Comment 19•10 years ago
|
||
Why is Bug 948856 no longer a blocker? This regression is caused by loading icon fonts at app launch time. We need to get the icon font into the system fonts.
Flags: needinfo?(rnowmrch)
Assignee | ||
Comment 20•10 years ago
|
||
Dave, Bug 948856 is about the settings app, calendar app only cares about the shared fonts, which is addressed by Bug 1035670. I'm going to provide a patch for the calendar app later today, just fixing a few layout issues. It wasn't a simple replace because the base style for `.gaia-icon` and `.gaia-icon:before` is not the same as we had before and we also used a different grid size and base font-size, so we had a few conflicts (which I already fixed).
Assignee | ||
Comment 21•10 years ago
|
||
Attachment #8452773 -
Flags: review?(gaye)
Attachment #8452773 -
Flags: feedback?(dhuseby)
Updated•10 years ago
|
Target Milestone: 2.0 S5 (4july) → 2.0 S6 (18july)
comment 20 answers the question. thanks Miller!
Flags: needinfo?(rnowmrch)
Comment 23•10 years ago
|
||
Hey Dave and Garreth, has this been waiting on review and feedback since 7/8? Any chance we can get this looked asap? Thanks!
Flags: needinfo?(gaye)
Flags: needinfo?(dhuseby)
Comment 25•10 years ago
|
||
Comment on attachment 8452773 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/21508 LGTM. Thanks Miller!
Attachment #8452773 -
Flags: review?(gaye) → review+
Comment 26•10 years ago
|
||
Comment on attachment 8452773 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/21508 This appears to put the calendar icon fonts into the system fonts. That fixes this regression.
Attachment #8452773 -
Flags: feedback?(dhuseby) → feedback+
Flags: needinfo?(dhuseby)
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 27•10 years ago
|
||
landed into master: https://github.com/mozilla-b2g/gaia/commit/ffc14b04e3b984342ba5dc17cebe10d2501e3093
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 28•10 years ago
|
||
v2.0: https://github.com/mozilla-b2g/gaia/commit/7bfb8969cc2c8d9dff1426848a499c13ac848cc7
Comment 29•10 years ago
|
||
Reverted from v2.0 for build bustage. v2.0: https://github.com/mozilla-b2g/gaia/commit/aa4f795b81c6147d67c4f06009e166debcf8856e https://tbpl.mozilla.org/php/getParsedLog.php?id=43947031&tree=Mozilla-Aurora
Updated•10 years ago
|
Flags: needinfo?(mmedeiros)
Keywords: branch-patch-needed
Assignee | ||
Comment 30•10 years ago
|
||
we need to uplift the commit https://github.com/mozilla-b2g/gaia/commit/cb5d4664bd377c263c0e40d6410ae0a9e4207422 as well, that's why it failed. The shared icon font is not on 2.0.
Flags: needinfo?(mmedeiros)
Comment 31•10 years ago
|
||
v2.0: https://github.com/mozilla-b2g/gaia/commit/b67e4848a6808df16c8eb08c57386fe83de6fa67
Keywords: branch-patch-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•