Skip to content

Protect profile against very large stacks#4082

Open
mrocklin wants to merge 2 commits into
dask:mainfrom
mrocklin:profile-deepstack
Open

Protect profile against very large stacks#4082
mrocklin wants to merge 2 commits into
dask:mainfrom
mrocklin:profile-deepstack

Conversation

@mrocklin

Copy link
Copy Markdown
Member

This can come up in tracebacks when exporting profiles.

This isn't quite right. We're chopping off the calling functions of the
call stack rather than the called functions, but it's easiest to do it
this way given how we've arranged our profile processing function. So
the top of the call stack will appear somewhat disassociated, but will
still be around.

Mostly I don't care too much about pathological cases like these, as
long as they don't ruin communication of the rest of the system.

This can come up in tracebacks when exporting profiles.

This isn't quite right.  We're chopping off the calling functions of the
call stack rather than the called functions, but it's easiest to do it
this way given how we've arranged our profile processing function.  So
the top of the call stack will appear somewhat disassociated, but will
still be around.

Mostly I don't care too much about pathological cases like these, as
long as they don't ruin communication of the rest of the system.
Base automatically changed from master to main March 8, 2021 19:04
@mrocklin mrocklin requested a review from fjetter as a code owner January 23, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant