Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: site/dev/tools/skiaperf.md

Issue 839303002: Document some skia perf interesting queries. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « site/dev/tools/index.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/dev/tools/skiaperf.md
diff --git a/site/dev/tools/skiaperf.md b/site/dev/tools/skiaperf.md
new file mode 100644
index 0000000000000000000000000000000000000000..c4e960e6582cd4a0469e2c1b2b7b1544505f6a29
--- /dev/null
+++ b/site/dev/tools/skiaperf.md
@@ -0,0 +1,36 @@
+Skia Perf
+=========
+
+[Skia Perf](https://skiaperf.com) 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](https://skiaperf.com/clusters/).
+
+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](https://skiaperf.com/#1877):
+
+ 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](https://skiaperf.com/#1876):
+
+ 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](https://skiaperf.com/#1878).
+
+ count(filter(""))
+
+See Skia Perf for the [full list of functions available](https://skiaperf.com/help).
mtklein 2015/01/09 18:22:00 I had no idea there was a skiaperf.com/help page.
jcgregorio 2015/01/09 19:09:12 It's actually the '?' next to the formula input, b
« no previous file with comments | « site/dev/tools/index.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698