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

Side by Side Diff: build/android/pylib/instrumentation/json_perf_parser.py

Issue 23681011: Android: splits cache_control and perf_control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More files Created 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 5
6 """A helper module for parsing JSON objects from perf tests results.""" 6 """A helper module for parsing JSON objects from perf tests results."""
7 7
8 import json 8 import json
9 9
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 name: The 'name' tag to filter on in the JSON file. 151 name: The 'name' tag to filter on in the JSON file.
152 152
153 Returns: 153 Returns:
154 See GetAverageRunInfo Returns section. 154 See GetAverageRunInfo Returns section.
155 """ 155 """
156 with open(json_file, 'r') as f: 156 with open(json_file, 'r') as f:
157 data = f.read() 157 data = f.read()
158 perf = json.loads(data) 158 perf = json.loads(data)
159 159
160 return GetAverageRunInfo(perf, name) 160 return GetAverageRunInfo(perf, name)
OLDNEW
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698