OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from telemetry.page import page as page | 5 from telemetry.page import page as page |
6 from telemetry.page import page_set as page_set | 6 from telemetry.page import page_set as page_set |
7 | 7 |
8 | 8 |
9 archive_data_file_path = 'data/service_worker_micro_benchmark.json' | 9 archive_data_file_path = 'data/service_worker_micro_benchmark.json' |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 # pylint: disable=C0301 | 29 # pylint: disable=C0301 |
30 # The code of localhost:8091 is placed in | 30 # The code of localhost:8091 is placed in |
31 # https://github.com/coonsta/Service-Worker-Performance | 31 # https://github.com/coonsta/Service-Worker-Performance |
32 # but currently the following is used: | 32 # but currently the following is used: |
33 # https://github.com/amiq11/Service-Worker-Performance/tree/follow_spec_and_
many_registration | 33 # https://github.com/amiq11/Service-Worker-Performance/tree/follow_spec_and_
many_registration |
34 # (rev: 3238098ea0225f53dab2f69f7406db8a2712dbf9) | 34 # (rev: 3238098ea0225f53dab2f69f7406db8a2712dbf9) |
35 # This will be merged into the main repository. | 35 # This will be merged into the main repository. |
36 # pylint: enable=C0301 | 36 # pylint: enable=C0301 |
37 # Why: to measure performance of many concurrent fetches | 37 # Why: to measure performance of many concurrent fetches |
38 self.AddPage(ServiceWorkerBenchmarkPage( | 38 self.AddUserStory(ServiceWorkerBenchmarkPage( |
39 'http://localhost:8091/index.html', self)) | 39 'http://localhost:8091/index.html', self)) |
OLD | NEW |