commit | d943da40ee36009215379d08288339b07abc2d74 | [log] [tgz] |
---|---|---|
author | Anna Mayzner <mayzner@google.com> | Tue May 07 12:42:55 2024 +0000 |
committer | Anna Mayzner <mayzner@google.com> | Tue May 07 12:42:55 2024 +0000 |
tree | 591acece9eaac5ea877337f87a775acc3bcd61e5 | |
parent | 16f039d5ac2c7a6aa93c1dfc65af3fd6ece7e571 [diff] |
tp: Enable in-house LIMIT and OFFSET in Perfetto ``` --------------------------------------------------------------------------------- Benchmark Time CPU Iterations s/out s/row --------------------------------------------------------------------------------- BM_QEOffsetLimit 16.9 ns 16.9 ns 41670492 1.69303ns 45.6727fs ``` Query `SELECT * FROM ftrace_event LIMIT 10 OFFSET 5;` went from 28ms to 0ms on 300MB trace. Change-Id: I8212b88a64f6ef6656d3f2eda72bcb6bdac13cc8
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.