Recent Changes · Search:

Dispense


Navigation Tips - Dritte


PmWiki

pmwiki.org

edit SideBar

Profiling

< Mujpy.grad | Index | Mujpy.GradProfiling >


Profiling a mujpy global fit

Requires cProfile (already in ubuntu python3) and

 pip install gprof2dot 

The fit is in a script (~/mujpy/mujpy-dev/Prova.py)

Remember to log in on afs first!

 python -m cProfile -o Prova.stats Prova.py 

 gprof2dot -f pstats Prova.stats | dot -Tsvg -o callgraph.svg

The terminal output is copied into ~/mujpy/mujpy-dev/Prova.log (standard)

The graphic output is


< Mujpy.grad | Index | Mujpy.GradProfiling >

Edit - History - Print - PDF - Recent Changes - Search
Page last modified on January 15, 2023, at 11:56 AM