| 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 # Copyright 2015 The Chromium Authors. All rights reserved. | 4 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 from core import perf_benchmark | 8 from core import perf_benchmark |
| 9 | 9 |
| 10 from telemetry import benchmark | 10 from telemetry import benchmark |
| 11 from telemetry.core.platform import tracing_category_filter | 11 from telemetry.timeline import tracing_category_filter |
| 12 from telemetry.web_perf import timeline_based_measurement | 12 from telemetry.web_perf import timeline_based_measurement |
| 13 | 13 |
| 14 import page_sets | 14 import page_sets |
| 15 | 15 |
| 16 | 16 |
| 17 BLOB_CATEGORY = 'Blob' | 17 BLOB_CATEGORY = 'Blob' |
| 18 TIMELINE_REQUIRED_CATEGORY = 'blink.console' | 18 TIMELINE_REQUIRED_CATEGORY = 'blink.console' |
| 19 | 19 |
| 20 | 20 |
| 21 @benchmark.Disabled('reference', # http://crbug.com/496155 | 21 @benchmark.Disabled('reference', # http://crbug.com/496155 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 36 @classmethod | 36 @classmethod |
| 37 def Name(cls): | 37 def Name(cls): |
| 38 return 'blob_storage.blob_storage' | 38 return 'blob_storage.blob_storage' |
| 39 | 39 |
| 40 @classmethod | 40 @classmethod |
| 41 def ValueCanBeAddedPredicate(cls, value, is_first_result): | 41 def ValueCanBeAddedPredicate(cls, value, is_first_result): |
| 42 if ('blob-writes' not in value.name and | 42 if ('blob-writes' not in value.name and |
| 43 'blob-reads' not in value.name): | 43 'blob-reads' not in value.name): |
| 44 return False | 44 return False |
| 45 return value.values != None | 45 return value.values != None |
| OLD | NEW |