B2G/QA/2014-10-02 Performance Acceptance
2014-10-02 Performance Acceptance Results
Overview
These are the results of performance release acceptance testing for FxOS 2.1, as of the Oct 02, 2014 build.
Our acceptance metric at this time is launch time, as metered via the Gaia Performance Tests, with the system initialized to make reference-workload-light.
For this release, there are two baselines being compared to: 2.0 performance and our responsiveness guidelines targeting no more than 1000ms for an application launch.
Startup -> Visually Complete
Startup -> Visually Complete times the interval from launch until the application has initialized all initial onscreen content when the application is not already loaded in memory (cold launch). Data might still be loading in the background, but only minor UI elements related to this background load such as proportional scroll bar thumbs may be changing at this time.
This is equivalent to Above the Fold in web development terms.
More information about this timing can be found on MDN.
Execution
These results were generated from 480 application data points per release, generated over 16 different runs of make test-perf as follows:
- Flash to base build
- Flash stable FxOS build from tinderbox
- Constrain phone to 319MB via bootloader
- Clone gaia
- Check out the gaia revision referenced in the build's sources.xml
- GAIA_OPTIMIZE=1 NOFTU=1 make reset-gaia
- make reference-workload-light
- For 16 repetitions:
- Reboot the phone
- Wait for the phone to appear to adb, and an additional 30 seconds for it to settle.
- Run make test-perf with 31 replicates
Result Analysis
First, any repetitions showing app errors are thrown out.
Then, the first data point is eliminated from each repetition, as it has been shown to be a consistent outlier likely due to being the first launch after reboot. The balance of the results are typically consistent within a repetition, leaving 30 data points per repetition.
These are combined into a large data point set. Each set has been graphed as a 32-bin histogram so that its distribution is apparent, with comparable sets from 2.0 and 2.1 plotted on the same graph.
For each set, the median and the 95th percentile results have been calculated. These are real-world significant as follows:
- Median
- 50% of launches are faster than this. This can be considered typical performance, but it's important to note that 50% of launches are slower than this, and they could be much slower. The shape of the distribution is important.
- 95th Percentile
- 95% of launches are faster than this. This is more quality-oriented statistic used for page load and other task-time measurements, as it is not dependent on the shape of the distribution and better represents a performance guarantee.
As the distributions for launch times are positive-skewed asymmetric, rather than normal (typical of load-time and other task-time tests) other statistics that apply to normal distributions such as mean, standard deviation, confidence intervals, etc., are potentially misleading and are not reported here. They are available in the summary data sets, but their validity is questionable.
On each graph, the solid line represents median and the broken line represents p95.
It is important to note that the axes of the graphs are scaled to the result sets being graphed, and are not comparable graph-to-graph.
Areas
Calendar
2.0
- 480 data points
- Median: 1142 ms
- p95: 1368 ms
2.1
- 450 data points
- Median: 1267 ms
- p95: 1374 ms
Comment: Median launch performance for 2.1 has slowed by over 100ms. The p95 experience stays mostly the same. Even best-case performance exceeds guidelines.
Camera
2.0
- 390 data points
- Median: 1485 ms
- p95: 1741 ms
2.1
- 450 data points
- Median: 1577 ms
- p95: 1743 ms
Comment: Median launch performance for 2.1 has slowed by under 100ms. The p95 experience stays almost exactly the same. Best-case performance exceeds guidelines.
Clock
- 2.0
- Median: 919 ms
- p95: 1164 ms
- 2.1
- Median: 1045 ms
- p95: 1178 ms
Comment: Median launch performance for 2.1 has slowed by over 100ms. The p95 experience stays mostly the same. Median performance has regressed over the guidelines but stays near. p95 performance exceeds guidelines.
Contacts
- 2.0
- Median: 811 ms
- p95: 928 ms
- 2.1
- Median: 928 ms
- p95: 1052 ms
Comment: Median launch performance for 2.1 has slowed by over 100ms, but remains beneath guidelines. The worst-case experience has regressed similarly, and now slightly exceeds guidelines. 2.1 performance seems slightly less consistent as indicated by the "shorter" distribution.
Dialer
- 2.0
- Median: 560 ms
- p95: 669 ms
- 2.1
- Median: 635 ms
- p95: 716 ms
Comment: Median launch performance for 2.1 has slowed by around 75 ms. The worst-case experience has slowed by around 50 ms. However, even worst case remains within guidelines.
- 2.0
- Median: 351 ms
- p95: 500 ms
- 2.1
- Median: 386 ms
- p95: 441 ms
Comment: Median launch performance for 2.1 has slowed slightly, with worst-case experience showing a slight improvement. All launch times are significantly within guidelines. Note that this test is performed without a live email server, and real-life performance is likely network-bound.
FM Radio
- 2.0
- Median: 627 ms
- p95: 793 ms
- 2.1
- Median: 709 ms
- p95: 864 ms
Comment: Median launch performance for 2.1 has slowed by around 85 ms. The worst-case experience has slowed by about the same. However, all launch times are within guidelines.
Gallery
- 2.0
- Median: 977 ms
- p95: 1257 ms
- 2.1
- Median: 1009 ms
- p95: 1196 ms
Comment: Median launch performance for 2.1 has slowed slightly, and has regressed over but very near the guidelines. The worst-case experience has improved by around 60 ms. The taller distribution for 2.1 suggests more consistent results.
Music
Settings
SMS
Video











