Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Gprof Profiler - Analyze Program Performance | Online Free DevTools by Hexmos

Analyze program performance with Gprof Profiler. Profile function executions and optimize your code for better efficiency. Free online tool, no registration required.

gprof

Performance analysis tool for many programming languages. It profiles the function executions of a program. More information: https://ftp.gnu.org/old-gnu/Manuals/gprof/html_mono/gprof.html.

  • Compile binary to default a.out with gprof information and run it to get gmon.out:

gcc {{[-p|-pg]}} {{program.c}} && ./a.out

  • Run gprof on default a.out and gmon.out to obtain profile output:

gprof

  • Run gprof on a named binary:

gprof {{path/to/binary}} {{path/to/gmon.out}}

  • Suppress profile field’s description:

gprof {{[-b|--brief]}}

  • Display routines that have zero usage:

gprof {{[-bz|--brief --display-unused-functions]}}

See Also