flameprof
cProfile flamegraph generator
Decision gist · record as of 2026-08-14
No. The package is abandoned (last commit 2023-03-23, latest release 2018-12-25) and likely has compatibility issues with modern Python versions. While it solves a real problem—making cProfile output readable—the lack of maintenance, combined with high install friction from a source tarball distribution, makes it a poor choice for new projects. Consider maintained alternatives for production profiling workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a cProfile .prof file as input; the package itself is no longer maintained and may have compatibility issues with modern Python versions.
- High install friction: the package is archived (last commit 2023-03-23) and abandoned.
- No runtime dependencies, but the distribution itself is a source tarball, suggesting potential build or extraction steps.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2018-12-25 (2789 days) · last repo commit 2023-03-23 · 257 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 621,844 downloads/mo, #5,713 on PyPI
Alternatives
Verify before relying
pip install flameprof
python -m cProfile -o myscript.prof myscript.py
flameprof myscript.prof > output.svg- Whether the package works reliably with Python 3.10+ given its abandonment and last release in 2018.
- Whether the source tarball distribution requires compilation or has undocumented system dependencies.
- Compatibility with modern versions of flamegraph.pl when using --format=log output.
What it is and what it does
Flameprof reads Python cProfile statistics and generates flamegraph visualizations to help you understand where your code spends time. It addresses a key limitation of cProfile's built-in reporting—which can be verbose and hard to parse—by rendering call stacks as compact, interactive flamegraphs. You profile your script normally using cProfile, then pipe the .prof file through flameprof to get an SVG you can open in a browser and explore by clicking.
The tool offers two output modes: native SVG with interactive features like tooltips showing cumulative and total timings and call counts, or a trace log format that feeds into the flamegraph.pl script. The native SVG mode includes visual cues like green bars to indicate where flameprof estimates timing ratios, and supports an inverted view to show total time across all calls. It's designed for developers, system administrators, and performance engineers who need to profile Python applications and visualize the results clearly.
Use it for
- Profile a long-running Python service to identify bottlenecks and understand which functions consume the most CPU time.
- Generate an interactive SVG flamegraph from a cProfile dump to share with team members for performance review.
- Replace gprof2dot for Python profiling when you want cleaner, less noisy visualizations of call stacks.
- Export cProfile data as a trace log and process it with flamegraph.pl for further customization or analysis.
- Analyze batch job performance by profiling the script, generating a flamegraph, and drilling into specific call paths.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last commit 2023-03-23, latest release 2018-12-25) and likely has compatibility issues with modern Python versions. While it solves a real problem—making cProfile output readable—the lack of maintenance, combined with high install friction from a source tarball distribution, makes it a poor choice for new projects. Consider maintained alternatives for production profiling workflows.
Install
flameprof on PyPI
Before you install
High install friction: the package is archived (last commit 2023-03-23) and abandoned. No runtime dependencies, but the distribution itself is a source tarball, suggesting potential build or extraction steps. Not actively maintained.
Requires a cProfile .prof file as input; the package itself is no longer maintained and may have compatibility issues with modern Python versions.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install flameprof
python -m cProfile -o myscript.prof myscript.py
flameprof myscript.prof > output.svg
Verify before relying
- Whether the package works reliably with Python 3.10+ given its abandonment and last release in 2018.
- Whether the source tarball distribution requires compilation or has undocumented system dependencies.
- Compatibility with modern versions of flamegraph.pl when using --format=log output.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,789 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 621,844 / month, #5,713 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: InternetTopic :: Scientific/EngineeringTopic :: System :: Distributed ComputingTopic :: System :: MonitoringTopic :: System :: Systems Administration |
Evidence: flameprof-0.4.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “python profiling visualization”
- flameprofConverts Python cProfile statistics into interactive flamegraph…
- pyprof2calltreeConverts Python cProfile profiling data into kcachegrind/qcachegrind…
- gprof2dotConverts profiler output from many sources (perf, Valgrind, OProfile,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also gprof2dot · pytest-profiling · pyprof2calltree · djdt-flamegraph · tuna · django-cprofile-middleware · viztracer · py-spy · snakeviz · line-profiler