commit | 6658ff3a7d93ef97704d5d4b207ee1b38c49919c | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Wed Jun 02 13:58:13 2021 +0100 |
committer | Primiano Tucci <primiano@google.com> | Wed Jun 02 13:58:13 2021 +0100 |
tree | d1020b2404d00d349427097af5ced00413dc91a7 | |
parent | 34eb6a14728a870046c2637dbfb909d02936b84c [diff] |
UI: Add streaming query API - Introduce an Engine.queryV2() method to Engine which uses the streaming endpoint (both in Wasm and HTTP+RPC). queryV2 takes advantage of the new protobuf-based row-oriented format. This format has been designed to allow fast decoding on the JS/TS side, minimizing the interop calls for string decoding. - Rename existing QueryIterator to LegacyQueryIterator. - Introduce new QueryItertor for the streaming results. - Introduce also the required classes in query_result.ts to deal with iteration over async result batches. Test: query_result_unittest.ts Bug: 159142289 Change-Id: I2fd2f16b635b8ef9b0919561b4fdd69791bd0a75
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.