We've landed a new jank metric which computes the percentage of time janky.
Add this to our waterfall FYI bot to start gather data in the lab on a trace that just scrolls. This metric has a couple differences since we can't use windowing functions and the histogram format doesn't support microseconds so I used milliseconds instead. I was able to get the results.json and using ui.perfetto.dev I verified (minus the us -> ms and integer percentage -> floating percentage) that the results are exactly the same. You can run this (replacing paths and supplying your own trace file) with the following command: tools/perf/core/tbmv3/run_tbmv3_metric.py \ --trace ~/chromium-team/pixel4_220120_7_flings \ --metric janky_time_per_scroll_processing_time \ --trace-processor-path ../../perfetto/out/linux_clang_release/trace_processor_shell Bug: internal b/150600174 Change-Id: I4acb2da4f998cc22ae537e4c38c9543cb2f2bae7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2087626 Commit-Queue: Stephen Nusko <nuskos@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
Mikhail Khokhlov <khokhlov@google.com> Auto-Submit: Stephen Nusko <nuskos@chromium.org> Cr-Commit-Position: refs/heads/master@{#747282}
Showing
This diff is collapsed.
Please register or sign in to comment