commit | efbfc23f9fc2ab27e3b36cb75fbc1a679e4ea6fa | [log] [tgz] |
---|---|---|
author | Chinglin Yu <chinglinyu@chromium.org> | Mon Jun 24 11:11:02 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jun 24 11:11:02 2019 |
tree | 264d97cee81a35761caf2589d727c3b72b18da8c | |
parent | 5c277e1ca24fc3c4b2b5c4ff52016cb0a81875eb [diff] |
Implement the jank monitor. The jank monitor watches janks on the browser UI and IO thread using content::responsiveness::MetricSource. The monitor watches task and native event on a separate sequence (i.e. the "monitor thread"). When the monitor observes task or event running for longer than a threshold, it notifies the user class about the start and stop of the jank through the Observer interface. Bug: 904785 Test: unit_tests: JankMonitorTest.* Change-Id: I0de7601e7564718e438d3063ce0bfd387bde6675 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1601019 Commit-Queue: Chinglin Yu <chinglinyu@chromium.org> Reviewed-by: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#671626}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .