|
Merge NumericValue into Histogram.
Pour one out for Value, y'all.
The Value system was a really neat architecture. It made good sense.
But when the TBM2 rubber hit the road, it turned out that the only Value
subclass that was needed was NumericValue.
And in order for merging NumericValues to be predictable, they need to specify
reasonable ranges, and, well, be Histograms.
The TBM2 UIs should handle the scalar statistics.
If all metrics always produce NumericValues that contain Histograms, it's just
more ergonomic if those are the same object.
This aligns with UMA histograms, which have names and bin configurations and
descriptions.
I considered splitting Histogram into a base/ Histogram without name and
diagnostics, and a MetricHistogram with them, but the only non-metric client of
Histogram (multi_sample_sub_view) needs diagnostics (though not name).
So let's keep a monolithic Histogram for now. We can split it if and when a
fault-line emerges in the use-cases. This means that tracing/ui will depend on
value/ (when lpy lands it), but that's already been the case since ScalarNumeric
was moved to value/.
This will invalidate existing results2.html again.
A follow-up patch will move ScalarNumeric to base/ with the Unit system, and
delete NumericBase.
Another follow-up will rename ValueSet, value-set-table, sourceValues, etc.
BUG=catapult:#2685
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/4d79e0661cd7df860765247ca5250f8dcb19735c
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+670 lines, -1039 lines) |
Patch |
 |
M |
trace_processor/experimental/mappers/test_mapper.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
trace_processor/experimental/mappers/thread_grouping.html
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
tracing/trace_viewer.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/blink/gc_metric.html
|
View
|
|
8 chunks |
+20 lines, -24 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/blink/gc_metric_test.html
|
View
|
|
4 chunks |
+46 lines, -46 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/cpu_process_metric.html
|
View
|
|
4 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/cpu_process_metric_test.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/metric_map_function.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/metric_registry_test.html
|
View
|
|
2 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/sample_metric.html
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/clock_sync_latency_metric.html
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/clock_sync_latency_metric_test.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/cpu_time_metric.html
|
View
|
|
3 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/cpu_time_metric_test.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/hazard_metric.html
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/hazard_metric_test.html
|
View
|
|
4 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/loading_metric.html
|
View
|
1
2
|
6 chunks |
+14 lines, -15 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/loading_metric_test.html
|
View
|
1
2
|
5 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/long_tasks_metric.html
|
View
|
|
3 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/memory_metric.html
|
View
|
|
4 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/memory_metric_test.html
|
View
|
|
4 chunks |
+17 lines, -19 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/power_metric.html
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/power_metric_test.html
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/rail_power_metric.html
|
View
|
1
2
3
|
4 chunks |
+16 lines, -21 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/rail_power_metric_test.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/responsiveness_metric.html
|
View
|
|
3 chunks |
+8 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/responsiveness_metric_test.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/scroll_power_metric.html
|
View
|
|
3 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/scroll_power_metric_test.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/tti_power_metric.html
|
View
|
1
2
|
5 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/tti_power_metric_test.html
|
View
|
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/webview_startup_metric.html
|
View
|
|
2 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/system_health/webview_startup_metric_test.html
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/tracing_metric.html
|
View
|
|
5 chunks |
+15 lines, -22 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/tracing_metric_test.html
|
View
|
|
5 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/v8/execution_metric.html
|
View
|
|
6 chunks |
+77 lines, -89 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/v8/execution_metric_test.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/v8/gc_metric.html
|
View
|
|
12 chunks |
+32 lines, -37 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/v8/gc_metric_test.html
|
View
|
|
7 chunks |
+52 lines, -52 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/metrics/v8/utils.html
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/diagnostics/composition.html
|
View
|
|
4 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/diagnostics/composition_test.html
|
View
|
|
2 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/diagnostics/related_value_map.html
|
View
|
|
2 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/diagnostics/related_value_set.html
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/histogram.html
|
View
|
1
|
5 chunks |
+42 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/histogram_test.html
|
View
|
|
12 chunks |
+21 lines, -52 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/numeric.html
|
View
|
|
3 chunks |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/composition_span.html
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/composition_span_test.html
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/histogram_span_test.html
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/numeric_stats_span_test.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/related_value_map_span_test.html
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/related_value_set_span_test.html
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/scalar_span.html
|
View
|
1
2
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/scalar_span_test.html
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/value_set_table.html
|
View
|
1
2
|
12 chunks |
+33 lines, -37 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/value_set_table_test.html
|
View
|
|
8 chunks |
+43 lines, -64 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/ui/value_set_view_test.html
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
D |
tracing/tracing/value/value.html
|
View
|
|
1 chunk |
+0 lines, -143 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/value_set.html
|
View
|
1
|
7 chunks |
+26 lines, -37 lines |
0 comments
|
Download
|
 |
M |
tracing/tracing/value/value_set_test.html
|
View
|
|
7 chunks |
+22 lines, -24 lines |
0 comments
|
Download
|
 |
D |
tracing/tracing/value/value_test.html
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
Total messages: 29 (20 generated)
|