Skip to content

Profiling function that call another function #276

@tmwstw7

Description

@tmwstw7

Hi everyone, I've stuck with such kind of issue: I'm trying to profile function that calls couple of other functions, e.g.:

def foo(a, b):
    return a+b

@profile
def bar(d):
   f = foo(4,5)
   return d*f

and as was mentioned in other issues with similar topics, Memory metric is the same during all time. I got that this caused by calling one func from another, but still didn't understand how to fix it. Could someone explain how to make things work properly?

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