Chromium Code Reviews
DescriptionPass rangeOfInterest to metrics for the metrics side panel.
Currently, metrics always act on the entire model.
However, in trace-viewer, it is useful to be able to select a part of the model
and ignore the rest. The metric side panel would be more useful if it allowed
users to compute metrics for a selected time range.
This CL updates responsivenessMetric and longTasksMetric as examples of this
new capability, though any metric can optionally take a third "opt_options"
parameter containing "rangeOfInterest". More options could be added to opt_options.
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/a4f88ac68ed0607261df1d6a1f33d5239e97dfa7
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||