Optimize tracing with C-extension#395
Conversation
Updated tracers.py to use the frame_stack_read C extension, reducing overhead for function call tracing.
|
I have updated tracers.py to utilize the frame_stack_read function from the C extension. This change optimizes the performance of function tracing by offloading stack reads to C. Ready for review. |
|
Hi! I see that the CI tests are failing on Python 3.9. Could you please help me understand the error logs so I can fix the compatibility issue? I want to ensure the frame_stack_read logic works correctly across all supported versions. |
|
Apologies for taking so long to reply to this! It also doesn't seem like your changes are doing what you think they are? These code sections are already using |
Updated tracers.py to use the frame_stack_read C extension, reducing overhead for function call tracing.