whyslow
gprof2dot
whyslow | gprof2dot | |
---|---|---|
2 | 5 | |
27 | 3,104 | |
- | - | |
6.4 | 4.8 | |
7 months ago | 2 months ago | |
Python | Python | |
MIT License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
whyslow
- Show HN: I developed the most user-friendly Python profiling tool available
-
Simpler performance profiling
Find code and instructions here: https://github.com/valentinstn/whyslow
gprof2dot
-
Visualizing Pythons process?
It also lets you run tools like https://github.com/jrfonseca/gprof2dot on the profiling results to generate comprehensive flowcharts (call graph) for your program.
-
Map a python project
The closes thing I can think of is gprof2dot. It's used for visual representations after profiling code: https://github.com/jrfonseca/gprof2dot
- Scanning Function calls in a script - is there a tool?
- Is there a way I can visualize all the function calls made while running the project(C++) in a graphical way?
-
Profiling Flask application to improve performance
There are a few tools to visualise the profile dumps. Some of them providing a full GUI for navigatig within your profiling results ( RunSnakeRun), some of them represent the analysis result as a Graph (gprof2dot). I stopped on snakeviz, which is a browser based visualizer. It is easy installed using pip install snakeviz, and then simply run with snakeviz profile_dir. The result looks something like this, and you can dive in to each of the visual parts to see its more close detalization, which is in my opinion is super cool and handy.
What are some alternatives?
pyheat - pprofile + matplotlib = Python program profiled as an awesome heatmap!
tracy - Frame profiler
dd-trace-py - Datadog Python APM Client
flask-profiler - a flask profiler which watches endpoint calls and tries to make some analysis.
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.
massif-visualizer - Visualizer for Valgrind Massif data files
python-benchmark-harness - A micro/macro benchmark framework for the Python programming language that helps with optimizing your software.
pytest-austin - Python Performance Testing with Austin
austin-tui - The top-like text-based user interface for Austin
pprof - pprof is a tool for visualization and analysis of profiling data
gperftools - Main gperftools repository
SnakeViz - An in-browser Python profile viewer