skia2/site/dev/tools/skiaperf.md
tfarina 0004e7db42 Update references to skiaperf.com.
The new server is being run in perf.skia.org.

BUG=None
R=jcgregorio@google.com

Review URL: https://codereview.chromium.org/866943003
2015-01-26 06:47:55 -08:00

1.2 KiB

Skia Perf

Skia Perf is a web based interface for exploring performance data produced by nanobench and the code size bot. The data includes:

  • The nanobench test times in ms.
  • Total memory consumed during a nanobench run.
  • Code size for various symbol types in bytes.

All of the data can be plotted and also can be analyzed using k-means clustering.

Calculations

Skia Perf has the ability to perform calculations over the test data allowing you to build up interesting queries.

For example, this query displays the total code size of the library over time:

sum(fill(filter("config=memory&sub_result=bytes")))

This query displays the ratio of playback time in ms to the number of ops for desk_wowwiki.skp:

ratio(
  ave(fill(filter("name=desk_wowwiki.skp&sub_result=min_ms"))),
  ave(fill(filter("name=desk_wowwiki.skp&sub_result=ops")))
)

You can also use the data to answer questions like how many tests were run per commit.

count(filter(""))

See Skia Perf for the full list of functions available.