News

cProfile is hardly the only way to profile a Python application. cProfile is certainly one of the most convenient ways, given that it’s bundled with Python. But others deserve attention.
A simple 10-line script, for instance, isn’t a bad candidate for being profiled this way. But there are better tools for that job — for instance, Python ... run a timeit profile many times ...