# Performance comparison

The first screen time is the most important indicator of rendering performance. The first screen time of the Mini Program can be clicked from the previous page to the next page FCP(First Contentful Paint) to measure the time, the performance of the first screen will affect the response speed of the last page click, and the next page's white screen time.

There are already some Mini programs to Skyline Mode running online, the following take the Mini Program assistant online data, you can see Skyline The first screen time than the WebView fast 66%, and the lower the performance of the phone, the more obvious the difference.

Because the on - line Mini Program could not acquire the data of memory accurately, we collected some measurement data locally, and the method of measurement was n Second take the average, and the use of two indicators, one is to open the Mini Program example home page, rest 30s After collecting data, the other is to cut Tab Page, the same silence after collecting data.

Measurements are shown in the figure below (units M), it can be seen that a single page Skyline Occupancy ratio of WebView reduce 35%, Two Pages Skyline The memory occupancy ratio of the WebView reduce 50%, the memory gap becomes more pronounced as more pages are opened.

Similar to the measurement of memory footprint, the CPU The measurement of utilization is shown in the figure below (units %), it can also be seen that Skyline Relative WebView There's also a good boost.

# Effect comparison

Here, we separately recorded the Mini Program assistant in the Skyline and WebView Under the operation of the video, the comparison from the video can be more intuitive to feel the difference.

The video recording test machine is OPPO R17, where the left is Skyline. On the right is WebView