BSD Ports

graphics/py-gprof2dot 2024.6.6 DragonFly

Generate a dot graph from the output of several profilers

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL3+
Categories
graphics, python
Package size
81.6 KiB, 483.2 KiB installed

Description

gprof2dot is a Python script to convert the output from many profilers into a dot graph.

It can:

  • read output from:
    • Linux perf
    • Valgrind's callgrind tool
    • oprofile
    • sysprof
    • xperf
    • VTune Amplifier XE
    • Very Sleepy
    • python profilers
    • Java's HPROF
    • prof, gprof
    • DTrace
  • prune nodes and edges below a certain threshold;
  • use an heuristic to propagate time inside mutually recursive functions;
  • use color efficiently to draw attention to hot-spots;
  • work on any platform where Python and Graphviz is available, i.e, virtually anywhere.

In the other systems

SystemPortVersion
DragonFlygraphics/py-gprof2dot2024.6.6
FreeBSDgraphics/py-gprof2dot2025.4.14
HardenedBSDgraphics/py-gprof2dot2025.4.14
GhostBSDgraphics/py-gprof2dot2025.4.14

Install

Binary package:

pkg install py311-gprof2dot

From DPorts:

cd /usr/dports/graphics/py-gprof2dot && make install clean

Dependencies

Run dependencies 1