# nschloe/tuna

:fish: Python profile viewer

Repository: https://github.com/nschloe/tuna
Canonical: https://ross.abutalabs.com/products/nschloe-tuna
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: python, pypi, profile, browser, profiler
Last push: 2026-06-16T19:09:28+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 84, longevity 100
- inputs: {"age_days": 2990, "days_push": 78, "days_rel": 106, "gap_med": 0, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1595, forks 35 (observed 2026-08-28T04:05:09.062907+00:00)

## What it is
Tuna is a lightweight Python profile viewer that visualizes runtime (cProfile) and import profiles in the browser using d3. It is a modern, faster alternative to SnakeViz with minimal dependencies.

## Use cases
- visualize python cProfile output
- view import time profiles
- find performance bottlenecks in python code
- browse .prof files interactively
- analyze slow python imports
- replace snakeviz for profile viewing

## When to choose
- you need a fast, dependency-light viewer for cProfile or importtime output
- you want interactive browser-based profile visualization
- SnakeViz renders your profiles incorrectly or too slowly

## When to avoid
- you need line-level or full call-tree profiling rather than viewing profile data
- you need a profiler itself - tuna only visualizes existing profiles
- you need profiling for languages other than Python

## Facets
- artifact type: cli-tool
- maturity: active
- function: data-visualization, benchmarking, developer-tools
- domain: developer-tools, performance, data-visualization
- platform: python, cli, browser, cross-platform
- tags: profiler, profile-viewer, cprofile, importtime, flame-graph

## Member repositories
- nschloe/tuna (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.062907+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:08.233864+00:00, confidence not recorded.
  - readme: https://github.com/nschloe/tuna (fetched 2026-08-28T04:05:09.062907+00:00, sha 3a48f979c179)
  - registry_pypi: https://pypi.org/pypi/tuna/json (fetched 2026-08-29T11:24:53.106959+00:00, sha 6fccc1c26899)
- Data as of 2026-08-30T08:39:29.467469+00:00.
