gprof2dot
brew install gprof2dot
v2025.4.14
LGPL-3.0-or-later
Convert the output from many profilers into a Graphviz dot graph
22
30-day installs · #6539
96
90-day · #5672
611
365-day · #4689
3.4k
★ GitHub stars · updated 7mo ago
Runtime dependencies
GitHub topics
c-plus-plus
graph
profiling
python
Links
- https://github.com/jrfonseca/gprof2dot
- GitHub: jrfonseca/gprof2dot
- Brew formula source: Formula/g/gprof2dot.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"graphviz",
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Convert the output from many profilers into a Graphviz dot graph",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:23+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "gprof2dot",
"github_default_branch": "main",
"github_last_commit_at": "2026-01-12T12:47:09Z",
"github_readme_excerpt": "# About _gprof2dot_\n\nThis is a Python script to convert the output from many profilers into a [dot graph](https://www.graphviz.org/doc/info/lang.html).\n\nIt can:\n\n * read output from:\n * [Linux perf](https://perf.wiki.kernel.org/)\n * [Valgrind\u0027s callgrind tool](https://valgrind.org/docs/manual/cl-manual.html)\n * [Sysprof](http://www.sysprof.com/)\n * [Xperf](https://learn.microsoft.com/en-us/windows-hardware/test/wpt/)\n * [VTune](https://www.intel.com/content/www/us/en/developer/tools/oneapi/vtune-profiler.html)\n * [Very Sleepy](https://www.codersnotes.com/sleepy/)\n * [Python profilers](https://docs.python.org/3/library/profile.html#profile-stats)\n * [Java\u0027s HPROF](https://docs.oracle.com/javase/7/docs/technotes/samples/hprof.html)\n * prof, [gprof](https://sourceware.org/binutils/docs/gprof/)\n * [DTrace](https://en.wikipedia.org/wiki/DTrace)\n * stackcollapse from [FlameGraph](https://github.com/brendangregg/FlameGraph)\n * prune nodes and edges below a certain threshold;\n * use an heuristic to propagate time inside mutually recursive functions;\n * use color efficiently to draw attention to hot-spots;\n * work on any platform where Python and Graphviz is available, i.e, virtually anywhere;\n * compare two graphs with almost identical structures for the analysis of performance metrics such as time or function calls.\n\n**If you want an interactive viewer for the graphs generated by _gprof2dot_, check [xdot.py](https://github.com/jrfonseca/xdot.py).**\n\n\n# Status\n\n_gprof2dot_ currently fulfills my needs, and I have little or no time for its\nmaintenance. So I\u0027m afraid that any requested features are unlikely to be\nimplemented, and I might be slow processing issue reports or pull requests.\n\n[](https://github.com/jrfonseca/gprof2dot/actions/workflows/build.yml)\n[![codecov](https://codecov.io/gh/jrfonseca/gprof2dot/branch/main/graph/badge",
"github_repo": "jrfonseca/gprof2dot",
"github_stars": 3448,
"github_topics": [
"c-plus-plus",
"graph",
"profiling",
"python"
],
"homepage": "https://github.com/jrfonseca/gprof2dot",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 22,
"installs_365d": 611,
"installs_90d": 96,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "LGPL-3.0-or-later",
"llm_generated_at": null,
"llm_model": null,
"name": "gprof2dot",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6539,
"rank_365d": 4689,
"rank_90d": 5672,
"raw_hash": "ac1fb8d6f6d2f31e",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/gprof2dot.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "2025.4.14",
"versioned_formulae": [],
"why_use_this": null
}