Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / site / docs / dev / testing / skiaperf.md
1
2 ---
3 title: "Skia Perf"
4 linkTitle: "Skia Perf"
5
6 ---
7
8
9 [Skia Perf](https://perf.skia.org) is a web application for analyzing and
10 viewing performance metrics produced by Skia's testing infrastructure.
11
12 <img src=../Perf.png style="margin-left:30px" align="left" width="800"/> <br clear="left">
13
14 Skia tests across a large number of platforms and configurations, and each
15 commit to Skia generates more than 400,000 individual values that are sent to
16 Perf, consisting mostly of performance benchmark results, but also including
17 memory and coverage data.
18
19 Perf offers clustering, which is a tool to pick out trends and patterns in large sets of traces.
20
21 <img src=../Cluster.png style="margin-left:30px" align="left" width="400"/> <br clear="left">
22
23 And can generate alerts when those trends spot a regression:
24
25 <img src=../Regression.png style="margin-left:30px" align="left" width="800"/> <br clear="left">
26
27
28 ## Calculations
29
30 Skia Perf has the ability to perform calculations over the test data
31 allowing you to build up interesting queries.
32
33 This query displays the ratio of playback time in ms to the number of ops for desk\_wowwiki.skp:
34
35     ratio(
36       ave(fill(filter("name=desk_wowwiki.skp&sub_result=min_ms"))),
37       ave(fill(filter("name=desk_wowwiki.skp&sub_result=ops")))
38     )
39
40 You can also use the data to answer questions like how many tests were run per commit.
41
42     count(filter(""))
43
44 See Skia Perf for the [full list of functions available](https://perf.skia.org/help/).
45