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 profiler in Go.

Initializing Python on Google Cloud

Shows how to initialize Cloud Profiler with Python generically.

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 flex

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

View in documentation

Python App Engine standard python37

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

View in documentation