commit | 7e9c2a0d12d0fadb87e1a2722ef187d554d48fa0 | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Fri Sep 27 16:46:16 2019 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Fri Sep 27 15:48:20 2019 +0000 |
tree | f13d251682f8b5e5fba29ac5f3d1790f3887cab2 | |
parent | 2e230c0d9b01719c767ede4625cd353db8ce9bc2 [diff] |
trace_processor: add basic cost estimation for db backed tables This CL adds a very simple algorithm for cost estimation of db backed tables which tries to prioiritise constraints on id columns and always wants more constraints. In the future, we will improve this algorithm to also take into account sorting and the quality of the constraints. Context: go/perfetto-tp-refactor Bug: 135177627 Change-Id: I117e42598ecea2e79f7d7ef698e31d2c137b6ef6
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.