OLD | NEW |
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 """ | 4 """ |
5 Benchmarks in this file is created for the purpose of testing telemetry | 5 Benchmarks in this file is created for the purpose of testing telemetry |
6 integration with perf dashboard and bisect bot. The number they produce aren't | 6 integration with perf dashboard and bisect bot. The number they produce aren't |
7 meant to represent any actual performance data of the browser. | 7 meant to represent any actual performance data of the browser. |
8 | 8 |
9 For more information about these dummy benchmarks, see: https://goo.gl/WvZiiW | 9 For more information about these dummy benchmarks, see: https://goo.gl/WvZiiW |
10 """ | 10 """ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 class DummyBenchmarkTwo(_DummyBenchmark): | 52 class DummyBenchmarkTwo(_DummyBenchmark): |
53 """ A noisy benchmark with mean=50 & std=20. """ | 53 """ A noisy benchmark with mean=50 & std=20. """ |
54 | 54 |
55 def CreatePageTest(self, options): | 55 def CreatePageTest(self, options): |
56 return _DummyTest(50, 20) | 56 return _DummyTest(50, 20) |
57 | 57 |
58 @classmethod | 58 @classmethod |
59 def Name(cls): | 59 def Name(cls): |
60 return 'dummy_benchmark.noisy_benchmark_1' | 60 return 'dummy_benchmark.noisy_benchmark_1' |
61 | |
62 def CreateStorySet(self, options): | |
63 del options # unused | |
64 story_set = dummy_story_set.DummyStorySet() | |
65 story_set.AddStory(dummy_story_set.BrokenDummyPage(story_set)) | |
66 return story_set | |
OLD | NEW |