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

Unified Diff: tools/perf/page_sets/web_components.py

Issue 2703443004: Add Web Components page sets and benchmark
Patch Set: wip Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/data/web_components_000.wpr.sha1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/web_components.py
diff --git a/tools/perf/page_sets/web_components.py b/tools/perf/page_sets/web_components.py
new file mode 100644
index 0000000000000000000000000000000000000000..ccbd1b48475319d9118ac9062ae53f4811b4bdd0
--- /dev/null
+++ b/tools/perf/page_sets/web_components.py
@@ -0,0 +1,19 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from telemetry.page import page as page
+from telemetry import story
+
+archive_data_file_path = 'data/web_components.json'
+
+class WebComponentsPageSet(story.StorySet):
+
+ def __init__(self):
+ super(WebComponentsPageSet, self).__init__(
+ archive_data_file=archive_data_file_path,
+ cloud_storage_bucket=story.PARTNER_BUCKET)
+
+ self.AddStory(page.Page(
+ 'https://polymer-shop2.appspot.com/', self,
+ name='Polymer Shop2', make_javascript_deterministic=False))
« no previous file with comments | « tools/perf/page_sets/data/web_components_000.wpr.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698