commit | 92aa285a91dde297c62ce659b86f1391dcac93c1 | [log] [tgz] |
---|---|---|
author | Nicolò Mazzucato <nicomazz@google.com> | Thu Sep 12 22:36:37 2019 +0100 |
committer | Nicolò Mazzucato <nicomazz@google.com> | Thu Sep 12 22:36:37 2019 +0100 |
tree | 97403e01532926c102c688d4fe04d193fca22c14 | |
parent | f29a96b9c589def210cd27ce72ece8861be13f51 [diff] |
Enhance open Trace from arrayBuffer peformance When we opened a trace from an arrayBuffer, we used '.slice(start,begin)', that creates a copy of the array each time. Using 'subarray' we save this copy. the new Uint8array created points to the same 'ArrayBuffer' of the original UInt8array, but with a different offset and length. Change-Id: I479a28ec8977333003ba5ec364ca0c74645d6e1d
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.