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

Unified Diff: tools/perf/perf_tools/startup_tests.py

Issue 14352002: Rename startup_tests.py Telemetry test to startup_benchmark.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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/perf_tools/startup_benchmark.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/perf_tools/startup_tests.py
diff --git a/tools/perf/perf_tools/startup_tests.py b/tools/perf/perf_tools/startup_tests.py
deleted file mode 100644
index abd3eb0a7ec4e5c8bde0c9ad0c0b61edad743103..0000000000000000000000000000000000000000
--- a/tools/perf/perf_tools/startup_tests.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright (c) 2013 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_benchmark
-
-# Test how long Chrome takes to load when warm.
-class PerfWarm(page_benchmark.PageBenchmark):
- def __init__(self):
- super(PerfWarm, self).__init__(needs_browser_restart_after_each_run=True,
- discard_first_result=True)
-
- def CustomizeBrowserOptions(self, options):
- options.AppendExtraBrowserArg('--dom-automation')
- options.AppendExtraBrowserArg('--reduce-security-for-dom-automation-tests')
-
- def MeasurePage(self, page, tab, results):
- result = tab.EvaluateJavaScript("""
- domAutomationController.getBrowserHistogram(
- "Startup.BrowserMessageLoopStartTimeFromMainEntry")
- """)
- results.Add('startup_time', 'ms', result)
« no previous file with comments | « tools/perf/perf_tools/startup_benchmark.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698