GNU gprof vs Valgrind
GNU gprof
sourceware.orgValgrind
valgrind.orgSide by side
| Figure | GNU gprof | Valgrind |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Android | — | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Profiling Software | 7.8 (#12) | 7.4 (#22) |
| Download | GNU Binutils releases are available from ftp.gnu.org and sourceware.org. | The current release page offers source code as a tarball and says the project does not distribute binaries or RPMs; users who do not want to compile can use their OS distribution’s download site. |
| Platforms | The Binutils project says its tools have been ported to most major Unix variants and Wintel systems. | Current supported targets include Linux, FreeBSD, Solaris, illumos, Darwin/macOS and Android on specified CPU architectures; Windows is not under consideration for an in-tree port. |
| Purpose | GNU gprof analyzes profiling data to show which parts of a program take the most execution time. | Valgrind is an instrumentation framework for building dynamic analysis tools that detect memory and threading bugs and profile programs. |
Plans
In their own words
GNU gprof
GNU gprof has no write-up on Specifiction yet; its figures are above.