Skip to content
SPECIFICTION
Get listed

GNU gprof vs Google Cloud Profiler

GNU gprof

sourceware.org

Google Cloud Profiler

cloud.google.com

Side by side

FigureGNU gprofGoogle Cloud Profiler
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
LinuxYesYes
API—Yes
Self-hostedYesYes
Plans published11
Spec score · Profiling Software7.8 (#12)7.8 (#13)
PurposeGNU gprof analyzes profiling data to show which parts of a program take the most execution time.Cloud Profiler continuously gathers CPU usage and memory allocation information from production applications and attributes it to source code to help identify resource-intensive code.

Plans

GNU gprof

  • GNU gprofFree

GNU gprof pricing →

Google Cloud Profiler

  • Cloud ProfilerFree

Google Cloud Profiler pricing →

In their own words

GNU gprof

GNU gprof has no write-up on Specifiction yet; its figures are above.

Visit sourceware.org

Google Cloud Profiler

Google Cloud Profiler is a free sampling profiler for examining resource use in production applications. Its profiling agent gathers CPU usage and memory allocation data and attributes that information to source code. A Google Cloud console displays and analyzes the collected profiles. Supported languages are Go, Java, Node.js, and Python, with profile types varying by language. Available types include CPU time, heap, allocated heap, contention, threads, and wall time. Deployment options include Compute Engine, Google Kubernetes Engine, App Engine, Managed Service for Apache Spark, Dataflow, and some environments outside Google Cloud, depending on language. The listed operating systems are Linux with glibc and, for some configurations, Linux with musl. Google states that CPU and heap collection overhead is under 5%, commonly under 0.5% when averaged across execution time and service replicas. Profiles are retained for 30 days and can be downloaded for longer storage. Cloud Profiler supports VPC Service Controls; quotas and limits apply.

Visit cloud.google.com