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

Side by Side Diff: tracing/tracing/value/histogram_set.html

Issue 2474573002: Convert chart-json to Histograms. (Closed)
Patch Set: . Created 4 years 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/base/iteration_helpers.html"> 8 <link rel="import" href="/tracing/base/iteration_helpers.html">
9 <link rel="import" href="/tracing/value/histogram.html"> 9 <link rel="import" href="/tracing/value/histogram.html">
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 } 262 }
263 263
264 return recurse([...this], 0); 264 return recurse([...this], 0);
265 } 265 }
266 } 266 }
267 267
268 // This does not contain storyGroupingKeys! 268 // This does not contain storyGroupingKeys!
269 HistogramSet.GROUPINGS = { 269 HistogramSet.GROUPINGS = {
270 HISTOGRAM_NAME: new HistogramGrouping('name', h => h.name), 270 HISTOGRAM_NAME: new HistogramGrouping('name', h => h.name),
271 271
272 BENCHMARK_NAME: new HistogramGrouping('benchmark', 272 BENCHMARK_NAME: new HistogramGrouping(
273 'benchmark',
273 h => tr.v.d.IterationInfo.getField(h, 'benchmarkName', '')), 274 h => tr.v.d.IterationInfo.getField(h, 'benchmarkName', '')),
274 275
275 BENCHMARK_START: new HistogramGrouping('time', 276 BENCHMARK_START: new HistogramGrouping(
277 'time',
276 h => tr.v.d.IterationInfo.getField(h, 'benchmarkStartString', '')), 278 h => tr.v.d.IterationInfo.getField(h, 'benchmarkStartString', '')),
277 279
278 STORYSET_REPEAT: new HistogramGrouping('storyset repeat', 280 STORYSET_REPEAT: new HistogramGrouping(
281 'storyset repeat',
279 h => tr.v.d.IterationInfo.getField( 282 h => tr.v.d.IterationInfo.getField(
280 h, 'storysetRepeatCounterLabel', 0)), 283 h, 'storysetRepeatCounterLabel', 0)),
281 284
282 STORY_REPEAT: new HistogramGrouping('story repeat', 285 STORY_REPEAT: new HistogramGrouping(
286 'story repeat',
283 h => tr.v.d.IterationInfo.getField( 287 h => tr.v.d.IterationInfo.getField(
284 h, 'storyRepeatCounterLabel', 0)), 288 h, 'storyRepeatCounterLabel', 0)),
285 289
286 STORY_NAME: new HistogramGrouping('story', 290 STORY_NAME: new HistogramGrouping(
291 'story',
287 h => tr.v.d.IterationInfo.getField(h, 'storyDisplayName', '')), 292 h => tr.v.d.IterationInfo.getField(h, 'storyDisplayName', '')),
288 293
289 DISPLAY_LABEL: new HistogramGrouping('label', 294 LEGACY_TIR_LABEL: new HistogramGrouping(
295 'tir',
296 h => tr.v.d.IterationInfo.getField(h, 'legacyTIRLabel', '')),
297
298 DISPLAY_LABEL: new HistogramGrouping(
299 'label',
290 h => tr.v.d.IterationInfo.getField(h, 'displayLabel', 'Value')) 300 h => tr.v.d.IterationInfo.getField(h, 'displayLabel', 'Value'))
291 }; 301 };
292 302
293 return { 303 return {
294 HistogramGrouping, 304 HistogramGrouping,
295 HistogramSet, 305 HistogramSet,
296 }; 306 };
297 }); 307 });
298 </script> 308 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/value/diagnostics/iteration_info.html ('k') | tracing/tracing/value/legacy_unit_info.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698