From 15d5b82f903245eed58fd2658a03187b07d27423 Mon Sep 17 00:00:00 2001 From: jcgregorio Date: Wed, 18 Nov 2015 11:14:31 -0800 Subject: [PATCH] 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 --- site/dev/testing/skiaperf.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/site/dev/testing/skiaperf.md b/site/dev/testing/skiaperf.md index bc2f7cecb..03a744ca1 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: + + + +And the embedded graph appears as: + + +