-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
As indicated in README, the instrumentation is slow at the moment.
Here are some rough ideas how to speed it up:
-
Replace
sys.settrace()with lower-levelPyEval_SetTrace. -
Rewrite bytecode to inject instrumentation. (Perhaps use the bytecode module?)
-
Rewrite AST to inject instrumentation. (See how it's done in pytest.)
(I don't plan to work on any of these, unless there's funding for the work.)