Skip to content

Can I get %prun format result from line_profiler? #217

Open

Description

@PaleNeutron

I want to profile a function contains multiprocess and if I use %prun I can only see something like

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     1109   10.339    0.009   10.339    0.009 {method 'acquire' of '_thread.lock' objects}

Functions inside child process will not be profiled.

line_profiler can get into process but I can only view result for one function line by line so I have to step into hot function using -f time and time.

Can I get %prun style result which counting all function called inside one function?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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