Vprof

Latest version: v0.38

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.37.1

Fixed
* Code heatmap displays all code except code from standard library now (66).

0.37

vprof 0.37 has been released.

New features

* Now you can see run time distribution for modules under "Inspected modules".
* Also you can get info about current tab by pressing the "?" button in the top right corner.
* Bug fixes and performance improvements.

0.36.1

Fixed
* vprof crashes with a stacktrace on scripts with Python 3.6.1 32-bit and Windows (64)

0.36

vprof 0.36 has been released.

New features

Code heatmap shows run times for individual lines
Now you can see run time distribution over executed lines on code heatmap tab.
The feature is experimental and will be improved in future versions.


![4ebd7ec4-042d-11e7-9489-e821b449bd6f](https://cloud.githubusercontent.com/assets/745431/24835955/1898f356-1d18-11e7-80f4-bfb0e4a43c0c.png)

0.35

New features

Consistent flame graph coloring

Now every function in flame graph has it's own color allowing to explore function call patterns.
![screen shot 2017-01-12 at 11 54 46](https://cloud.githubusercontent.com/assets/745431/21887815/8e4a6dc6-d8d2-11e6-8ffa-e428c089dbf4.png)

0.34

Thanks to all contributors!

New features

Render visualizations from file

vprof is able to save profile stats to file and render visualizations from previously saved file now.

sh
vprof -c cmh src.py --output-file profile.json


writes profile to file and

sh
vprof --input-file profile.json


renders visualizations from previously saved file.

Please note that stats rendering is supported for the same version only (e.g.
vprof 0.35 won't render stats from 0.34).

Flame graph uses statistical profiler

Flame graph now uses statistical profiler instead of cProfile.

"Profiler" tab

New "Profiler" tab shows how long and how long often various parts of the programs are executed.

![profile](http://i.imgur.com/mU5LkEt.png)

Other changes

`-s` flag has been removed from CLI.

Please, check `vprof -h' or README.md for more info.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.