From 9f7e785c7b8dd86b554fac0473f6d526df2bec9d Mon Sep 17 00:00:00 2001 From: "Ming Lyu (CareF)" Date: Thu, 17 Dec 2020 12:59:03 -0500 Subject: [PATCH] add doc for scroll_smoothness metrics (#72479) --- .../complex_layout/test/measure_scroll_smoothness.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart b/dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart index a6ae37c6fa..92048ab552 100644 --- a/dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart +++ b/dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart @@ -212,8 +212,11 @@ Future main() async { /// response. /// /// The returned map has keys: -/// `average_abs_jerk`: average for the overall smoothness. -/// `janky_count`: number of frames with `abs_jerk` larger than 0.5. +/// `average_abs_jerk`: average for the overall smoothness. The smaller this +/// number the more smooth the scrolling is. +/// `janky_count`: number of frames with `abs_jerk` larger than 0.5. The frames +/// that take longer than the frame budget to build are ignored, so increase of +/// this number itself may not represent a regression. /// `dropped_frame_count`: number of frames that are built longer than 40ms and /// are not used for smoothness measurement. /// `frame_timestamp`: the list of the timestamp for each frame, in the time