Redson Dev brief · PRIMARY SOURCE
Introducing on-demand CPU and memory profiling with flamegraphs for Workers and Durable Objects
Cloudflare Blog · October 9, 2026

Optimizing the performance and resource consumption of your serverless applications just became significantly more accessible, allowing you to build faster and more efficiently. Cloudflare has rolled out on-demand CPU and memory profiling tools for their Workers and Durable Objects, enabling direct inspection of live production environments. This new capability provides interactive flamegraphs that visualize exactly where CPU cycles are spent and how memory is allocated, helping pinpoint inefficiencies or leaks without complex setup or local reproduction. This development is crucial for anyone building on or considering serverless platforms, as it demystifies application behavior in real-world scenarios. For an indie SaaS founder in Seattle managing a growing subscription service built on Workers, this means quickly identifying why certain user queries are slow or why their Durable Objects consume more memory than expected, leading to faster bug resolution and lower operational costs. A logistics startup in Dallas relying on Workers to process real-time delivery updates can now instantly diagnose and resolve spikes in processing time that might otherwise delay critical shipments, ensuring smooth operations for their clients across the country. Similarly, an internal IT team at a mid-sized e-commerce company headquartered in New York could use these tools to proactively optimize their product recommendation engine, ensuring it scales efficiently during peak shopping seasons without incurring unexpected resource bills. To capitalize on this, consider one of your existing Workers applications that occasionally exhibits unpredictable performance or resource usage. This week, deploy a small, deliberate change or feature to that Worker, then immediately use the new on-demand profiling tools to generate a flamegraph. Analyze the visual output to identify any unexpected hot spots in CPU usage or unusual memory allocations, then implement a small optimization based on your findings.
Source / further reading
Learn more at Cloudflare Blog →