markshannon / faster-cpython

How to make CPython faster.
940 stars 19 forks source link

Profiling support question #8

Open sumerc opened 3 years ago

sumerc commented 3 years ago

To avoid the complexity of trying to support this general purpose tracing in a high performance interpreter, we plan to provide an API for inserting debugging and profiling points into the bytecode at runtime.

Could you elaborate the design of this one? Are we talking about the JITed code here? Out of curiostity, Is there any other example that uses similar approaches like PyPy maybe?