Context:
Today, the perfetto UI produced a message I hadn't seen before:
Perfetto UI features are limited for JSON traces. We recommend recording proto-format traces from Chrome.
The docs appear to be: https://perfetto.dev/docs/reference/trace-packet-proto
The trace json output format is fairly verbose, so my hope is that by using proto format we produce more compact files that are easier to ship around and perhaps also lighter weight in the browser. Those extra features they're referencing may be nice too, but I don't know what they are. Currently we cap at 100MiB of JSON data. If we maintain the same cap on proto data (I don't know what the limits of the perfetto UI are) we could represent a larger timeline.
Context:
go tool trace ... && curl .../jsontraceto get a file to upload.Today, the perfetto UI produced a message I hadn't seen before:
The docs appear to be: https://perfetto.dev/docs/reference/trace-packet-proto
The trace json output format is fairly verbose, so my hope is that by using proto format we produce more compact files that are easier to ship around and perhaps also lighter weight in the browser. Those extra features they're referencing may be nice too, but I don't know what they are. Currently we cap at 100MiB of JSON data. If we maintain the same cap on proto data (I don't know what the limits of the perfetto UI are) we could represent a larger timeline.