Chromium Code Reviews
DescriptionMetric-ify SystemHealth metrics.
SystemHealthMetrics is a registered metric that just calls ResponsivenessMetric
and EfficiencyMetric.
ResponsivenessMetric calls AnimationThroughput/SmoothnessMetric before computing
responsiveness for each UserExpectation.
Each metric adds one ScalarNumericValue for each supported UserExpectation.
By "supported", I mean, for example, that IdleExpectations do not afford the
concept of responsiveness; only AnimationExpectations afford throughput and
smoothness.
Each metric value contains groupingKeys "userExpectation" (UE.stableId),
"userExpectationStageTitle", and "userExpectationInitiatorTitle".
The metrics throw in cases that should never happen, e.g. if there are no
frame events associated with an AnimationExpectation,
or if a UE is neither Response/Animation/Idle/Load.
This CL does not plumb the new metrics into any UI.
See also https://codereview.chromium.org/1741843002
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/ed08f0f1f07a6d16e3626c3a197499763f9b76c4
Patch Set 1 #Patch Set 2 : . #
Total comments: 3
Patch Set 3 : rebase, comment #Patch Set 4 : throw #
Total comments: 4
Patch Set 5 : per-UE ScalarNumericValues with groupingKeys #Patch Set 6 : fix tests #Patch Set 7 : rebase #Patch Set 8 : fix single-user-expectation-sub-view #Patch Set 9 : rebase #Messages
Total messages: 29 (12 generated)
|