[Python] Meaning of Cprofile python output: myprogram.py:1(<module>)

Discussão em 'Python' iniciado por Stack, Março 8, 2025.

  1. Stack

    Stack Membro Participativo

    I've been trying to use Cprofile to gage any bottlenecks in my python program. I've discovered that all but one of the function calls take about 4 seconds in total, however by sorting the results by tottime I have discovered the following:

    ncalls tottime percall cumtime percall filename:lineno(function)
    1 43.894 43.894 47.864 47.864 myprogram.py:1(<module>)


    I have tried googling what it exactly is, but I can't seem to find anything.

    Continue reading...

Compartilhe esta Página