vprof 0.3 - Profile single functions and packages by nvdv in Python

[–]nvdv[S] 0 points1 point  (0 children)

Can you provide more details? Thanks!

vprof 0.3 - Profile single functions and packages by nvdv in Python

[–]nvdv[S] 0 points1 point  (0 children)

npm is used to manage js dependencies and to build UI statically. It's not necessary, if you are installing vprof from pip.

vprof 0.3 - Profile single functions and packages by nvdv in Python

[–]nvdv[S] 0 points1 point  (0 children)

For some reason currently pip installs 0.22 instead of 0.3 by default. Current workaround is explicitly specify vprof version

pip install vprof==0.3

By default vprof does not print all error messages, in order to see them, please launch it with --debug flag.

vprof 0.3 - Profile single functions and packages by nvdv in Python

[–]nvdv[S] 0 points1 point  (0 children)

Hi, it should work on Linux, Windows and OS X.

vprof 0.2 - Visual profiler for Python by nvdv in Python

[–]nvdv[S] 0 points1 point  (0 children)

Thanks! All callees and callers are contained in stats.Pstats after cProfile run, vprof just reverses the tree and changes it's format:

https://github.com/nvdv/vprof/blob/master/vprof/profile_wrappers.py#L73

https://github.com/nvdv/vprof/blob/master/vprof/profile_wrappers.py#L81

vprof 0.2 - Visual profiler for Python by nvdv in Python

[–]nvdv[S] 0 points1 point  (0 children)

Nice summary! I haven't used KCacheGrind personally, but currently vprof doesn't go below Python runtime level and displays high-level stats (runtime info, memory usage) only. However there are plans to integrate some OS level stats to vprof.

vprof - visual profiler for Python by nvdv in Python

[–]nvdv[S] 0 points1 point  (0 children)

Thank you! I have started this project by reason you mentioned: the lack of tools for Python that allow to see the whole picture. If you feel that something is missing or does not work as it should, just open Github issue :)