Skip to content

Compatibility guarantees for Profile-Guided Optimization (PGO) purposes with Go  #821

Closed
@zamazan4ik

Description

@zamazan4ik

Hi!

We are evaluating using Profile-Guided Optimization (PGO) with Go. Right now the Go compiler stores the profile as a file, that later can be reused. However, I cannot find the information about the backward/forward compatibility guarantees of the pprof format (the format used by the Go compiler). For us, it's important to know because right now we cannot understand whether will it be possible to use PGO profiles from the older compiler with a newer Go version or not (and vice versa).

In LLVM PGO infrastructure we already met some problems with that - the Clang/LLVM documentation also hasn't this information yet. We want to avoid such problems with Go in the future.

What version of pprof are you using?

N/A

What operating system and processor architecture are you using?

Any

What did you do?

No error - just a question

What did you expect to see?

I expect to see the compatibility guarantees information somewhere in the pprof format documentation.

What did you see instead?

I cannot find the information about the backward compatibility guarantees.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions