diff options
author | jcgregorio <jcgregorio@google.com> | 2015-11-18 11:14:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-18 11:14:31 -0800 |
commit | 15d5b82f903245eed58fd2658a03187b07d27423 (patch) | |
tree | 44af7b07068f788f1f273062c296cfca9557dd81 /site/dev/testing | |
parent | 2f2903d7a0bad75014880753f4809c3b12788a82 (diff) |
Add an example of embedding a Skia Perf graph to the site docs.
This specific page:
https://skia.org/dev/testing/skiaperf?cl=1462583002
BUG=skia:
NOTRY=true
DOCS_PREVIEW= https://skia.org/?cl=1462583002
Review URL: https://codereview.chromium.org/1462583002
Diffstat (limited to 'site/dev/testing')
-rw-r--r-- | site/dev/testing/skiaperf.md | 15 |
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> + |