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

Unified Diff: tools/perf/page_sets/webrtc_cases/common.js

Issue 2761163003: Use local pages for webrtc telemetry tests. (Closed)
Patch Set: Exclude all of webrtc_cases in PRESUBMIT.py and add a comment explaining it is because these are te… 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
Index: tools/perf/page_sets/webrtc_cases/common.js
diff --git a/tools/perf/page_sets/webrtc_cases/common.js b/tools/perf/page_sets/webrtc_cases/common.js
new file mode 100644
index 0000000000000000000000000000000000000000..047a0000481aa76ff011aff8647183cfbffa7d8a
--- /dev/null
+++ b/tools/perf/page_sets/webrtc_cases/common.js
@@ -0,0 +1,12 @@
+/*
+ * 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.
+ */
+ /* exported trace */
+
+// Logging utility function.
+function trace(arg) {
+ var now = (window.performance.now() / 1000).toFixed(3);
+ console.log(now + ': ', arg);
+}
« no previous file with comments | « tools/perf/page_sets/webrtc_cases/canvas-capture.js ('k') | tools/perf/page_sets/webrtc_cases/constraints.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698