3 ms·
USDTs have significant overhead per active probe. I would not call that minimal. They are very cheap when inactive, but inactive probes can't do this.
by loeg 4y ago
USDTs have significant overhead per active probe. I would not call that minimal. They are very cheap when inactive, but inactive probes can't do this.
- maxbond 4y agoIf it can't be done cheaper then it's minimal; tracing line by line will always be expensive. I'm assuming (I scanned the readme & it didn't mention) what they've found is that USDTs are cheaper than the built-in `sys.settrace()` facility.
- loeg 4y agoIt can be done cheaper, although it may not be noticeable compared to the overhead of Python in general.