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

Side by Side Diff: tools/perf/benchmarks/dummy_benchmark.py

Issue 2345393002: Revert of Add a broken page to dummy_benchmark.noisy_benchmark_1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 """Dummy benchmarks for the bisect FYI integration tests. 4 """Dummy benchmarks for the bisect FYI integration tests.
5 5
6 The number they produce aren't meant to represent any actual performance 6 The number they produce aren't meant to represent any actual performance
7 data of the browser. For more information about these dummy benchmarks, 7 data of the browser. For more information about these dummy benchmarks,
8 see: https://goo.gl/WvZiiW 8 see: https://goo.gl/WvZiiW
9 """ 9 """
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 class DummyBenchmarkTwo(_DummyBenchmark): 53 class DummyBenchmarkTwo(_DummyBenchmark):
54 """A noisy benchmark with mean=50 & std=20.""" 54 """A noisy benchmark with mean=50 & std=20."""
55 55
56 def CreatePageTest(self, options): 56 def CreatePageTest(self, options):
57 return _DummyTest(50, 20) 57 return _DummyTest(50, 20)
58 58
59 @classmethod 59 @classmethod
60 def Name(cls): 60 def Name(cls):
61 return 'dummy_benchmark.noisy_benchmark_1' 61 return 'dummy_benchmark.noisy_benchmark_1'
62
63 def CreateStorySet(self, options):
64 del options # unused
65 story_set = dummy_story_set.DummyStorySet()
66 story_set.AddStory(dummy_story_set.BrokenDummyPage(story_set))
67 return story_set
68
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698