commit | e0e5780270f80eca39504d37a464ae2939e0a38a | [log] [tgz] |
---|---|---|
author | Hector Dearman <hjd@google.com> | Wed Nov 21 16:09:56 2018 +0000 |
committer | Hector Dearman <hjd@google.com> | Wed Nov 21 16:09:56 2018 +0000 |
tree | 8790e877e9b2d88f425ce016bf69b49c332c252c | |
parent | 2da0d123402a3b93b5f08fdf2fa9ce3d690cdf75 [diff] |
Collect ftrace protos into one file per group Rather than have one proto for each ftrace event have one per group. This cuts ~800 build targets and reduces the time for a clean build by ~30%. Before: $ time ninja -C out/mac_debug/ [1881/1881] stamp obj/default.stamp ninja -C out/mac_debug 1292.93s user 117.97s system 717% cpu 3:16.73 total After: $ time ninja -C out/mac_debug/ [1035/1035] stamp obj/default.stamp ninja -C out/mac_debug/ 895.71s user 71.32s system 745% cpu 2:09.70 total Change-Id: Ieff7e8721b9d3b240db722105baf1651d4ac8bb5
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.