profile

Class for profiling Python code.

Functions

Stats(*args)
help()
main()
resgetrusage()
run(statement[, filename, sort]) Run statement under profiler optionally saving results in filename
runctx(statement, globals, locals[, ...]) Run statement under profiler, supplying your own globals and locals, optionally saving results in filename.

Classes

OptionParser([usage, option_list, ...]) Class attributes: standard_option_list : [Option] list of standard options that will be accepted by all instances of this parser class (intended to be overridden by subclasses).
Profile([timer, bias]) Profiler class.