Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Cloudflare Workers production profiling can capture a CPU profile or a heap allocation profile for a deployed Worker or Durable Object. Captures made through the documented CLI or API last 1,000–50,000 milliseconds and require an already-loaded isolate receiving traffic while the capture runs. Cloudflare documents a heap-allocation sampling cadence, but not a CPU-profile sampling interval, a numeric capture quota, a profile-retention period, or a profiler-overhead figure. Those gaps matter: tracing and log retention settings are separate features, not substitutes for profiler specifications.

What does Cloudflare Workers profiling capture?

Production profiling collects performance data from a deployed Worker or Durable Object instance while it is active. Choose a CPU profile to investigate where code spends CPU time. Choose a heap profile to see where allocations originate. These profiles answer different questions, and neither is a record of past requests.

Cloudflare’s production profiling documentation describes the feature and the capture requirements. A profile can be captured from the dashboard, Cloudflare CLI, or API, then downloaded for inspection with a pprof-compatible tool. The profile is useful only if the selected instance is loaded and real requests exercise the code you want to examine during the capture.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

CPU profile: find CPU-consuming functions

A CPU profile helps locate functions that consume CPU time during the capture. It is appropriate when a route is slow because of computation, or when a request approaches its CPU execution limit. It does not, by itself, explain time spent waiting on network activity: Cloudflare’s CPU-time definition excludes time spent waiting for network requests.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.

The production guide does not publish a numeric CPU-profile sampling interval. Do not infer one from the heap profile’s allocation cadence or from tracing’s sampling controls; they describe different mechanisms.

Heap profile: find allocation sources, not live memory

A heap profile records allocation stack traces during capture, at one stack trace per 512 kB allocated. Cloudflare states: “A Heap profile measures allocations, not retained memory.” It can help identify code that creates many objects, but it does not establish which objects remain live or how much memory is retained after garbage collection.

That distinction changes how to interpret a result. A hot allocation site can indicate temporary churn even if the objects are later reclaimed. Conversely, this profile type is not a substitute for a retained-heap snapshot when the question is which objects remain reachable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How long can a production profile run?

The documented CLI and API accept a capture duration from 1,000 to 50,000 milliseconds. That is the profiler’s capture window, not the maximum CPU time allowed for a Worker request. A capture records what happens during its window; it does not extend the Worker’s execution budget.

Plan the window around the behavior under investigation. A brief capture may miss an intermittent path unless requests reach it during that interval. A longer capture can include more representative activity, but still depends on live requests reaching the selected instance. The production guide does not publish a numeric capture-rate quota; it does warn that capture requests may be rate-limited.

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth

How do I capture a useful production profile?

Start with a specific question, choose the matching profile type, and arrange for the relevant production path to receive traffic during the capture. The profiler observes an active isolate; it does not invoke the Worker or replay historical requests for you.

  1. Define the question. Choose CPU profiling for functions consuming CPU time, or heap profiling for allocation sources. Select a Worker version or Durable Object instance that corresponds to the behavior you are diagnosing.
  2. Check that the target is active. The isolate must already be loaded and recently active. If it is idle or has not loaded, a capture may not find a suitable target.
  3. Arrange relevant traffic. Send or wait for requests that exercise the route and code of interest while the capture is running. Historical log ranges do not make the profile retrospective, and starting a profile does not generate requests.
  4. Set the capture duration. For CLI or API captures, use a duration from 1,000 to 50,000 ms. Treat this as the observation window, not as a request-time allowance.
  5. Capture from a supported surface. Use the dashboard, Cloudflare CLI, or API. API access requires a token with Workers Scripts Read permission or the Content Read-Only Workers role, as described in the production guide.
  6. Inspect the downloaded profile. Cloudflare says profiles from the dashboard, CLI, or API can be downloaded and examined with pprof-compatible tools. Use the output to investigate the selected signal rather than treating an allocation profile as a live-memory report.

Make source locations readable

Source maps help turn generated or bundled code locations into more recognizable source names and locations. The production guide says Wrangler uploads source maps by default starting with version 4.150.0. If a profile is difficult to map back to your code, check whether the deployed version’s source maps were available; an unreadable location does not necessarily mean the profile failed to capture activity.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Handle rate limiting without guessing at a quota

An API capture request can return HTTP 429 when rate limited. Cloudflare’s guidance is to wait and honor the Retry-After header when it is supplied. The reviewed guide does not give a fixed number of captures per minute, hour, or account, so avoid designing automation around an assumed quota.

What does sampling mean here, and how much overhead does profiling add?

“Sampling” is not one universal setting across Cloudflare’s observability tools. Heap profiling documents allocation sampling; CPU profiling does not publish a numeric interval in the production guide; tracing has its own head-based request sampling. None of these facts establishes the runtime overhead of an active CPU or heap profile.

Feature What is sampled or captured Published detail What not to infer
CPU profile Functions consuming CPU time during capture No numeric sampling interval stated in the production profiling guide Do not use heap or tracing sampling settings as the CPU-profile interval.
Heap profile Allocation stack traces One stack trace per 512 kB allocated during capture This is not a retained-memory measurement or a CPU sampling cadence.
Workers tracing Requests sampled head-first Sampling rate ranges from 0 to 1; when tracing is enabled and no rate is specified, the default is 1. Unsampled requests incur no tracing overhead, according to the tracing documentation. Tracing behavior does not quantify profiler overhead.

Cloudflare does not quantify CPU or latency overhead for an active production profile in its profiling guide. It is therefore not supportable to promise that profiling has zero cost or to estimate a percentage impact from the published material. If overhead is a concern, use a targeted capture window and monitor the Worker’s ordinary operational metrics while collecting the profile; treat any observed change as specific to your workload and capture, not as a published general figure.

Rank #3
Sale
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black | LED mouse pad with 14 lighting modes, covers keyboard & mouse, anti-slip rubber base, waterproof surface, USB powered
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

How are profiling capture limits different from Worker CPU limits?

The capture duration controls how long the profiler observes an instance; the request CPU limit controls how much CPU time a Worker request may use. Confusing them can lead to the wrong diagnosis: a 50-second capture does not grant a request 50 seconds of CPU, and a request CPU ceiling does not cap the duration of a profile capture.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Cloudflare’s Workers limits documentation, updated October 12, 2026, lists a 10 ms CPU-time limit per HTTP request on Free. On Paid, the default is 30 seconds, with a maximum of 5 minutes; the Paid limit can be raised up to 300,000 ms. CPU time is time spent executing Worker code, not time waiting on network requests.

The same limits page reports that the average Worker uses approximately 2.2 ms per request, while heavier workloads such as authentication, server-side rendering, or large payload handling typically use 10–20 ms. These are Cloudflare’s published workload figures, not profiling measurements and not a prediction for a particular Worker. Compare a profile with the limits and actual behavior of the applicable plan, rather than using these averages as a target or guarantee.

How long are CPU and heap profiles retained?

Cloudflare’s production profiling guide does not state a retention period for captured CPU or heap profile artifacts. The reviewed public documentation therefore does not establish how long a profile remains available after capture. Do not assume a profile will remain downloadable for the same period as logs, traces, or metrics.

Those other data types have their own documented windows, but they are not profile-retention policies:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.

If a profile matters for an incident record or later comparison, download it and store it in a location governed by your own retention policy. That practical safeguard does not imply that Cloudflare’s profile artifact has a particular expiration period.

Can I profile locally instead of in production?

Cloudflare documents local CPU profiling through Wrangler DevTools. Local profiling can help reproduce and inspect behavior without capturing a deployed instance, but Cloudflare cautions that reproducing production behavior locally can be difficult. Similar requests and, where appropriate, production-like data through remote bindings can make the local scenario more representative.

Use local profiling when you can reproduce the relevant workload in development. Use production profiling when the issue depends on deployed traffic or environment, while accounting for the requirement that the live target be active and receive the requests of interest. The two approaches answer related questions but are not interchangeable if production-only behavior cannot be reproduced locally. See Cloudflare’s CPU profiling guidance for Wrangler DevTools.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What should I check when a profile is empty or hard to interpret?

A missing or unhelpful profile can reflect a mismatch between the target, traffic, capture window, or profile type rather than a product failure. Check the conditions that determine whether the capture sees the behavior you intended.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • No useful samples: verify that the selected version or Durable Object was active and loaded, and that requests exercised the relevant code during capture.
  • The wrong operation appears: confirm that the traffic reaching the instance followed the route or workload you meant to investigate. Profiling does not replay earlier requests.
  • Memory question, but the profile shows allocations: that is expected for a heap profile; its allocation stacks do not identify retained live memory.
  • API returns 429: wait before retrying and follow Retry-After if the response includes it. Do not repeatedly retry on a guessed fixed schedule.
  • Locations are difficult to map to source: check the source-map availability for the deployed build. Wrangler uploads source maps by default beginning with version 4.150.0, according to the production guide.
  • Local results do not match production: assess whether the same requests, data shape, bindings, and workload are represented; Cloudflare notes that reproducing production behavior locally can be difficult.

The governing documentation for the production capture behavior is Cloudflare’s Profiling in production guide, last updated October 20, 2026. The limits and tooling pages linked above were current as accessed October 25, 2026.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.

Frequently Asked Questions

Can Cloudflare Workers profiling show why a request is slow if it is waiting on a network call?

A CPU profile is intended to show CPU-consuming functions, while Cloudflare defines CPU time as excluding time spent waiting on network requests. Pair CPU evidence with the relevant request and tracing context if you need to investigate waiting time.

Can I use a heap profile to find a memory leak in a Worker?

It can help identify allocation sites that may contribute to memory pressure, but it does not show which allocations remain live. A leak investigation needs evidence about retained or growing memory in addition to allocation churn.

Do Cloudflare Workers logs or traces preserve a profile for seven days?

No. The seven-day windows described for traces and logs apply to those respective datasets; they do not establish how long a CPU or heap profile artifact remains available.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can I profile a Worker version that is no longer receiving requests?

The production capture depends on an already-loaded, active target receiving traffic during the capture. The guide does not describe a way to generate a retrospective profile for an inactive version from historical requests.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.