| commit | 6570222e0f7fd09e13b668cdc69d378a75295c29 | [log] [tgz] |
|---|---|---|
| author | Andrew Shulaev <ddrone@google.com> | Thu Mar 17 10:02:39 2022 +0000 |
| committer | Andrew Shulaev <ddrone@google.com> | Thu Mar 17 10:02:39 2022 +0000 |
| tree | 481dc96ede82cfd2ff98311dc2e9896dffb4ab4d | |
| parent | deac2d35a18ac8a216f70607fcbfe6615445869f [diff] |
Scroll to the slice when navigating via flow arrows To scroll to the selected slice, globals.sliceDetails need to be up-to-date, which is not the case directly after changing the selection because their computation requires a database call. This CL adds a new state field with slice id to scroll to which is checked in publishSliceDetails method. A new parameter has been added to selectChromeSlice method, toggling which to true will use the mechanism described above to scroll to the slice after selection. Bug: 224749275 Change-Id: I35f84fa9e7e02ec0389477c0b1bebd795d190cfe
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.