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

Side by Side Diff: site/dev/testing/skps.md

Issue 1683233002: Documentation for accessing the different repositories of SKPs (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Complete Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Downloading SKPs
2 ================
3
4 ### Contents ###
5
6 * [Overview](#overview)
7 * [How to download SKPs](#download_skps)
8 + [Buildbot SKPs (for Googlers)](#buildbot_skps_googler)
9 + [Buildbot SKPs (for trusted partners)](#buildbot_skps_partners)
10 + [Cluster Telemetry SKPs (for Googlers)](#ct_skps_googler)
11
12 <a name="overview"></a>
13 Overview
14 --------
15
16 An SKP is a binary representation of the draw commands Chromium sends to Skia fo r rasterization.
17
18 Skia uses different types of SKPs in our continuous builds and tests:
19
20 * [Buildbot](https://skia.org/dev/testing/buildbot) SKPs are the small set (89 a s of 2/10/16) of SKPs that are used on almost all our bots.
21 * [Cluster Telemetry](https://skia.org/dev/testing/ct) SKPs are the much larger set (~900k) that are used by our CT bots (Eg: [CT_BENCH_10k](https://build.chrom ium.org/p/client.skia/builders/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-CT_BE NCH_10k_SKPs), [CT_DM_10k](https://build.chromium.org/p/client.skia/builders/Tes t-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-CT_DM_10k_SKPs), [CT_DM_1m](https://build .chromium.org/p/client.skia.fyi/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Deb ug-CT_DM_1m_SKPs)).
22
23 <a name="download_skps"></a>
24 How to download SKPs
25 --------------------
26
27 <a name="buildbot_skps_googler"></a>
28 ### Buildbot SKPs (for Googlers)
29
30 The following will work only if you have a google.com account.
31
32 All buildbot SKP files created by the RecreateSKPs bot are available in the Goog le Storage bucket gs://chromium-skia-gm, they can be copied over to your local d irectory like this:
33
34 * Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start.
35 * Authenticate using your google.com credentials “gcloud auth login”
36 * Get the current SKP version from https://skia.googlesource.com/skia/+/master/S KP_VERSION.
37 * Run in your terminal:
38
39 $ SKP\_VERSION=...<br/>
40 $ SKP\_DEST=...<br/>
41 $ gsutil -m cp gs://chromium-skia-gm/playback\_${SKP\_VERSION}/skps/*.skp ${ SKP\_DEST}
42
43
44 <a name="buildbot_skps_partners"></a>
45 ### Buildbot SKPs (for trusted partners)
46
47 * Request access to the gs://chrome-partner-telemetry bucket by emailing telemet ry@chromium.org ([Eg](https://groups.google.com/a/chromium.org/d/msg/telemetry/k SwcgH7KiYs/zwBwEZaadOIJ)).
hcm 2016/02/10 19:55:12 Minor readability: spell out "example" instead of
rmistry 2016/02/10 20:46:15 Done.
48 * Once approved you can download Skia's weekly refreshed buildbot SKPs from gs:/ /chrome-partner-telemetry/skps
49
50
51 <a name="ct_skps_googler"></a>
52 ### Cluster Telemetry SKPs (for Googlers)
53
54 The following will work only if you have a google.com account.
55
56 * Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start.
57 * Authenticate using your google.com credentials “gcloud auth login”
58 * Look at the SKP Repository list [here](https://ct.skia.org/lua_script/) for al l available SKPs.
59 * Run in your terminal:
60
61 $ SKP\_DEST=...<br/>
62 $ REPO\_TYPE=... (Either All, Mobile10k, 10k, Dummy1k)<br/>
63 $ CHROMIUM\_BUILD=... (Eg: 57259e0-05dcb4c)<br/>
64 $ SLAVE\_NUM=... (There are 100 available slaves)<br/>
65 $ gsutil -m cp gs://cluster-telemetry/skps/${REPO\_TYPE}/${CHROMIUM\_BUILD}/ slave${SLAVE\_NUM}/*.skp ${SKP\_DEST}
OLDNEW
« 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