You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@iritkatriel
This feature is needed for debugging or experimentation when handling optimized bytecode.
When I want to take a look at the sequence of bytecodes that is optimized with the specific pipeline but not all pipelines, I need to disable several pipelines from
and rebuild the CPython it's pretty painful because when I want to change the combination of optimization than I should rebuild CPython every time.
It would be great if there is a way to disable specific optimization pipelines at runtime when I want.
Above example is just one specific case and sometime I want to disable all _PyCfg_OptimizeCodeUnit or part of _PyCfg_OptimizeCodeUnit.
This is what I wanted to ask about at the PyCon and will happy to see your opinion about this.
The text was updated successfully, but these errors were encountered:
@iritkatriel
This feature is needed for debugging or experimentation when handling optimized bytecode.
When I want to take a look at the sequence of bytecodes that is optimized with the specific pipeline but not all pipelines, I need to disable several pipelines from
cpython/Python/flowgraph.c
Lines 1843 to 1851 in 30b4e9f
It would be great if there is a way to disable specific optimization pipelines at runtime when I want.
Above example is just one specific case and sometime I want to disable all
_PyCfg_OptimizeCodeUnit
or part of_PyCfg_OptimizeCodeUnit
.This is what I wanted to ask about at the PyCon and will happy to see your opinion about this.
The text was updated successfully, but these errors were encountered: