Cloudflare

Profiling Your Workers with Wrangler

Sep 18, 2021Joshua Nelson, Kabir Sikand
Profiling Your Workers with Wrangler
SummaryAI, from the source post

Introduced beta support for local CPU profiling of Cloudflare Workers using Wrangler and the Chrome DevTools protocol. This enables developers to connect to a locally running Worker via `wrangler dev --inspect` and use `chrome://inspect` to profile CPU usage, analyze flame graphs, and identify performance bottlenecks in their edge code.

More from the Edge Computing with Cloudflare Workers trail