TECHNOLOGY · VERIFIED DEVELOPMENT
Cloudflare Launches On‑Demand CPU and Memory Profiling for Workers and Durable Objects
WHY IT MATTERS
Profiling in production gives developers precise insight into real‑world resource usage, helping them optimize performance, prevent crashes, and deliver more reliable edge services.
What happened
Cloudflare has added on‑demand CPU and memory profiling to its Workers platform, enabling developers to capture interactive flamegraphs directly from the Workers Observability page or via the CLI. The new feature lets users request a profile for an active Worker or Durable Object, specify duration and version, and view a flamegraph that shows function‑level CPU or memory usage.
Cloudflare’s own teams have used the tool to spot duplicate work in JSON processing, eliminate redundant metric calls, and remove a partially disabled Prometheus code path that was causing out‑of‑memory errors.
By profiling in production, developers can pinpoint hotspots, reduce resource consumption, and improve reliability of edge applications.
PRIMARY SOURCES
Introducing on-demand CPU and memory profiling with flamegraphs for Workers and Durable Objects
Cloudflare (company statement) · Dominik Picheta · Corporate primary source; facts only, no copied text or images; link and attribution required
CORRECTIONS & UPDATES
- Revision 1 · Initial ingestion · Oct 9, 2026, 3:15 PM
- Revision 2 · Source update detected · Oct 9, 2026, 3:15 PM