commit | 2572ddc7cb8d98a935e1ba8772109fc25f6f1ebd | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Thu May 05 00:25:37 2022 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Thu May 05 00:25:37 2022 +0100 |
tree | e98e9169473f043a0d12a6c1dbd6aa748a6892e2 | |
parent | f8b405298bd883ba95f7a14acfce230b37487ad3 [diff] |
tp: optimize SelectBvWithIv function in RowMap This function will be important for go/perfetto-cpp-views so add an extra algorithm which will kick in when the selector is "small". To find the value of the threshold constant, add some algorithm benchmarks which calculate the ratio where one algorithm is faster than the other. Also while I'm here, add some non-controversial optimizations to RowMap (true fast-paths). Bug: 220373202 Doc: go/perfetto-cpp-views Change-Id: Ib4d5d18bb1843d6836927586da0aa1c0fa95b6c7
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.