commit | 63d7ac5b95f071ceeb52f885e7449b606dbe54e8 | [log] [tgz] |
---|---|---|
author | Andrew Shulaev <ddrone@google.com> | Wed Apr 20 11:12:57 2022 +0100 |
committer | Andrew Shulaev <ddrone@google.com> | Wed Apr 20 11:12:57 2022 +0100 |
tree | 67d3acccebb7c9b4133dc794733da014564355c2 | |
parent | 0ce5dbae0e6d544b658260505993f18be323bcb8 [diff] |
Simplify the code window.localStorage.getItem already returns a value of type string|null, the only time the typeof check would be false is on `null` value, assigning which to this.recordTargetOS is done anyway on a separate line. Change-Id: Ia5a1ddd5ede42f7552a4ad38cdbe02345f177cbc
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.