News

The cProfile module gathers statistics about the execution time of a Python program. It can report on anything from the entire app to ... z=[] for q in range(0,400000): z.append(q) def main ...
def f1(): for n in range(100): pass ... that job — for instance, Python’s cProfile module, which generates far more detailed statistics about your entire program’s performance.