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

Unified Diff: third_party/WebKit/PerformanceTests/TestData/simple-html-measure-page-load-time.html

Issue 2864363006: Add smoke test coverage for tracing metrics of measurePageLoad method (Closed)
Patch Set: Created 3 years, 7 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
Index: third_party/WebKit/PerformanceTests/TestData/simple-html-measure-page-load-time.html
diff --git a/third_party/WebKit/PerformanceTests/TestData/simple-html-measure-page-load-time.html b/third_party/WebKit/PerformanceTests/TestData/simple-html-measure-page-load-time.html
new file mode 100644
index 0000000000000000000000000000000000000000..6aaca14f4cc868eb80dc20231c6a6d7b5a070a53
--- /dev/null
+++ b/third_party/WebKit/PerformanceTests/TestData/simple-html-measure-page-load-time.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<body>
+<script src="../resources/runner.js"></script>
+<script>
+ PerfTestRunner.measurePageLoadTime({
+ description: "Measures performance of a document load.",
+ path: "resources/simple.html",
+ iterationCount: 7,
+ tracingCategories: 'blink',
+ traceEventsToMeasure: ['WebLocalFrameImpl::createChildframe',
+ 'FrameView::performPostLayoutTasks']
+ });
+</script>
+</body>
« no previous file with comments | « third_party/WebKit/PerformanceTests/TestData/resources/simple.html ('k') | tools/perf/benchmarks/blink_perf_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698