commit | 79472be3ab3139a206a41ff17c822ba4642afcd8 | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Tue Dec 04 13:41:27 2018 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Tue Dec 04 13:41:27 2018 +0000 |
tree | 72bf72288ca4da81d2bd62a5e94c4b6ff74b3e67 | |
parent | 31635f24673be52cb63f719d258fd21c36d3192b [diff] |
trace_processor: make args table a lot more efficient Before, we were doing a full table scan every time we joined the counters (or any future table) with the args table. Instead, since we have the multimap of id -> row index, we can do an O(1) lookup to find the rows associated with the id (if they exist). This makes a full inner join a lot faster: Old code on a 6MB trace: 436s New code on a 6MB trace: 300ms Change-Id: Ie5beebd49142759854f0489ee719c369a24de295
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.