8000 GH-90230: Add stats to breakdown the origin of calls to `PyEval_EvalFrame` by markshannon · Pull Request #93284 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@markshannon
Copy link
Member

We want to minimize the number of context switches from C to Python code. To do that we need to know where those calls are coming from.

This is probably a temporary feature. Once the number of calls to PyEval_EvalFrame is largely eliminated within the VM, we can remove it.

@markshannon markshannon requested review from 1st1 and asvetlov as code owners May 27, 2022 11:35
@markshannon markshannon changed the title Add stats to breakdown the origin of calls to PyEval_EvalFrame GH-90230: Add stats to breakdown the origin of calls to PyEval_EvalFrame May 27, 2022
@markshannon markshannon merged commit bbcf424 into python:main May 27, 2022
@markshannon markshannon deleted the eval-call-stats branch September 26, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0