commit | 0907e908e8185cd6d76119bcc68831517724075d | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Fri Nov 17 13:48:34 2023 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Fri Nov 17 13:48:34 2023 +0000 |
tree | 07861711cbf1a1f0e0812bc916ba07d29fac3e54 | |
parent | 00d522fc8e81830ebf4b74fb1d949af65bdefb7b [diff] |
tp: open databases with SQLITE_OPEN_NOMUTEX As trace processor is single threaded, there's no point of paying the cost of mutexes inside of SQLite (which can be a huge overhead in our workloads). By opening databases with SQLITE_OPEN_NOMUTEX, even if SQLite is multi-threading capable, we will use it in a single-threaded manner. Bug: 311633436 Change-Id: I12fb95383cdb6d341955d0d369db101fbaf29b22
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.