News
How to use cProfile The cProfile module gathers statistics about the execution time of a Python program. It can report on anything from the entire app to a single statement or expression.
python -m timeit "for n in range (100):pass " On the whole, though, it’s easier to use the technique shown above, since you don’t need to awkwardly shoehorn your code into a text string.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results