Skip to content

proposal: cmd/trace: /prototrace endpoint #57159

@aktau

Description

@aktau

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Proposalcompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    No status

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions