pycallgraph VS tuna

Compare pycallgraph vs tuna and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pycallgraph tuna
2 4
1,486 1,263
- -
0.0 0.0
- about 2 months ago
Python Python
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

pycallgraph

Posts with mentions or reviews of pycallgraph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-22.

tuna

Posts with mentions or reviews of tuna. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.
  • Is AWS Lambda Cold Start Still an Issue?
    2 projects | dev.to | 18 Mar 2024
    Every minor detail matters and adds to the total import time as part of the cold start. We need to optimize our code and imports. If you use Python, you can analyze your code with a tool like Tuna and optimize your libraries (perhaps replace slower ones) and your imports.
  • Make Python Run Faster
    1 project | news.ycombinator.com | 26 Oct 2022
  • Scanning Function calls in a script - is there a tool?
    4 projects | /r/learnpython | 22 Sep 2022
  • Creating a Python CLI with Go(lang)-comparable startup times
    5 projects | /r/Python | 23 Mar 2022
    I started to examine the output of python -X importtime -m gefyra 2> import.log just to check the imports. There is an awesome tool to analyze the Python imports: tuna (see: https://github.com/nschloe/tuna). tuna allows analyzing the import times from the log. Run it like so tuna import.log. It opens a browser window and visualizes the import times. With that I was able to manually move all imports to the functions in which they are needed (and bring in some other optimizations). This greatly violates PEP 8 (https://peps.python.org/pep-0008/#imports) but leads to very fast startup times.

What are some alternatives?

When comparing pycallgraph and tuna you can also consider the following projects:

code2flow - Pretty good call graphs for dynamic languages

SnakeViz - An in-browser Python profile viewer

pydeps - Python Module Dependency graphs

Altair - Declarative statistical visualization library for Python

coala - coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.

ggplot - ggplot port for python

pysonar2 - PySonar2: a semantic indexer for Python with interprocedual type inference

seaborn - Statistical data visualization in Python

vprof - Visual profiler for Python

vincent

Undebt - A fast, straightforward, reliable tool for performing massive, automated code refactoring

PyQtGraph - Fast data visualization and GUI tools for scientific / engineering applications