Firefox/Content Performance Program: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(more details about implementation)
(progress update: observations page and android bugs)
 
(24 intermediate revisions by 3 users not shown)
Line 2: Line 2:


Improve the performance of web content within the Firefox browsers.
Improve the performance of web content within the Firefox browsers.
==Progress Updates==
* Compared top 20 sites for scroll and navigation performance between 3 browsers, [https://wiki.mozilla.org/Firefox/Content_Performance_Program/Observations#Navigation_and_scroll_using_top_20_sites_.28between_browsers.29 filed 5 bugs].
* October 22: [https://wiki.mozilla.org/Firefox/Content_Performance_Program/Observations New observations page] which summarizes all the experiments and their observations (both Desktop/Android).
* October 9: [http://blog.vladan.org/2015/10/09/update-from-content-performance-program-2.html Q3 update]
* June 16: [https://blog.mozilla.org/vdjeric/2015/06/26/announcing-the-content-performance-program/ Announcing the Content Performance program + 1st update]
==Communication==
{| class="wikitable fullwidth-table"
! Communication Type !! Mechanism !! Audience
|-
| Blog || https://blog.mozilla.org/vdjeric || All
|-
| IRC || #contentperf on [https://wiki.mozilla.org/IRC irc.mozilla.org] || devs, PMs
|-
| Mailing list || [https://mail.mozilla.org/listinfo/contentperf contentperf@mozilla.org] || devs, PMs
|}
== First Priorities (Q3 2015) ==
;Evaluate top sites (Aaron, Avi, Vladan): For the initial set of sites (Twitter, Facebook, Yahoo search) + Google properties + ~5-10 other top-sites we choose ourselves from Alexa top 20, do the following:<br>
*Agree on & write up the "most common" use-cases (i.e. user interactions) with these sites
*Evaluate relative performance (wrt other browsers) for each of these uses-cases
*Profile & determine why our performance is worse
*This evaluation will need to be repeated for Fennec & mobile versions of sites, but with a smaller subset of sites
;Gfx impact on scrolling (Avi): Re-do Aaron's scrolling measurement (using the scrolling bookmarklet) on the reference HP laptop with the 3 reference sites (Yahoo, Twitter, Facebook) using every relevant gfx configuration setting (see my blog post for list + consider Windows theme impact).
;Windows 10 (Aaron): Compare content-perf on Windows 10 vs Windows 8
;Figure out how to make dynamic websites reproducible (Wander)
;New page-load test (Wander): Create a new cross-browser page-load test that measures how long it takes for the browser to become idle after loading a page (time-until-quiescent). This test could be a webpage


== First Priorities (Q2 2015) ==
== First Priorities (Q2 2015) ==
Line 8: Line 36:


Improve the scrolling performance of Firefox on three websites: Twitter, Facebook, and Yahoo search results.
Improve the scrolling performance of Firefox on three websites: Twitter, Facebook, and Yahoo search results.
 
See Aaron's Write Up:
Focus on two platforms:
Focus on two platforms:
* A modern and popular Windows 8.1 laptop/tablet (TBD)
See Hardware Distribution List, Here.
* The most popular Android phone (TBD)
* A modern and popular Windows 8.1 laptop/tablet: [http://store.hp.com/webapp/wcs/stores/servlet/ConfigureView?storeId=10151&catalogId=10051&langId=-1&catEntryId=790652&quantity=1 '''HP Pavilion - 14t Touch Laptop''']
* The most popular Android phone: [http://www.gsmarena.com/samsung_i9500_galaxy_s4-5125.php '''Galaxy S4''']


=== Page Navigation Performance ===
=== Page Navigation Performance ===
Line 22: Line 51:
Again, focusing on the Windows 8.1 laptop/tablet and a particular Android phone.
Again, focusing on the Windows 8.1 laptop/tablet and a particular Android phone.


=== Implementation Strategy ===


* Identify programs already in-flight (60fps program) and what problems those are designed to solve (elan).
====Existing Benchmarks and Measures====
* Identify which Windows and Android hardware will be the initial focus of the program (Chad?)
;Android
*Eideticker: http://eideticker.mozilla.org/#/android/samsung-gn/mozilla-central/nytimes-load-poststartup/timetostableframe/7
*Benchmark Results: https://wiki.mozilla.org/Mobile/Benchmarks/Oct2013
*Benchmark Raw Data: https://docs.google.com/a/mozilla.com/spreadsheet/ccc?key=0Ao22mdF2xZhudDVjQmc0c1RYMm1EVk11Q3lXZ1VMb1E&usp=sharing#gid=17


Vladan's team should do detailed diagnosis/profiling and suggest:
;Top Issues, Firefox for Android
<onlyinclude>
<bugzilla>
{
    "id": "947390,959776,1158951,996062,979119,942609",
    "include_fields": "id, priority, summary, status, assigned_to"
}
</bugzilla>
</onlyinclude>
 
 
;Desktop
*Benchmarks:
*Moz bench for games: http://ouija.allizom.org/grafana/index.html#/dashboard/file/mozbench.json
*
 
====Hardware====
See hardware inventory, [https://docs.google.com/a/mozilla.com/spreadsheets/d/1N8BNs4fSM53KWyABUwUdVOpNveM9mOTngOOgG9nm6vM/edit?usp=sharing here].
*Android Hardware: [http://www.gsmarena.com/samsung_i9500_galaxy_s4-5125.php Samsung Galaxy S4]
*Windows  [http://store.hp.com/webapp/wcs/stores/servlet/us/en/mdp/Laptops/pavilion-14-204079--1#!&TabName=vao Hardware:HP Pavilion 14-touch]
 
====Vladan's team should do detailed diagnosis/profiling and suggest====
* engineering projects
* engineering projects
* measurement strategies
* measurement strategies


== People ==
== People ==
 
*Product sponsor/driver: bsmedberg
Product sponsor/driver: bsmedberg
*Engineering program manager: elan
Engineering program manager: elan
*Technical lead(s):
Technical lead: vladan? or aklotz?
** Android: Avi Halachmi
** Windows: Vladan Djeric Aaron Klotz and I will look at Windows.

Latest revision as of 21:23, 22 October 2015

Overall Goal

Improve the performance of web content within the Firefox browsers.

Progress Updates

Communication

Communication Type Mechanism Audience
Blog https://blog.mozilla.org/vdjeric All
IRC #contentperf on irc.mozilla.org devs, PMs
Mailing list contentperf@mozilla.org devs, PMs

First Priorities (Q3 2015)

Evaluate top sites (Aaron, Avi, Vladan)
For the initial set of sites (Twitter, Facebook, Yahoo search) + Google properties + ~5-10 other top-sites we choose ourselves from Alexa top 20, do the following:
  • Agree on & write up the "most common" use-cases (i.e. user interactions) with these sites
  • Evaluate relative performance (wrt other browsers) for each of these uses-cases
  • Profile & determine why our performance is worse
  • This evaluation will need to be repeated for Fennec & mobile versions of sites, but with a smaller subset of sites
Gfx impact on scrolling (Avi)
Re-do Aaron's scrolling measurement (using the scrolling bookmarklet) on the reference HP laptop with the 3 reference sites (Yahoo, Twitter, Facebook) using every relevant gfx configuration setting (see my blog post for list + consider Windows theme impact).
Windows 10 (Aaron)
Compare content-perf on Windows 10 vs Windows 8
Figure out how to make dynamic websites reproducible (Wander)
New page-load test (Wander)
Create a new cross-browser page-load test that measures how long it takes for the browser to become idle after loading a page (time-until-quiescent). This test could be a webpage

First Priorities (Q2 2015)

Scrolling Performance

Improve the scrolling performance of Firefox on three websites: Twitter, Facebook, and Yahoo search results. See Aaron's Write Up: Focus on two platforms: See Hardware Distribution List, Here.

Page Navigation Performance

Optimize the following page navigation experiences:

  • Entering a search term in the Firefox Homepage -> Yahoo search results listing
  • Entering a search term in the Firefox search box -> Yahoo search results listing
  • Yahoo search results listing -> an individual search result

Again, focusing on the Windows 8.1 laptop/tablet and a particular Android phone.


Existing Benchmarks and Measures

Android
Top Issues, Firefox for Android
Full Query
ID Priority Summary Status Assigned to
942609 -- [meta] Reduce Fennec's storage impact: APK and data RESOLVED
947390 -- [meta][project] Improve page load performance RESOLVED
959776 P5 [meta][project] Improve startup performance RESOLVED
979119 P5 [meta][project] Firefox for Android power consumption RESOLVED
996062 -- [meta] Low-res and slow painting issues when scrolling subframes in Fennec RESOLVED Kartikaya Gupta (email:kats@mozilla.staktrace.com)
1158951 -- [meta] - Reduce memory RESOLVED

6 Total; 0 Open (0%); 6 Resolved (100%); 0 Verified (0%);



Desktop

Hardware

See hardware inventory, here.

Vladan's team should do detailed diagnosis/profiling and suggest

  • engineering projects
  • measurement strategies

People

  • Product sponsor/driver: bsmedberg
  • Engineering program manager: elan
  • Technical lead(s):
    • Android: Avi Halachmi
    • Windows: Vladan Djeric Aaron Klotz and I will look at Windows.