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

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

Issue 1462583002: Add an example of embedding a Skia Perf graph to the site docs. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/dev/testing/skiaperf.md
diff --git a/site/dev/testing/skiaperf.md b/site/dev/testing/skiaperf.md
index bc2f7cecbd4c6559994d6906e9dfa1b0f34bbaf4..03a744ca16a3807e6cedc97be1f43571906cf0fc 100644
--- a/site/dev/testing/skiaperf.md
+++ b/site/dev/testing/skiaperf.md
@@ -34,3 +34,18 @@ You can also use the data to answer questions like [how many tests were run per
count(filter(""))
See Skia Perf for the [full list of functions available](https://perf.skia.org/help).
+
+Embedding
+---------
+
+Once you create a shortcut, which may or may not include calculations, you
+will be presented with the code to embed that graph as an iframe. For example,
+here is an embedding code for showing the ratio of all 565 tests over all 8888
+tests:
+
+ <iframe src='https://perf.skia.org/frame/#4518' width=500 height=300 frameborder=0></iframe>
+
+And the embedded graph appears as:
+
+ <iframe src='https://perf.skia.org/frame/#4518' width=500 height=300 frameborder=0></iframe>
+
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698