All Profiler code samples

Go App Engine

Shows how to initialize cloud.google.com/go/profiler with Go on App Engine.

View in documentation

Go Compute Engine

Shows how to initialize cloud.google.com/go/profiler with Go on Compute Engine.

View in documentation

Go quickstart

Sample profiler_quickstart simulates a CPU-intensive workload for Cloud Profiler in Go.

Initializing Cloud Profiler on Google Compute Engine or Kubernetes Engine

Shows how to initialize Cloud Profiler with Python on Google Compute Engine or Google Kubernetes Engine.

View in documentation

Node.js App Engine

Shows how to initialize Cloud Profiler with Node.js on App Engine.

View in documentation

Node.js Compute Engine

Shows how to initialize Cloud Profiler with Node.js on Compute Engine.

View in documentation

Python App Engine flexible environment

Shows how to initialize Cloud Profiler with Python on App Engine flexible environment.

View in documentation

Python App Engine standard environment

Shows how to initialize Cloud Profiler with Python on App Engine standard environment.

View in documentation