Skip to content
aiqbench takeAI Products

aiqbench analysis

This announcement introduces production-ready on-demand profiling for Cloudflare Workers and Durable Objects, enabling developers to generate interactive flamegraphs directly from the dashboard to diagnose performance bottlenecks and memory leaks. By allowing real-time inspection of function call stacks in a live environment, this tool provides critical visibility into runtime resource usage that logs and aggregate metrics cannot offer.
Source coveringCloudflare Blog
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Introducing on-demand CPU and memory profiling with flamegraphs for Workers and Durable Objects

Cloudflare Blog9 min read

On-demand CPU and memory profiling for Cloudflare Workers and Durable Objects is now available. Now you can generate interactive flamegraphs directly in production to quickly track down memory leaks and performance bottlenecks.

Understanding why an application is using more resources than expected, whether that is CPU or memory, can be challenging. Logs and aggregate metrics can only get you so far. Thankfully there is a better way: CPU or memory profiling can show you the exact function where your application is using CPU or allocating memory. Today we are happy to announce support for CPU and memory profiling of Workers and Durable Objects. From the Workers Observability page, you can now request an on-demand CPU or memory profile of an active Worker, inspect it as an interactive flamegraph, and download the profile file for further analysis. This method of profiling gives you a useful perspective into what your code is doing and how you can improve it in a real-world setting. That’s because the best way to understand your application is to profile it in production. To try this on one of your Workers, you have a choice of using the CLI or the Cloudflare Dashboard. To use the dashboard, head to the Cloudflare dashboard and then…

Excerpt shown under the publisher's RSS terms · 175 words · full text and figures are on the publisher's site

Related coverage