Mobile App Performance Metrics
- The Performance Score (PS) which is used in Google Lighthouse is summing up the speed index, the first paint time, the layout load time, the CPU stable time and the rendering time after data download metrics in percentile on their distribution with coefficients as follows.
- The Speed index (SI) provides an insight on how fast the mobile app is displayed on the screen. The speed Index in WebPageTest is calculated as the accumulated remaining area that has not been rendered or visually complete.
- First paint time (FP): After a user event occurred, the mobile app will change the display. We record the mobile app video file, and compare every image snapshot to find the first paint image with the bitmap difference compared with the previous one.
- Layout load time (LL): While analyzing the xmldump file, we can know when the mobile app has completed the layout load by observing the layout count.
- CPU stable time (CS): When a mobile app runs on the smartphone, it consumes the CPU cycles. Hence, the CPU usage increases for short time and returns to the stable point. We capture the CPU stable time after the user input.
- Rendering time after data download (RT): A mobile app usually downloads contents from the server and renders its data on the display. As a mobile app has many objects and contacts to multiple servers, we compute the rendering time after the traffic download is completed.
PS = 0.6*SI + 0.1*FP + 0.1*LL + 0.1*CS + 0.1*RT