Skip to content

Replayed Tachyon flamegraphs report unknown efficiency as 100% #154089

Description

@pablogsal

Bug report

Bug description:

Binary profiles do not store error or missed-sample statistics, but replayed flamegraphs display them as perfect values.

python -m profiling.sampling run --binary -o profile.bin demo.py
python -m profiling.sampling replay --flamegraph -o profile.html profile.bin

The sidebar shows 100% sampling efficiency and 0% missed samples. These values are unknown during replay and should not be displayed as measured results.

CPython versions tested on:

3.16

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-profilingtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions