Python/Profilers

From Omnia
Revision as of 07:47, 4 August 2024 by Kenneth (talk | contribs) (Created page with "== Profiling == https://docs.python.org/3/library/profile.html The files cProfile and profile can also be invoked as a script to profile another script. For example: python -m cProfile [-o output_file] [-s sort_order] (-m module | myscript.py)")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Profiling

https://docs.python.org/3/library/profile.html

The files cProfile and profile can also be invoked as a script to profile another script. For example:

python -m cProfile [-o output_file] [-s sort_order] (-m module | myscript.py)