Cloud Profiler documentation
Cloud Profiler is a statistical, low-overhead profiler that
continuously gathers CPU usage and memory-allocation information from your
production applications. It attributes that information to the application's
source code, helping you identify the parts of the application consuming the
most resources, and otherwise illuminating the performance characteristics
of the code.
Start your proof of concept with $300 in free credit
-
Get access to Gemini 2.0 Flash Thinking
-
Free monthly usage of popular products, including AI APIs and BigQuery
-
No automatic charges, no commitment
Keep exploring with 20+ always-free products
Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses,
and more.
Training
Training and tutorials
In this codelab, you learn how to set up Cloud Profiler for a Go program and then you
learn how to collect, view and analyze the performance data with Cloud Profiler.
Training
Training and tutorials
Optimizing a Go app
In this tutorial, you download and run a Go application, and then you are guided
through using profiling data to optimize that application.
Code sample
Code Samples
Go samples
A collection of Go applications configured to collect profile data.
Code sample
Code Samples
Profiler code samples
A set of code samples for configuring Profiler for a variety of languages and environments.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Profiler documentation\n============================\n\n[Read product documentation](/profiler/docs/about-profiler) **Cloud Profiler** is a statistical, low-overhead profiler that\ncontinuously gathers CPU usage and memory-allocation information from your\nproduction applications. It attributes that information to the application's\nsource code, helping you identify the parts of the application consuming the\nmost resources, and otherwise illuminating the performance characteristics\nof the code.\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n- Tutorial \n\n\n [Quickstart: Measure app performance](/profiler/docs/measure-app-performance)\n\n-\n\n\n Profiling applications:\n [Go](/profiler/docs/profiling-go),\n\n [Java](/profiler/docs/profiling-java),\n\n [Node.js](/profiler/docs/profiling-nodejs),\n or\n [Python](/profiler/docs/profiling-python)\n\n\n-\n\n [Profiling applications running outside of Google Cloud](/profiler/docs/profiling-external)\n\n-\n\n [Focus the flame graph](/profiler/docs/focusing-profiles)\n\n-\n\n [Compare profiles](/profiler/docs/comparing-profiles)\n\n-\n\n [View historical trends](/profiler/docs/history-view)\n\n-\n\n [Troubleshoot](/profiler/docs/troubleshooting)\n\nemoji_objects\n\n### Concepts\n\n-\n\n [Profiling concepts](/profiler/docs/concepts-profiling)\n\n-\n\n [Cloud Profiler overview](/profiler/docs/about-profiler)\n\n-\n\n [Flame graphs](/profiler/docs/concepts-flame)\n\ninfo\n\n### Resources\n\n-\n\n [Quotas and limits](/profiler/quotas)\n\n-\n\n [Release notes](/profiler/docs/release-notes)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Analyze production performance with Cloud Profiler\n\n\nIn this codelab, you learn how to set up Cloud Profiler for a Go program and then you\nlearn how to collect, view and analyze the performance data with Cloud Profiler.\n\n\n[Learn more](https://codelabs.developers.google.com/codelabs/cloud-profiler) \nTraining \nTraining and tutorials\n\n### Optimizing a Go app\n\n\nIn this tutorial, you download and run a Go application, and then you are guided\nthrough using profiling data to optimize that application.\n\n\n[Learn more](/profiler/docs/quickstart-go-app) \nCode sample \nCode Samples\n\n### Go samples\n\n\nA collection of Go applications configured to collect profile data.\n\n\n[Get started](/profiler/docs/go-samples) \nCode sample \nCode Samples\n\n### Profiler code samples\n\n\nA set of code samples for configuring Profiler for a variety of languages and environments.\n\n\n[Get started](/profiler/docs/samples)\n\nRelated videos\n--------------"]]