Bug report
Bug description:
As discussed with @pablogsal during EuroPython sprints:
python -m profiling.sampling run --binary -o baseline.bin flamegraph_demo.py
python -m profiling.sampling replay --flamegraph -o flamegraph.html baseline.bin
The resulting flamegraph.html shows duration and samples/sec as “--” in sidebar.
This is a fairly minor UX issue; e.g., hovering over the flamegraph gives values for the total time of _run_code, which is a good proxy for the total duration. However, if it is not too difficult to reconstruct these quantities from the binary format, it would be nice to fix this.
CPython versions tested on:
3.15
Operating systems tested on:
macOS
Linked PRs
Bug report
Bug description:
As discussed with @pablogsal during EuroPython sprints:
The resulting
flamegraph.htmlshows duration and samples/sec as “--” in sidebar.This is a fairly minor UX issue; e.g., hovering over the flamegraph gives values for the total time of
_run_code, which is a good proxy for the total duration. However, if it is not too difficult to reconstruct these quantities from the binary format, it would be nice to fix this.CPython versions tested on:
3.15
Operating systems tested on:
macOS
Linked PRs