Index: tools/telemetry/telemetry/block_page_benchmark_results.py |
diff --git a/tools/telemetry/telemetry/block_page_benchmark_results.py b/tools/telemetry/telemetry/block_page_benchmark_results.py |
deleted file mode 100644 |
index f76394cd9058cf3bef617d79e999cb914e3a914f..0000000000000000000000000000000000000000 |
--- a/tools/telemetry/telemetry/block_page_benchmark_results.py |
+++ /dev/null |
@@ -1,32 +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. |
-import os |
- |
-from telemetry.page_benchmark_results import PageBenchmarkResults |
- |
-class BlockPageBenchmarkResults(PageBenchmarkResults): |
- def __init__(self, output_file): |
- super(BlockPageBenchmarkResults, self).__init__() |
- self._output_file = output_file |
- |
- def DidMeasurePage(self): |
- page_values = self.values_for_current_page |
- |
- lines = ['url: %s' % |
- self.values_for_current_page.page.url] |
- sorted_measurement_names = page_values.measurement_names |
- sorted_measurement_names.sort() |
- |
- for measurement_name in sorted_measurement_names: |
- value = page_values.FindValueByMeasurementName(measurement_name) |
- lines.append('%s (%s): %s' % |
- (measurement_name, |
- value.units, |
- value.output_value)) |
- for line in lines: |
- self._output_file.write(line) |
- self._output_file.write(os.linesep) |
- self._output_file.write(os.linesep) |
- |
- super(BlockPageBenchmarkResults, self).DidMeasurePage() |