Skip to content

Rename "nb:run_pass" to "numba:run_pass" and document it. - #8064

Merged
sklam merged 3 commits into
numba:mainfrom
sklam:misc/chrome_tracing
May 26, 2022
Merged

sklam merged 3 commits into
numba:mainfrom
sklam:misc/chrome_tracing

Conversation

@sklam

@sklam sklam commented May 18, 2022

Copy link
Copy Markdown
Member

run_pass event should have been a builtin event.

@sklam
sklam requested review from esc and stuartarchibald as code owners May 18, 2022 21:12
@sklam sklam added 3 - Ready for Review Effort - short Short size effort needed labels May 18, 2022

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the patch, couple of minor comments to resolve else looks good.

Comment thread numba/core/event.py Outdated
return_type=str(internal_state.return_type),
)
with ev.trigger_event("nb:run_pass", data=ev_details):
with ev.trigger_event("numba:run_pass", data=ev_details):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this be tested in numba.tests.test_event cf. test_compiler_lock_event, test_llvm_lock_event etc?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

test added in aca97ae

@stuartarchibald stuartarchibald added 4 - Waiting on author Waiting for author to respond to review and removed 3 - Ready for Review labels May 23, 2022
@stuartarchibald stuartarchibald added this to the Numba 0.56 RC milestone May 23, 2022
sklam and others added 2 commits May 25, 2022 17:43
Co-authored-by: stuartarchibald <stuartarchibald@users.noreply.github.com>
@sklam sklam added 4 - Waiting on reviewer Waiting for reviewer to respond to author and removed 4 - Waiting on author Waiting for author to respond to review labels May 25, 2022

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the patch and fixes!

@stuartarchibald stuartarchibald added 5 - Ready to merge Review and testing done, is ready to merge and removed 4 - Waiting on reviewer Waiting for reviewer to respond to author labels May 26, 2022
@sklam
sklam merged commit 5028b6b into numba:main May 26, 2022
@sklam
sklam deleted the misc/chrome_tracing branch May 26, 2022 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge Effort - short Short size effort needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants