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

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

Issue 11366197: Refactoring benchmarks for perf bot efficiency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/first_paint_time_benchmark.py ('k') | tools/perf/perf_tools/scrolling_benchmark.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/perf_tools/first_paint_time_benchmark_unittest.py
diff --git a/tools/perf/perf_tools/first_paint_time_benchmark_unittest.py b/tools/perf/perf_tools/first_paint_time_benchmark_unittest.py
deleted file mode 100644
index a4e8869108f9b7b1cd0dc0134a2129b3244968f2..0000000000000000000000000000000000000000
--- a/tools/perf/perf_tools/first_paint_time_benchmark_unittest.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright (c) 2012 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 import multi_page_benchmark_unittest_base
-from perf_tools import first_paint_time_benchmark
-
-class FirstPaintTimeBenchmarkUnitTest(
- multi_page_benchmark_unittest_base.MultiPageBenchmarkUnitTestBase):
-
- def testFirstPaintTimeMeasurement(self):
- ps = self.CreatePageSetFromFileInUnittestDataDir('scrollable_page.html')
-
- benchmark = first_paint_time_benchmark.FirstPaintTimeBenchmark()
- all_results = self.RunBenchmark(benchmark, ps)
-
- self.assertEqual(0, len(all_results.page_failures))
- self.assertEqual(1, len(all_results.page_results))
-
- results0 = all_results.page_results[0]
- if results0['first_paint'] == 'unsupported':
- # This test can't run on content_shell.
- return
- self.assertTrue(results0['first_paint'] > 0)
« no previous file with comments | « tools/perf/perf_tools/first_paint_time_benchmark.py ('k') | tools/perf/perf_tools/scrolling_benchmark.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698