Skip to content
T

Tuna

Python profile viewer

by nschloeFree

#1745in Utilities
0In stores

Description

Tuna is a Python profile viewer for performance analysis. It reads profiles produced by Python's profiler and shows where a program spends i…

Highlights

  • Viewer for runtime and import profiles
  • Shows only timings that the profile data supports
  • Installs from PyPI with pip
  • IPython line and cell magics
  • Built on d3 and Bootstrap with minimal dependencies

Ratings & Reviews

No ratings yet

Be the first to rate Tuna.

People also visit

S

Speedscope

A fast, interactive web-based viewer for performance profiles

Utilities
Launch
P

profilecli-insights

Query live Pyroscope profiles with profilecli, analyze them

AI Skills
Get
D

Dashbrew

TUI dashboard builder that lets you visualize data from scripts

Developer Tools
Launch
P

perf-profiler

Profiling CPU/memory hot paths, generating flame graphs

AI Skills
Get
T

TFM Tui

Modern mouse-first terminal file manager

Utilities
Launch
T

tanstack-devtools

Centralized, extensible devtools panel for TanStack libraries

AI Skills
Get

Tuna FAQ

What is tuna?

A Python profile viewer for performance analysis. It takes a profile file and shows where the program spends its time.

How do I install tuna?

Install it with pip from the Python Package Index. The IPython magics come with the package.

Why does tuna not show the whole call tree?

Python profiles store only parent data, so the full timed call tree cannot be rebuilt from them. Tuna shows only the part that can be deduced, which avoids the wrong timings SnakeViz can display.

Can tuna read import profiles?

Yes. It handles both runtime profiles and import profiles.

What are the best Tuna alternatives?

Popular alternatives to Tuna include Speedscope, TFM Tui and Python Web PDB. See all Tuna alternatives

Developer Stuff

Badges