Skip to content

Optionally include lower level stack information in profile plots #2513

@mrocklin

Description

@mrocklin

The current statistical profiler can provide a ton of useful information about where user code spends time. Unfortunately it only looks down through Python code. Anything lower level is effectively opaque. For people wanting to profile low level compiled code this can be a limitation.

Last year @sklam integrated libunwind with stacktrace into Dask's statistical profiler here: https://github.com/dask/distributed/compare/master...sklam:stacktrace_integration?expand=1

Some work to do:

  1. Fix merge conflicts (probably simple)
  2. Add a test or two?
  3. Make it optional with configuration
  4. See how much performance cost arises from its use
  5. Try it out, report feedback, fix bugs

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