Open gvanrossum opened 6 years ago
Moreover if a previous profiler is already running they pass events to that too!
Lots of other stuff too, e.g. their utilities for finding the actual function. (OTOH I don't see any downsampling or other speed hacks in their code.)
Yes, the downsampling idea is something we can learn from pyannotate. I will surely add this.
I checked the profiling hook in pytypes, and they do two things we should also do: