Skip to content

Profile: Stop allocation profiler even on error#44045

Merged
NHDaly merged 1 commit intoJuliaLang:masterfrom
IanButterworth:ib/profile_alloc_finally
Feb 5, 2022
Merged

Profile: Stop allocation profiler even on error#44045
NHDaly merged 1 commit intoJuliaLang:masterfrom
IanButterworth:ib/profile_alloc_finally

Conversation

@IanButterworth
Copy link
Copy Markdown
Member

@IanButterworth IanButterworth commented Feb 5, 2022

Stops the allocation profiler on error as well as return.

I noticed this because interrupting a run left the system sluggish

cc. @NHDaly @vilterp

@IanButterworth IanButterworth added stdlib Julia's standard library profiler labels Feb 5, 2022
Copy link
Copy Markdown
Contributor

@vilterp vilterp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, nice, thanks! Looks good to me.

@IanButterworth IanButterworth added the merge me PR is reviewed. Merge when all tests are passing label Feb 5, 2022
Copy link
Copy Markdown
Member

@NHDaly NHDaly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha whoops! Great call. Thanks Ian!
LGTM

@NHDaly NHDaly merged commit e623275 into JuliaLang:master Feb 5, 2022
@IanButterworth IanButterworth deleted the ib/profile_alloc_finally branch February 5, 2022 04:09
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Feb 7, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

profiler stdlib Julia's standard library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants