On Jan 23, 2004, at 5:29 PM, Fred L. Drake, Jr. wrote: > HotShot has had some attention, and has been found useful, but I don't > think of it as really finished. Issues have been reported relating to > making measurements when threads are involved, but I've not had any > time available for it. > > There is some documentation in the Library Reference: > > http://www.python.org/doc/current/lib/module-hotshot.html > > What's in the standard library contains the low-level profiler and a > hotshot.stats module that allows the same kind of analysis and > reporting as the pstats module supports for the older profile module. There was some note in a presentation you gave quite a while ago that HotShot could profile C extension functions, but I believe that would have required a change to the main python interpreter loop. Does it actually allow the profiling of extension functions, and was it via some previously existing mechanism in python, or did the interpreter change? (at least the last time I was in eval_frame, CALL_FUNCTION wasn't profiled if PyCFunction_Check returned true - I actually modified this at one point except in cases where fast_cfunction was used, but at least in 2.2.2 the standard distribution didn't seem to have the ability to profile extension functions). -- Nick
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4