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

Side by Side Diff: tools/perf/benchmarks/dom_perf.py

Issue 923133003: Marked most disabled benchmarks with the correct bugs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | tools/perf/benchmarks/gpu_times.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 import json 5 import json
6 import math 6 import math
7 import os 7 import os
8 8
9 from telemetry import benchmark 9 from telemetry import benchmark
10 from telemetry import page as page_module 10 from telemetry import page as page_module
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 combined = merge_values.MergeLikeValuesFromDifferentPages( 64 combined = merge_values.MergeLikeValuesFromDifferentPages(
65 results.all_page_specific_values, 65 results.all_page_specific_values,
66 group_by_name_suffix=True) 66 group_by_name_suffix=True)
67 combined_score = [x for x in combined if x.name == SCORE_TRACE_NAME][0] 67 combined_score = [x for x in combined if x.name == SCORE_TRACE_NAME][0]
68 total = _GeometricMean(combined_score.values) 68 total = _GeometricMean(combined_score.values)
69 results.AddSummaryValue( 69 results.AddSummaryValue(
70 scalar.ScalarValue(None, 'Total.' + SCORE_TRACE_NAME, SCORE_UNIT, 70 scalar.ScalarValue(None, 'Total.' + SCORE_TRACE_NAME, SCORE_UNIT,
71 total)) 71 total))
72 72
73 73
74 @benchmark.Disabled('android', 'linux') 74 @benchmark.Disabled('android', 'linux') # http://crbug.com/458540
75 class DomPerf(benchmark.Benchmark): 75 class DomPerf(benchmark.Benchmark):
76 """A suite of JavaScript benchmarks for exercising the browser's DOM. 76 """A suite of JavaScript benchmarks for exercising the browser's DOM.
77 77
78 The final score is computed as the geometric mean of the individual results. 78 The final score is computed as the geometric mean of the individual results.
79 Scores are not comparable across benchmark suite versions and higher scores 79 Scores are not comparable across benchmark suite versions and higher scores
80 means better performance: Bigger is better!""" 80 means better performance: Bigger is better!"""
81 test = _DomPerfMeasurement 81 test = _DomPerfMeasurement
82 82
83 @classmethod 83 @classmethod
84 def Name(cls): 84 def Name(cls):
(...skipping 11 matching lines...) Expand all
96 'Events', 96 'Events',
97 'Get+Elements', 97 'Get+Elements',
98 'GridSort', 98 'GridSort',
99 'Template' 99 'Template'
100 ] 100 ]
101 ps = page_set.PageSet(file_path=dom_perf_dir) 101 ps = page_set.PageSet(file_path=dom_perf_dir)
102 for param in run_params: 102 for param in run_params:
103 ps.AddUserStory(page_module.Page( 103 ps.AddUserStory(page_module.Page(
104 'file://run.html?reportInJS=1&run=%s' % param, ps, ps.base_dir)) 104 'file://run.html?reportInJS=1&run=%s' % param, ps, ps.base_dir))
105 return ps 105 return ps
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/gpu_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698