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

Unified Diff: tracing/tracing/value/histogram_set.html

Issue 2474573002: Convert chart-json to Histograms. (Closed)
Patch Set: . Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/histogram_set.html
diff --git a/tracing/tracing/value/histogram_set.html b/tracing/tracing/value/histogram_set.html
index f98056fe03520eaee3aab5df6f559213d323853e..707d6979ba58bf11a9551339b692050583ea359d 100644
--- a/tracing/tracing/value/histogram_set.html
+++ b/tracing/tracing/value/histogram_set.html
@@ -269,24 +269,34 @@ tr.exportTo('tr.v', function() {
HistogramSet.GROUPINGS = {
HISTOGRAM_NAME: new HistogramGrouping('name', h => h.name),
- BENCHMARK_NAME: new HistogramGrouping('benchmark',
+ BENCHMARK_NAME: new HistogramGrouping(
+ 'benchmark',
h => tr.v.d.IterationInfo.getField(h, 'benchmarkName', '')),
- BENCHMARK_START: new HistogramGrouping('time',
+ BENCHMARK_START: new HistogramGrouping(
+ 'time',
h => tr.v.d.IterationInfo.getField(h, 'benchmarkStartString', '')),
- STORYSET_REPEAT: new HistogramGrouping('storyset repeat',
+ STORYSET_REPEAT: new HistogramGrouping(
+ 'storyset repeat',
h => tr.v.d.IterationInfo.getField(
h, 'storysetRepeatCounterLabel', 0)),
- STORY_REPEAT: new HistogramGrouping('story repeat',
+ STORY_REPEAT: new HistogramGrouping(
+ 'story repeat',
h => tr.v.d.IterationInfo.getField(
h, 'storyRepeatCounterLabel', 0)),
- STORY_NAME: new HistogramGrouping('story',
+ STORY_NAME: new HistogramGrouping(
+ 'story',
h => tr.v.d.IterationInfo.getField(h, 'storyDisplayName', '')),
- DISPLAY_LABEL: new HistogramGrouping('label',
+ LEGACY_TIR_LABEL: new HistogramGrouping(
+ 'tir',
+ h => tr.v.d.IterationInfo.getField(h, 'legacyTIRLabel', '')),
+
+ DISPLAY_LABEL: new HistogramGrouping(
+ 'label',
h => tr.v.d.IterationInfo.getField(h, 'displayLabel', 'Value'))
};
« 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