Developer Tools

PyProfile

Python stdlib module — profile. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.main()Neutral
#
Signature
main()

main function.

.run()Neutral
#
Signature
run(statement, filename, sort)

Run statement under profiler optionally saving results in filename

.runctx()Neutral
#
Signature
runctx(statement, globals, locals, filename, sort)

Run statement under profiler, supplying your own globals and locals,

.Profile()Neutral
#
Signature
Profile(...)

Profiler class.

Fully-Qualified Names

FQNField
profilefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import profile