The basic tool for profile in Python is the built-in module cProfile . To profile an entire script, use the call: python -m cProfile path_to_script.py
確定! 回上一頁