aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/dev/testing
diff options
context:
space:
mode:
authorGravatar jcgregorio <jcgregorio@google.com>2015-11-18 11:14:31 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-18 11:14:31 -0800
commit15d5b82f903245eed58fd2658a03187b07d27423 (patch)
tree44af7b07068f788f1f273062c296cfca9557dd81 /site/dev/testing
parent2f2903d7a0bad75014880753f4809c3b12788a82 (diff)
Add an example of embedding a Skia Perf graph to the site docs.
Diffstat (limited to 'site/dev/testing')
-rw-r--r--site/dev/testing/skiaperf.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/site/dev/testing/skiaperf.md b/site/dev/testing/skiaperf.md
index bc2f7cecbd..03a744ca16 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>
+