Lines Matching refs:bench
6 """ Analyze per-tile and viewport bench data, and output visualized results.
34 Note: to read bench data stored in Google Storage, you will need to set up the
40 tile benchmarks for each available picture bench, and output visualization and
52 # Bench representation algorithm flag.
56 # Bench representation algorithm. See trunk/bench/bench_util.py.
59 # Constants for bench file matching.
87 """Reads in bench files of interest into a dictionary.
89 If bench_dir is not empty, tries to read in local bench files; otherwise check
91 non-tile, non-viewport bench files.
103 # big concern, we suggest copying bot bench data from Google Storage using
125 raise Exception('No bench file found in "%s" or Google Storage.' %
131 """For the given tile layout and per-tile bench values, returns a matrix of
132 bench values with tiles outside the given viewport set to 0.
141 Returns [sum, matrix] where sum is the total bench tile time that covers the
184 """Reads skp bench data and outputs tile vs. viewport analysis for the given
189 Uses the provided representation_alg for calculating bench representations.
197 bench_dic = {} # [bench][config] -> [layout, [values]]
204 bench = point.bench.replace('.skp', '')
208 bench_dic.setdefault(bench, {})[config] = [components[1], [point.time]]
210 bench_dic.setdefault(bench, {})[config] = [
214 for bench in benches:
215 body_codes += '<h4>%s</h4><br><table><tr>' % bench
221 keys = bench_dic[bench].keys()
227 viewport = bench_dic[bench][keys[-1]][0]
229 [layout, value_li] = bench_dic[bench][config]
239 [this_js, row1, row2] = GetTileVisCodes(config + '_' + bench, matrix)
252 """Parses flags and outputs expected Skia picture bench results."""
262 help=('(Optional) local directory where bench log files reside. If left '
266 help=('Bench representation algorithm. '